/* ===============================================
   AUTH PAGES - LOGIN & REGISTER
   Modern, responsive authentication pages
   =============================================== */

.auth-page {
    background: linear-gradient(180deg, #051520 0%, #082030 50%, #0a2540 100%);
    background-attachment: fixed;
    min-height: 100vh;
}

.auth-section {
    padding: 120px 20px 80px;
    min-height: calc(100vh - 96px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.auth-container {
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
}

.auth-card {
    background: linear-gradient(135deg, 
        rgba(8, 30, 50, 0.95) 0%, 
        rgba(12, 40, 65, 0.9) 50%, 
        rgba(8, 30, 50, 0.95) 100%);
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 100px rgba(0, 212, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(0, 212, 255, 0.4) 15%,
        #00d4ff 30%,
        #40e0ff 50%,
        #00d4ff 70%,
        rgba(0, 212, 255, 0.4) 85%,
        transparent 100%);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.6);
}

.auth-card-header {
    text-align: center;
    margin-bottom: 40px;
}

.auth-logo-wrapper {
    margin-bottom: 25px;
}

.auth-logo {
    max-width: 180px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.5));
}

.auth-title {
    font-family: 'Oswald', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.auth-subtitle {
    font-size: 16px;
    color: rgba(200, 240, 255, 0.7);
    margin: 0;
}

.auth-alert {
    border-radius: 12px;
    padding: 15px 20px;
    margin-bottom: 25px;
    border: none;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}

.alert-danger {
    background: rgba(220, 53, 69, 0.2);
    color: #ff6b7a;
    border: 1px solid rgba(220, 53, 69, 0.4);
}

.alert-success {
    background: rgba(40, 167, 69, 0.2);
    color: #6bff8f;
    border: 1px solid rgba(40, 167, 69, 0.4);
}

.alert-warning {
    background: rgba(255, 193, 7, 0.2);
    color: #ffd93d;
    border: 1px solid rgba(255, 193, 7, 0.4);
}

.auth-form {
    margin-top: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(200, 240, 255, 0.9);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-label i {
    color: #00d4ff;
    font-size: 16px;
}

.required {
    color: #ff6b7a;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    background: rgba(5, 20, 35, 0.6);
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: 12px;
    color: #ffffff;
    font-size: 15px;
    transition: all 0.3s ease;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.form-control::placeholder {
    color: rgba(200, 240, 255, 0.4);
}

.form-control:focus {
    outline: none;
    border-color: #00d4ff;
    background: rgba(5, 20, 35, 0.8);
    box-shadow: 
        0 0 20px rgba(0, 212, 255, 0.4),
        inset 0 0 10px rgba(0, 212, 255, 0.1);
}

.password-input-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(200, 240, 255, 0.6);
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s ease;
    z-index: 10;
}

.password-toggle:hover {
    color: #00d4ff;
}

.form-text {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    color: rgba(200, 240, 255, 0.5);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-check-input {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #00d4ff;
}

.form-check-label {
    font-size: 13px;
    color: rgba(200, 240, 255, 0.8);
    cursor: pointer;
    margin: 0;
}

.forgot-password-link {
    color: #00d4ff;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
}

.forgot-password-link:hover {
    color: #40e0ff;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.auth-submit-btn {
    width: 100%;
    padding: 16px 30px;
    background: linear-gradient(135deg, 
        rgba(0, 212, 255, 0.3) 0%, 
        rgba(0, 180, 220, 0.4) 50%, 
        rgba(0, 212, 255, 0.3) 100%);
    border: 2px solid rgba(0, 212, 255, 0.6);
    border-radius: 12px;
    color: #00d4ff;
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.auth-submit-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
    z-index: 0;
}

.auth-submit-btn:hover::before {
    width: 300px;
    height: 300px;
}

.auth-submit-btn span,
.auth-submit-btn i {
    position: relative;
    z-index: 1;
}

.auth-submit-btn:hover {
    transform: translateY(-3px) scale(1.02);
    background: linear-gradient(135deg, 
        rgba(0, 212, 255, 0.5) 0%, 
        rgba(0, 180, 220, 0.6) 50%, 
        rgba(0, 212, 255, 0.5) 100%);
    border-color: #00d4ff;
    box-shadow: 
        0 8px 30px rgba(0, 212, 255, 0.6),
        0 0 60px rgba(0, 212, 255, 0.4);
    color: #ffffff;
    text-shadow: 0 0 20px rgba(0, 212, 255, 1);
}

.auth-submit-btn:hover i {
    transform: translateX(5px);
}

.auth-submit-btn:active {
    transform: translateY(-1px) scale(1.01);
}

.auth-divider {
    margin: 35px 0;
    text-align: center;
    position: relative;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(0, 212, 255, 0.3) 50%,
        transparent 100%);
}

.auth-divider span {
    position: relative;
    background: linear-gradient(135deg, 
        rgba(8, 30, 50, 0.95) 0%, 
        rgba(12, 40, 65, 0.9) 100%);
    padding: 0 20px;
    color: rgba(200, 240, 255, 0.6);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.auth-footer {
    text-align: center;
    margin-top: 30px;
}

.auth-footer p {
    color: rgba(200, 240, 255, 0.7);
    font-size: 14px;
    margin: 0;
}

.auth-link {
    color: #00d4ff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.auth-link:hover {
    color: #40e0ff;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.auth-verify-message {
    text-align: center;
}

/* ===============================================
   RESPONSIVE - AUTH PAGES
   =============================================== */

@media (max-width: 767.98px) {
    .auth-section {
        padding: 100px 15px 60px;
    }

    .auth-card {
        padding: 40px 25px;
        border-radius: 15px;
    }

    .auth-title {
        font-size: 26px;
    }

    .auth-subtitle {
        font-size: 14px;
    }

    .auth-logo {
        max-width: 140px;
    }

    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .forgot-password-link {
        align-self: flex-end;
    }
}

@media (max-width: 575.98px) {
    .auth-card {
        padding: 30px 20px;
    }

    .auth-title {
        font-size: 22px;
    }

    .form-control {
        padding: 12px 15px;
        font-size: 14px;
    }

    .auth-submit-btn {
        padding: 14px 25px;
        font-size: 14px;
    }
}
