/* public/css/auth.css */

/* --- Typography & Base --- */
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: linear-gradient(135deg, #f0f4f8 0%, #d9e2ec 100%);
    color: #1f2937; /* Dark Gray */
}

/* --- Header --- */
header {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e5e7eb;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 50;
}

header h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb; /* Brand Blue */
    letter-spacing: -0.025em;
}

header nav a {
    margin-left: 1.5rem;
    text-decoration: none;
    color: #4b5563;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

header nav a:hover {
    color: #2563eb;
}

/* --- Auth Container (The Card) --- */
.auth-container {
    background-color: #ffffff;
    width: 100%;
    max-width: 420px;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 
                0 8px 10px -6px rgba(0, 0, 0, 0.01);
    border: 1px solid rgba(255,255,255,0.5);
}

/* --- Footer --- */
footer {
    padding: 1.5rem;
    text-align: center;
    font-size: 0.875rem;
    color: #9ca3af;
}

/* --- Helper Styles for your Forms (Inside @yield) --- */
/* You will use these inside your login.blade.php / register.blade.php */

.form-title {
    font-size: 1.75rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
    color: #111827;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    background-color: #fff;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.2s ease;
}

.form-input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* --- 6. The Login Button --- */
form button[type="submit"] {
    width: 100%;
    padding: 0.9rem;
    
    /* Gradient Blue Background */
    background: linear-gradient(to right, #2563eb, #4f46e5);
    
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 1rem;
    transition: opacity 0.2s;
}

form button[type="submit"]:hover {
    opacity: 0.9; /* Slight fade on hover */
}


form input {
    width: 100%;
    padding: 0.85rem 1rem;
    margin-bottom: 1rem;
    border-radius: 6px;
    border: 1px solid #d1d5db; /* Gray border */
    background-color: #f9fafb; /* Light Gray background */
    color: #1f2937; /* Dark text */
    font-size: 1rem;
    outline: none;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

form input:focus {
    border-color: #2563eb;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Success/Error Alerts */
.alert {
    padding: 0.75rem 1rem;
    margin-bottom: 1.5rem;
    border-radius: 6px;
    font-size: 0.9rem;
}
.alert-error {
    background-color: #fef2f2;
    border: 1px solid #f87171;
    color: #b91c1c;
}
.alert-success {
    background-color: #ecfdf5;
    border: 1px solid #34d399;
    color: #047857;
}

/* Links */
.auth-links a {
    color: #6b7280;
    text-decoration: none;
}
.auth-links a:hover {
    color: #2563eb;
}