/* ==========================================================================
   AUTHENTICATION PAGES STYLES - EYE-CATCHING AESTHETIC
   ========================================================================== */

:root {
    --primary-burgundy: #AF2032;
    --burgundy-glow: rgba(175, 32, 50, 0.15);
    --auth-bg: #f8faff;
    --card-bg: #ffffff;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --border-color: #f1f5f9;
    --high-depth-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
}

body.authentication-page {
    background-color: var(--auth-bg);
    /* Professional Mesh Gradient */
    background-image:
        radial-gradient(at 0% 0%, rgba(175, 32, 50, 0.05) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(52, 152, 219, 0.05) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(175, 32, 50, 0.05) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(52, 152, 219, 0.05) 0px, transparent 50%);
    background-attachment: fixed;
    color: var(--text-main);
    font-family: 'Archivo', sans-serif;
    min-height: 100vh;
    display: flex !important;
    flex-direction: column;
}

/* Authentication Layout */
.authentication-header {
    padding: 60px 0 40px;
}

.authentication-header img {
    max-height: 90px;
    width: auto;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.05));
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.authentication-header img:hover {
    transform: scale(1.05) translateY(-2px);
}

/* Auth Card */
.authentication-page .login-wrapper {
    max-width: 480px;
    width: 100%;
    margin: 0 auto 60px;
}

.authentication-page .loginbox {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 50px;
    box-shadow: var(--high-depth-shadow);
    position: relative;
    overflow: hidden;
}

/* Subtle glow effect on card */
.authentication-page .loginbox::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-burgundy), #3498db);
    opacity: 0.8;
}

.authentication-page .login-auth h1 {
    font-size: 30px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 10px;
    text-align: center;
    letter-spacing: -0.025em;
}

.authentication-page .login-auth p {
    color: var(--text-muted);
    text-align: center;
    font-size: 16px;
    margin-bottom: 35px;
}

/* Form Elements */
.authentication-page .form-group {
    margin-bottom: 24px;
}

.form-label {
    font-weight: 600;
    font-size: 14px;
    color: #475569;
    margin-bottom: 10px;
    display: block;
}

.authentication-page .form-control {
    height: 54px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 0 18px;
    font-size: 15px;
    color: var(--text-main);
    transition: all 0.3s ease;
}

.authentication-page .form-control::placeholder {
    color: #94a3b8;
}

.authentication-page .form-control:focus {
    background: #fff;
    border-color: var(--primary-burgundy);
    box-shadow: 0 0 0 4px var(--burgundy-glow);
    outline: none;
}

/* Buttons */
.btn-primary.btn-block {
    height: 54px;
    background: var(--primary-burgundy);
    border: none;
    border-radius: 12px;
    color: #ffffff;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.025em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 15px -3px rgba(175, 32, 50, 0.2);
    width: 100%;
    cursor: pointer;
    margin-top: 10px;
}

.btn-primary.btn-block:hover {
    background-color: #8c1a28;
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(175, 32, 50, 0.3);
}

.btn-primary.btn-block:active {
    transform: translateY(0);
}

/* Divider */
.login-or {
    position: relative;
    text-align: center;
    margin: 35px 0;
}

.login-or::before {
    content: "";
    height: 1px;
    width: 100%;
    background: #e2e8f0;
    position: absolute;
    top: 50%;
    left: 0;
    z-index: 1;
}

.login-or .span-or {
    background: #fff;
    padding: 0 15px;
    position: relative;
    z-index: 2;
    color: #94a3b8;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Utilities */
.text-burgundy {
    color: var(--primary-burgundy) !important;
}

.fw-600 {
    font-weight: 600 !important;
}

.fw-700 {
    font-weight: 700 !important;
}

.fs-14 {
    font-size: 14px !important;
}

/* Custom Checkbox */
.custom-check .form-check-input:checked {
    background-color: var(--primary-burgundy);
    border-color: var(--primary-burgundy);
}

/* Footer */
.footer-copyright {
    margin-top: auto;
    padding: 50px 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    letter-spacing: 0.025em;
}