/* Authentication Styles (Login, Register, Forgot Password) */
.login-section,
.register-section {
    min-height: calc(100vh - 400px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.login-section::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(26, 54, 93, 0.03);
    border-radius: 50%;
    z-index: 0;
}

.login-section::after {
    content: '';
    position: absolute;
    bottom: -5%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: rgba(255, 102, 0, 0.03);
    border-radius: 50%;
    z-index: 0;
}

.login-card,
.register-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    padding: 40px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.login-card {
    max-width: 450px;
}

.register-card {
    max-width: 600px;
}

.login-header,
.register-header {
    text-align: center;
    margin-bottom: 35px;
}

.login-header h2,
.register-header h2 {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.login-header p,
.register-header p {
    color: #64748b;
}

.form-floating>.form-control:focus~label,
.form-floating>.form-control:not(:placeholder-shown)~label {
    color: var(--primary-color);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(26, 54, 93, 0.1);
}

.btn-login,
.btn-register {
    background-color: var(--primary-color);
    border: none;
    color: white;
    padding: 12px;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s;
    width: 100%;
    margin-top: 20px;
    font-size: 1.1rem;
}

.btn-login:hover,
.btn-register:hover {
    background-color: #2a4365;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(26, 54, 93, 0.3);
    color: white;
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 25px 0;
    color: #94a3b8;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e2e8f0;
}

.divider:not(:empty)::before {
    margin-right: .75em;
}

.divider:not(:empty)::after {
    margin-left: .75em;
}

.btn-line {
    background-color: #06C755;
    color: white;
    border: none;
    padding: 12px;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-line:hover {
    background-color: #05b34c;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(6, 199, 85, 0.3);
    color: white;
}

.login-footer,
.register-footer {
    text-align: center;
    margin-top: 30px;
    font-size: 0.95rem;
}

.login-footer a,
.register-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.login-footer a:hover,
.register-footer a:hover {
    color: var(--secondary-accent);
    text-decoration: underline;
}

.forgot-password {
    display: block;
    text-align: right;
    margin-top: 10px;
    font-size: 0.85rem;
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s;
}

.forgot-password:hover {
    color: var(--primary-color);
}

.login-logo,
.register-logo {
    display: block;
    margin: 0 auto 20px;
    height: 60px;
}

.form-label {
    font-weight: 600;
    color: var(--primary-color);
}

/* Forgot Password Specific */
.forgot-section {
    min-height: calc(100vh - 400px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.forgot-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    padding: 40px;
    width: 100%;
    max-width: 450px;
    position: relative;
    z-index: 1;
}

.forgot-header {
    text-align: center;
    margin-bottom: 30px;
}

.forgot-header h2 {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.forgot-header .icon-box {
    width: 70px;
    height: 70px;
    background: rgba(26, 54, 93, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-color);
    font-size: 2rem;
}

.btn-forgot {
    background-color: var(--primary-color);
    border: none;
    color: white;
    padding: 12px;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s;
    width: 100%;
    margin-top: 10px;
}

.btn-forgot:hover {
    background-color: #2a4365;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(26, 54, 93, 0.3);
    color: white;
}

.forgot-footer {
    text-align: center;
    margin-top: 25px;
    font-size: 0.95rem;
}

.forgot-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.forgot-logo {
    display: block;
    margin: 0 auto 20px;
    height: 50px;
}