@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

* {
    font-family: 'Inter', sans-serif;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-primary {
    @apply bg-primary hover:bg-primary-600 text-white font-medium py-3 px-6 rounded-lg shadow-md hover:shadow-lg transition-all duration-200;
}

.btn-secondary {
    @apply bg-secondary hover:bg-secondary-600 text-white font-medium py-3 px-6 rounded-lg shadow-md hover:shadow-lg transition-all duration-200;
}

.btn-outline {
    @apply border-2 border-primary text-primary hover:bg-primary hover:text-white font-medium py-2 px-4 rounded-lg transition-all duration-200;
}

.tool-card {
    @apply bg-white dark:bg-dark-800 p-6 rounded-xl shadow-md hover:shadow-lg transition-all duration-200 hover:border-primary border-2 border-transparent;
}

.tool-card h3 {
    @apply text-lg font-semibold mb-2 text-gray-900 dark:text-white;
}

.tool-card p {
    @apply text-gray-600 dark:text-gray-300 text-sm;
}

.feature-card {
    @apply text-center p-4;
}

.feature-card h3 {
    @apply text-xl font-semibold mb-2 text-gray-900 dark:text-white;
}

.feature-card p {
    @apply text-gray-600 dark:text-gray-300;
}

/* Dark mode toggle switch */
.switch {
    @apply relative inline-block w-12 h-6;
}

.switch input {
    @apply opacity-0 w-0 h-0;
}

.slider {
    @apply absolute cursor-pointer top-0 left-0 right-0 bottom-0 bg-gray-300 dark:bg-gray-600 transition rounded-full;
}

.slider:before {
    @apply absolute content-[''] h-4 w-4 left-1 bottom-1 bg-white rounded-full transition;
}

input:checked + .slider {
    @apply bg-primary;
}

input:checked + .slider:before {
    @apply transform translate-x-6;
}

/* Tool page specific */
.tool-container {
    @apply bg-white dark:bg-dark-800 rounded-xl shadow-lg p-6 mb-8;
}

.file-dropzone {
    @apply border-2 border-dashed border-gray-300 dark:border-gray-600 rounded-xl p-8 text-center cursor-pointer hover:border-primary transition;
}

.file-dropzone.active {
    @apply border-primary bg-primary/10;
}

.file-list {
    @apply space-y-2 mb-4;
}

.file-item {
    @apply bg-gray-100 dark:bg-dark-700 rounded-lg p-3 flex justify-between items-center;
}

.progress-bar {
    @apply h-2 bg-gray-200 dark:bg-gray-700 rounded-full overflow-hidden;
}

.progress-bar-fill {
    @apply h-full bg-primary transition-all duration-300;
}