@tailwind base;
@tailwind components;
@tailwind utilities;

/* Professional Authentication Styles */
@layer components {
    .auth-form {
        @apply space-y-6;
    }

    .auth-input-group {
        @apply space-y-2;
    }

    .auth-title {
        @apply text-2xl font-bold text-gray-900 text-center mb-8;
    }

    .auth-subtitle {
        @apply text-sm text-gray-600 text-center mb-6 leading-relaxed;
    }

    .auth-link {
        color: #1F284F;
        @apply font-medium transition-colors duration-200;
    }

    .auth-link:hover {
        color: #151f3a;
    }

    .auth-card {
        @apply bg-white border border-gray-100 shadow-lg rounded-2xl;
    }

    .auth-divider {
        @apply flex items-center my-6;
    }

    .auth-divider::before,
    .auth-divider::after {
        @apply flex-1 h-px bg-gray-200;
        content: '';
    }

    .auth-divider span {
        @apply px-4 text-sm text-gray-500 bg-white;
    }
}

/* Fallback styles for browsers that might have issues */
.primary-button-fallback {
    width: 100%;
    padding: 12px 24px;
    background-color: #1F284F;
    color: white;
    font-size: 16px;
    font-weight: 600;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

.primary-button-fallback:hover {
    background-color: #151f3a;
}

.text-input-fallback {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 9999px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.text-input-fallback:focus {
    border-color: #1F284F;
    box-shadow: 0 0 0 2px rgba(31, 40, 79, 0.2);
}

body {
    background-color: #fafafa;
    font-family: sans-serif;
}
