/* ═══════════════════════════════════════════════════════════════
   LANOIRA CUSTOM LOGIN/REGISTER - COMPLETE CSS
   Beautiful, secure authentication pages
   ═══════════════════════════════════════════════════════════════ */

/* ────────────────────────────────────────────────────────────────
   PAGE CONTAINER & LAYOUT
   ──────────────────────────────────────────────────────────────── */

.lanoira-auth-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #f6e4e4 0%, #fff 50%, #f6e4e4 100%);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ────────────────────────────────────────────────────────────────
   LOGO
   ──────────────────────────────────────────────────────────────── */

.lanoira-auth-logo {
    text-align: center;
    margin-bottom: 40px;
}

.lanoira-auth-logo img {
    max-width: 200px;
    height: auto;
}

/* ────────────────────────────────────────────────────────────────
   MESSAGES (SUCCESS/ERROR)
   ──────────────────────────────────────────────────────────────── */

.auth-messages {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto 30px;
}

.auth-message {
    padding: 15px 20px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 15px;
    animation: slideIn 0.4s ease;
}

.auth-message.success {
    background: #d1f2eb;
    color: #0c5642;
    border: 2px solid #52c9a5;
}

.auth-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 2px solid #f5c6cb;
}

.auth-message.success::before {
    content: "✓ ";
    font-weight: 700;
    margin-right: 5px;
}

.auth-message.error::before {
    content: "⚠ ";
    font-weight: 700;
    margin-right: 5px;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ────────────────────────────────────────────────────────────────
   VERIFICATION NOTICE
   ──────────────────────────────────────────────────────────────── */

.auth-verification-notice {
    max-width: 600px;
    width: 100%;
    background: #fff;
    padding: 60px 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(44, 34, 34, 0.12);
    border: 2px solid rgba(74, 14, 14, 0.1);
    text-align: center;
    margin: 0 auto;
}

.verification-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #2c2222;
    margin: 0 0 20px 0;
}

.verification-content p {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin: 0 0 15px 0;
}

.verification-content .small-text {
    font-size: 14px;
    color: #999;
    margin-top: 25px;
}

.verification-content a {
    color: #4a0e0e;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.3s ease;
}

.verification-content a:hover {
    color: #2c2222;
}

/* ────────────────────────────────────────────────────────────────
   FORMS CONTAINER
   ──────────────────────────────────────────────────────────────── */

.lanoira-auth-container {
    max-width: 1000px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    align-items: start;
}

/* ────────────────────────────────────────────────────────────────
   AUTH CARDS (LOGIN & REGISTER)
   ──────────────────────────────────────────────────────────────── */

.lanoira-auth-card {
    background: #fff;
    padding: 45px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(44, 34, 34, 0.12);
    border: 2px solid rgba(74, 14, 14, 0.1);
    transition: all 0.3s ease;
}

.lanoira-auth-card:hover {
    box-shadow: 0 15px 50px rgba(44, 34, 34, 0.18);
    transform: translateY(-5px);
}

.lanoira-auth-card h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #2c2222;
    margin: 0 0 10px 0;
}

.lanoira-auth-card .subtitle {
    font-size: 15px;
    color: #666;
    margin: 0 0 30px 0;
}

/* ────────────────────────────────────────────────────────────────
   DIVIDER (OR)
   ──────────────────────────────────────────────────────────────── */

.lanoira-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: #4a0e0e;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 20px 0;
}

.lanoira-divider::before,
.lanoira-divider::after {
    content: "";
    display: block;
    width: 2px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, #4a0e0e, transparent);
}

/* ────────────────────────────────────────────────────────────────
   FORMS
   ──────────────────────────────────────────────────────────────── */

.lanoira-auth-form {
    width: 100%;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #2c2222;
    margin-bottom: 8px;
}

.form-group .required {
    color: #e63946;
}

.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="text"] {
    width: 100%;
    padding: 14px 18px;
    font-size: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    background: #fafafa;
    color: #2c2222;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.form-group input:focus {
    outline: none;
    border-color: #4a0e0e;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(74, 14, 14, 0.1);
}

.form-group input::placeholder {
    color: #999;
}

.field-hint {
    display: block;
    font-size: 12px;
    color: #999;
    margin-top: 6px;
    font-style: italic;
}

/* ────────────────────────────────────────────────────────────────
   CHECKBOX GROUP
   ──────────────────────────────────────────────────────────────── */

