/* Authentication Views Styles */
/* This file contains utility classes needed for auth views */

:root {
    --blue-50: #f0f9ff;
    --blue-100: #e0f2fe;
    --blue-300: #93c5fd;
    --blue-500: #0ea5e9;
    --blue-600: #38bdf8;
    --blue-700: #0ea5e9;
    --gray-50: #f5f7fa;
    --gray-100: #f5f7fa;
    --gray-300: #e2e8f0;
    --gray-400: #cbd5e1;
    --gray-600: #475569;
    --gray-700: #64748b;
    --gray-900: #1f2a44;
    --red-50: #fef2f2;
    --red-200: #fecaca;
    --red-400: #f87171;
    --red-500: #ef4444;
    --red-600: #ef4444;
    --red-700: #b91c1c;
    --green-50: #f0fdf4;
    --green-200: #bbf7d0;
    --green-400: #4ade80;
    --green-600: #16a34a;
    --green-700: #10b981;
    --orange-600: #ea580c;
    --purple-600: #9333ea;
    --indigo-100: #e0e7ff;
}

/* Utility classes for auth views */
.min-h-screen { min-height: 100vh; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.space-y-8 > * + * { margin-top: 2rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.max-w-md { max-width: 28rem; }
.w-full { width: 100%; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-4 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-1 { margin-bottom: 0.25rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.font-bold { font-weight: 700; }
.font-medium { font-weight: 500; }
.text-gray-900 { color: var(--gray-900); }
.text-gray-600 { color: var(--gray-600); }
.text-gray-700 { color: var(--gray-700); }
.text-blue-600 { color: var(--blue-600); }
.text-blue-500 { color: var(--blue-500); }
.text-red-600 { color: var(--red-600); }
.text-red-700 { color: var(--red-700); }
.text-green-700 { color: var(--green-700); }
.text-orange-600 { color: var(--orange-600); }
.text-purple-600 { color: var(--purple-600); }
.bg-white { background-color: white; }
.bg-blue-600 { background-color: var(--blue-600); }
.bg-red-50 { background-color: var(--red-50); }
.bg-green-50 { background-color: var(--green-50); }
.bg-orange-600 { background-color: var(--orange-600); }
.bg-purple-600 { background-color: var(--purple-600); }
.rounded-xl { border-radius: 0.75rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-full { border-radius: 9999px; }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }
.p-8 { padding: 2rem; }
.p-4 { padding: 1rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.pl-3 { padding-left: 0.75rem; }
.pl-10 { padding-left: 2.5rem; }
.pr-3 { padding-right: 0.75rem; }
.pr-10 { padding-right: 2.5rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-6 { margin-top: 1.5rem; }
.ml-3 { margin-left: 0.75rem; }
.block { display: block; }
.relative { position: relative; }
.absolute { position: absolute; }
.inset-y-0 { top: 0; bottom: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.pointer-events-none { pointer-events: none; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.h-16 { height: 4rem; }
.w-16 { width: 4rem; }
.border { border-width: 1px; border-style: solid; }
.border-gray-300 { border-color: var(--gray-300); }
.border-red-200 { border-color: var(--red-200); }
.border-red-500 { border-color: var(--red-500); }
.border-green-200 { border-color: var(--green-200); }
.focus\:ring-2:focus { box-shadow: 0 0 0 2px; }
.focus\:ring-blue-500:focus { box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5); }
.focus\:ring-green-500:focus { box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.5); }
.focus\:ring-purple-500:focus { box-shadow: 0 0 0 2px rgba(147, 51, 234, 0.5); }
.focus\:ring-orange-500:focus { box-shadow: 0 0 0 2px rgba(249, 115, 22, 0.5); }
.focus\:border-blue-500:focus { border-color: var(--blue-500); }
.focus\:border-green-500:focus { border-color: var(--green-600); }
.focus\:border-purple-500:focus { border-color: var(--purple-600); }
.focus\:border-orange-500:focus { border-color: var(--orange-600); }
.transition-colors { transition-property: color, background-color, border-color; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.hover\:text-blue-500:hover { color: var(--blue-500); }
.hover\:text-orange-500:hover { color: var(--orange-600); }
.hover\:text-purple-500:hover { color: var(--purple-600); }
.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-stops)); }
.from-blue-50 { --tw-gradient-from: var(--blue-50); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(239, 246, 255, 0)); }
.to-indigo-100 { --tw-gradient-to: var(--indigo-100); }
.sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }

/* Button styles */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.875rem;
}

.btn-primary {
    background-color: var(--blue-600);
    color: white;
}

.btn-primary:hover {
    background-color: var(--blue-700);
}

.btn-secondary {
    background-color: var(--gray-100);
    color: var(--gray-700);
    border: 1px solid var(--gray-300);
}

.btn-secondary:hover {
    background-color: var(--gray-50);
}

/* Form styles */
input[type="email"],
input[type="password"],
input[type="text"] {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    font-family: inherit;
}

input[type="email"]:focus,
input[type="password"]:focus,
input[type="text"]:focus {
    outline: none;
    border-color: var(--blue-500);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

input[type="email"].border-red-500,
input[type="password"].border-red-500,
input[type="text"].border-red-500 {
    border-color: var(--red-500);
}

/* Alert styles */
.alert {
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid;
    margin-bottom: 1rem;
}

.alert-danger {
    background-color: var(--red-50);
    border-color: var(--red-200);
    color: var(--red-700);
}

.alert-success {
    background-color: var(--green-50);
    border-color: var(--green-200);
    color: var(--green-700);
}

/* Link styles */
a {
    color: var(--blue-600);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--blue-500);
}

/* Icon styles */
.fas {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

/* Responsive utilities */
@media (max-width: 640px) {
    .sm\:px-6 {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .lg\:px-8 {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}