.checkbox-group {
    margin-bottom: 25px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #4a0e0e;
}

.checkbox-label span {
    line-height: 1.4;
}

.checkbox-label a {
    color: #4a0e0e;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.3s ease;
}

.checkbox-label a:hover {
    color: #2c2222;
}

/* ────────────────────────────────────────────────────────────────
   BUTTONS
   ──────────────────────────────────────────────────────────────── */

.lanoira-auth-button {
    width: 100%;
    padding: 16px 30px;
    font-size: 16px;
    font-weight: 700;
    color: #f6e4e4;
    background: linear-gradient(135deg, #4a0e0e 0%, #2c2222 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(74, 14, 14, 0.3);
    position: relative;
    font-family: 'Inter', sans-serif;
}

.lanoira-auth-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 14, 14, 0.4);
    background: linear-gradient(135deg, #5a1e1e 0%, #3c3232 100%);
}

.lanoira-auth-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(74, 14, 14, 0.3);
}

.lanoira-auth-button:disabled {
    opacity: 0.8;
    cursor: not-allowed;
    transform: none !important;
}

.lanoira-auth-button .button-text,
.lanoira-auth-button .button-loader {
    transition: opacity 0.3s ease;
}

.lanoira-auth-button .button-loader {
    display: inline-block;
}

.lanoira-auth-button .button-loader::after {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-left: 10px;
    border: 2px solid #f6e4e4;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    vertical-align: middle;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ────────────────────────────────────────────────────────────────
   FORM FOOTER
   ──────────────────────────────────────────────────────────────── */

.form-footer {
    margin-top: 20px;
    text-align: center;
}

.lost-password {
    font-size: 14px;
    color: #4a0e0e;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.3s ease;
}

.lost-password:hover {
    color: #2c2222;
}

/* ────────────────────────────────────────────────────────────────
   RESPONSIVE DESIGN
   ──────────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
    .lanoira-auth-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .lanoira-divider {
        padding: 15px 0;
    }
    
    .lanoira-divider::before,
    .lanoira-divider::after {
        width: 100%;
        height: 2px;
        background: linear-gradient(to right, transparent, #4a0e0e, transparent);
    }
    
    .lanoira-divider::before {
        margin-bottom: 10px;
    }
    
    .lanoira-divider::after {
        margin-top: 10px;
    }
    
    .lanoira-auth-card {
        padding: 35px 30px;
    }
    
    .lanoira-auth-card h2 {
        font-size: 1.75rem;
    }
    
    .auth-verification-notice {
        padding: 45px 35px;
    }
    
    .verification-content h3 {
        font-size: 1.75rem;
    }
    
    .verification-content p {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .lanoira-auth-page {
        padding: 30px 15px;
    }
    
    .lanoira-auth-logo img {
        max-width: 150px;
    }
    
    .lanoira-auth-card {
        padding: 30px 25px;
    }
    
    .lanoira-auth-card h2 {
        font-size: 1.5rem;
    }
    
    .form-group input[type="email"],
    .form-group input[type="password"],
    .form-group input[type="text"] {
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .lanoira-auth-button {
        padding: 14px 25px;
        font-size: 15px;
    }
    
    .auth-verification-notice {
        padding: 35px 25px;
    }
    
    .verification-content h3 {
        font-size: 1.5rem;
    }
    
    .verification-content p {
        font-size: 14px;
    }
}

/* ────────────────────────────────────────────────────────────────
   SMOOTH TRANSITIONS
   ──────────────────────────────────────────────────────────────── */

#auth-forms,
#verification-notice {
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* ────────────────────────────────────────────────────────────────
   ACCESSIBILITY
   ──────────────────────────────────────────────────────────────── */

.lanoira-auth-form input:focus-visible,
.lanoira-auth-button:focus-visible,
.verification-content a:focus-visible,
.checkbox-label a:focus-visible,
.lost-password:focus-visible {
    outline: 3px solid rgba(74, 14, 14, 0.4);
    outline-offset: 3px;
}

/* ────────────────────────────────────────────────────────────────
   PRINT STYLES
   ──────────────────────────────────────────────────────────────── */

@media print {
    .lanoira-auth-page {
        display: none !important;
    }
}

/* ═══════════════════════════════════════════════════════════════
   END OF LANOIRA LOGIN/REGISTER CSS
   ═══════════════════════════════════════════════════════════════ */