/*--------------------- Copyright (c) 2024 ----------------------- 
[Master Stylesheet] 
Project: WPAi
Version: 1.0.0 
-------------------------------------------------------------------*/
/*--- Global Style ----*/
/* AI Video Creator - Enhanced Gradient Login Page Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #0a0a1a 0%, #1a0a2e 25%, #16213e 50%, #0f3460 75%, #1a1a2e 100%);
    overflow: hidden;
    position: relative;
}

/* Animated Gradient Background Overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 80%, rgba(120, 0, 255, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(0, 212, 255, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 40% 40%, rgba(255, 0, 128, 0.2) 0%, transparent 40%);
    animation: gradientShift 10s ease-in-out infinite alternate;
    z-index: 0;
}

@keyframes gradientShift {
    0% {
        background: 
            radial-gradient(ellipse at 20% 80%, rgba(120, 0, 255, 0.4) 0%, transparent 50%),
            radial-gradient(ellipse at 80% 20%, rgba(0, 212, 255, 0.3) 0%, transparent 50%),
            radial-gradient(ellipse at 40% 40%, rgba(255, 0, 128, 0.2) 0%, transparent 40%);
    }
    50% {
        background: 
            radial-gradient(ellipse at 60% 30%, rgba(120, 0, 255, 0.3) 0%, transparent 50%),
            radial-gradient(ellipse at 30% 70%, rgba(0, 212, 255, 0.4) 0%, transparent 50%),
            radial-gradient(ellipse at 80% 50%, rgba(255, 0, 128, 0.3) 0%, transparent 40%);
    }
    100% {
        background: 
            radial-gradient(ellipse at 80% 60%, rgba(120, 0, 255, 0.35) 0%, transparent 50%),
            radial-gradient(ellipse at 20% 40%, rgba(0, 212, 255, 0.35) 0%, transparent 50%),
            radial-gradient(ellipse at 50% 80%, rgba(255, 0, 128, 0.25) 0%, transparent 40%);
    }
}

/* Animated Background Particles */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: linear-gradient(135deg, #00d4ff, #7b2ff7);
    border-radius: 50%;
    animation: float 15s infinite;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.8), 0 0 20px rgba(123, 47, 247, 0.5);
}

@keyframes float {
    0%, 100% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) rotate(720deg);
        opacity: 0;
    }
}

/* Main Container */
.login-container {
    display: flex;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(25px);
    border-radius: 24px;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 100px rgba(123, 47, 247, 0.2),
        0 0 150px rgba(0, 212, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    overflow: hidden;
    max-width: 1000px;
    width: 90%;
    min-height: 600px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    z-index: 2;
    animation: containerFadeIn 1s ease-out;
}

@keyframes containerFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Left Panel - Branding */
.brand-panel {
    flex: 1;
    background: linear-gradient(180deg, 
        rgba(123, 47, 247, 0.3) 0%, 
        rgba(0, 212, 255, 0.2) 50%,
        rgba(255, 0, 128, 0.15) 100%);
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.brand-panel::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 30%, rgba(0, 212, 255, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 70%, rgba(255, 0, 128, 0.15) 0%, transparent 50%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1) rotate(5deg);
        opacity: 0.8;
    }
}

.logo-container {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-bottom: 40px;
}

.logo-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #00d4ff 0%, #7b2ff7 50%, #ff0080 100%);
    border-radius: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    box-shadow: 
        0 20px 40px rgba(0, 212, 255, 0.3),
        0 0 60px rgba(123, 47, 247, 0.3),
        0 0 100px rgba(255, 0, 128, 0.2);
    animation: logoFloat 3s ease-in-out infinite;
    position: relative;
}

.logo-icon::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(135deg, #00d4ff, #7b2ff7, #ff0080);
    border-radius: 32px;
    z-index: -1;
    animation: logoGlow 2s ease-in-out infinite;
    opacity: 0.7;
    filter: blur(8px);
}

@keyframes logoGlow {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.logo-icon svg {
    width: 60px;
    height: 60px;
    fill: white;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
}

.brand-name {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, #00d4ff 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
    margin-bottom: 10px;
    animation: textShimmer 3s ease-in-out infinite;
}

@keyframes textShimmer {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.brand-tagline {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.features-list {
    list-style: none;
    margin-top: 40px;
    position: relative;
    z-index: 2;
}

.features-list li {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
    margin-bottom: 15px;
    padding: 12px 20px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(123, 47, 247, 0.1) 100%);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    cursor: default;
}

.features-list li:hover {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2) 0%, rgba(123, 47, 247, 0.2) 100%);
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.2);
}

.features-list li svg {
    width: 24px;
    height: 24px;
    fill: #00d4ff;
    margin-right: 12px;
    filter: drop-shadow(0 0 5px rgba(0, 212, 255, 0.5));
}

/* Right Panel - Login Form */
.login-panel {
    flex: 1;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(0, 0, 0, 0.1) 100%);
}

.login-header {
    text-align: center;
    margin-bottom: 40px;
}

.login-title {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, #00d4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.login-subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
}

/* Form Styles */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.input-group {
    position: relative;
}

.input-group input {
    width: 100%;
    padding: 18px 20px 18px 55px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

.input-group input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/* Fix browser autofill white background */
.input-group input:-webkit-autofill,
.input-group input:-webkit-autofill:hover,
.input-group input:-webkit-autofill:focus,
.input-group input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px rgba(10, 10, 30, 0.95) inset !important;
    box-shadow: 0 0 0 1000px rgba(10, 10, 30, 0.95) inset !important;
    -webkit-text-fill-color: #ffffff !important;
    caret-color: #ffffff;
    border-color: rgba(255, 255, 255, 0.1) !important;
    transition: background-color 5000s ease-in-out 0s;
}

.input-group input:focus {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(123, 47, 247, 0.1) 100%);
    border-color: #00d4ff;
    box-shadow: 
        0 0 30px rgba(0, 212, 255, 0.3),
        inset 0 0 20px rgba(0, 212, 255, 0.05);
}

.input-group .input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    fill: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.input-group input:focus + .input-icon {
    fill: #00d4ff;
    filter: drop-shadow(0 0 5px rgba(0, 212, 255, 0.5));
}

/* Password input extra right padding for eye icon */
.input-group input[name="usererpass"] {
    padding-right: 55px;
}

/* Eye toggle icon */
.bpcast-pws-icon {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s ease;
    user-select: none;
}

.bpcast-pws-icon:hover {
    opacity: 1;
}

/* Remember Me & Forgot Password */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.remember-me {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.remember-me input {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    margin-right: 10px;
    position: relative;
    transition: all 0.3s ease;
}

.remember-me input:checked + .checkmark {
    background: linear-gradient(135deg, #00d4ff, #7b2ff7);
    border-color: #00d4ff;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
}

.remember-me input:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    color: white;
    font-size: 14px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.remember-me span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.forgot-password {
    background: linear-gradient(135deg, #00d4ff, #7b2ff7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.forgot-password:hover {
    background: linear-gradient(135deg, #ff0080, #7b2ff7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Login Button */
.login-btn {
    padding: 18px;
    background: linear-gradient(135deg, #00d4ff 0%, #7b2ff7 50%, #ff0080 100%);
    background-size: 200% 200%;
    border: none;
    border-radius: 16px;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow:
        0 10px 30px rgba(0, 212, 255, 0.3),
        0 5px 15px rgba(123, 47, 247, 0.2);
    animation: gradientMove 3s ease infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.bgl-btn-loader {
    display: none;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.login-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: all 0.5s ease;
}

.login-btn:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 15px 40px rgba(0, 212, 255, 0.4),
        0 10px 25px rgba(123, 47, 247, 0.3),
        0 5px 15px rgba(255, 0, 128, 0.2);
}

.login-btn:hover::before {
    left: 100%;
}

/* Social Login */
.divider {
    display: flex;
    align-items: center;
    margin: 10px 0;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.divider-text {
    padding: 0 15px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.social-login {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.social-btn {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2) 0%, rgba(123, 47, 247, 0.2) 100%);
    opacity: 0;
    transition: all 0.3s ease;
}

.social-btn:hover {
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.2);
}

.social-btn:hover::before {
    opacity: 1;
}

.social-btn svg {
    width: 28px;
    height: 28px;
    fill: white;
    position: relative;
    z-index: 1;
}

/* Sign Up Link */
.signup-link {
    text-align: center;
    margin-top: 30px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

.signup-link a {
    background: linear-gradient(135deg, #00d4ff, #7b2ff7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.signup-link a:hover {
    background: linear-gradient(135deg, #ff0080, #7b2ff7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Responsive Design */
@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
        max-width: 450px;
    }
    
    .brand-panel {
        padding: 40px 30px;
    }
    
    .login-panel {
        padding: 40px 30px;
    }
    
    .brand-name {
        font-size: 2rem;
    }

    .features-list {
        display: none;
    }
}

/* =============================================
   Password Reset Page – auth-* Layout Classes
   ============================================= */

.auth-shell {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

.auth-card {
    display: flex;
    width: 100%;
    max-width: 1000px;
    min-height: 560px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.05);
}

/* Left Brand Panel */
.auth-brand-panel {
    flex: 1;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15) 0%, rgba(123, 47, 247, 0.2) 50%, rgba(255, 0, 128, 0.15) 100%);
    padding: 50px 40px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.auth-brand-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
}
.auth-brand-glow--one {
    width: 300px;
    height: 300px;
    background: rgba(0, 212, 255, 0.25);
    top: -80px;
    right: -80px;
}
.auth-brand-glow--two {
    width: 250px;
    height: 250px;
    background: rgba(123, 47, 247, 0.25);
    bottom: -60px;
    left: -60px;
}

.auth-brand-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

/* Logo lockup */
.auth-logo-lockup {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 36px;
}
.auth-logo-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #00d4ff, #7b2ff7);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.4);
    flex-shrink: 0;
}
.auth-logo-icon svg {
    width: 28px;
    height: 28px;
    fill: white;
}
.auth-logo-copy h1 {
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    line-height: 1.2;
    margin: 0;
}
.auth-logo-copy p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
}

/* Brand text */
.auth-brand-text {
    margin-bottom: 32px;
}
.auth-brand-text h2 {
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    line-height: 1.5;
    margin: 10px 0;
}
.auth-brand-text p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin: 0;
}

/* Chip badge */
.auth-chip {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(0, 212, 255, 0.15);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #00d4ff;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.auth-chip--secondary {
    background: rgba(123, 47, 247, 0.15);
    border-color: rgba(123, 47, 247, 0.35);
    color: #a78bfa;
}

/* Feature list */
.auth-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.auth-feature-list li {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.65);
    padding-left: 20px;
    position: relative;
    line-height: 1.5;
}
.auth-feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00d4ff, #7b2ff7);
}

/* Right Form Panel */
.auth-form-panel {
    flex: 1;
    padding: 50px 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(255, 255, 255, 0.02);
}

.auth-form-header {
    margin-bottom: 30px;
}
.auth-form-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin: 10px 0 6px;
}
.auth-form-header p {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Input group with label */
.auth-input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.auth-input-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
}

.auth-input-wrap {
    position: relative;
}
.auth-input-wrap input {
    width: 100%;
    padding: 16px 52px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    color: white;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    outline: none;
}
.auth-input-wrap input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}
.auth-input-wrap input:focus {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.08) 0%, rgba(123, 47, 247, 0.08) 100%);
    border-color: #00d4ff;
    box-shadow: 0 0 25px rgba(0, 212, 255, 0.2), inset 0 0 15px rgba(0, 212, 255, 0.04);
}

/* Autofill fix */
.auth-input-wrap input:-webkit-autofill,
.auth-input-wrap input:-webkit-autofill:hover,
.auth-input-wrap input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px rgba(10, 10, 30, 0.95) inset !important;
    -webkit-text-fill-color: #ffffff !important;
    caret-color: #ffffff;
    transition: background-color 5000s ease-in-out 0s;
}

/* Left lock icon */
.auth-input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}
.auth-input-icon svg {
    width: 20px;
    height: 20px;
    fill: rgba(255, 255, 255, 0.4);
}

/* Eye toggle */
.auth-password-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}
.auth-password-toggle:hover {
    opacity: 1;
}

/* Submit button */
.mv-login-btn,
.auth-submit-btn {
    padding: 16px 20px;
    background: linear-gradient(135deg, #00d4ff 0%, #7b2ff7 50%, #ff0080 100%);
    background-size: 200% 200%;
    border: none;
    border-radius: 14px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    animation: gradientMove 3s ease infinite;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3), 0 5px 15px rgba(123, 47, 247, 0.2);
    position: relative;
    overflow: hidden;
}
.mv-login-btn:hover,
.auth-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.4), 0 8px 20px rgba(123, 47, 247, 0.3);
}

/* Below-form links */
.auth-inline-links {
    text-align: center;
}
.auth-support-note {
    text-align: center;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.6;
}
.auth-link {
    color: #00d4ff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}
.auth-link:hover {
    color: #a78bfa;
}

/* Responsive – stack panels on mobile */
@media (max-width: 768px) {
    .auth-card {
        flex-direction: column;
    }
    .auth-brand-panel {
        padding: 32px 28px;
    }
    .auth-form-panel {
        padding: 32px 28px;
    }
    .auth-feature-list {
        display: none;
    }
}

@media (max-width: 480px) {
    .login-container {
        width: 95%;
        min-height: auto;
    }
    
    .login-panel {
        padding: 30px 25px;
    }
    
    .brand-panel {
        padding: 30px 25px;
    }
    
    .login-title {
        font-size: 1.6rem;
    }
    
    .form-options {
        flex-direction: column;
        gap: 15px;
    }
}

/* Additional Glow Effects */
@keyframes borderGlow {
    0%, 100% {
        border-color: rgba(0, 212, 255, 0.3);
    }
    50% {
        border-color: rgba(123, 47, 247, 0.3);
    }
}

.login-container {
    animation: borderGlow 4s ease-in-out infinite;
}

/* Alert / Toast Notification */
@keyframes alertanim {
    from {
        opacity: 0;
        transform: translate3d(28px, -12px, 0) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
}

.bpcast-alert-wrap {
    position: fixed;
    top: 24px;
    right: 24px;
    width: min(420px, calc(100vw - 32px));
    z-index: 999999999999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.bpcast-alert-wrap.bpcast-show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.bpcast-alert-wrap > p {
    margin: 0;
    min-height: 92px;
    padding: 18px 22px 18px 88px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background:
        linear-gradient(135deg, rgba(17, 25, 47, 0.96) 0%, rgba(31, 40, 73, 0.94) 100%);
    box-shadow:
        0 20px 45px rgba(3, 10, 24, 0.38),
        0 10px 24px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
    margin: 0;
    color: rgba(223, 230, 244, 0.84);
    font-size: 14px;
    line-height: 1.6;
    letter-spacing: 0.01em;
    position: relative;
    font-weight: 500;
    -webkit-animation: alertanim 0.3s;
    animation: alertanim 0.3s;
}

.bpcast-alert-wrap > p::before {
    content: attr(data-title);
    font-size: 15px;
    line-height: 1.2;
    font-weight: 700;
    display: block;
    color: #ffffff;
    margin-bottom: 6px;
}

.bpcast-alert-wrap > p::after {
    content: "";
    position: absolute;
    top: 20px;
    left: 22px;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background-size: 22px 22px;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.bpcast-alert-wrap.bpcast-error > p {
    border-color: rgba(255, 95, 95, 0.34);
    box-shadow:
        0 20px 45px rgba(3, 10, 24, 0.38),
        0 12px 28px rgba(255, 76, 76, 0.14),
        inset 4px 0 0 rgba(255, 95, 95, 0.92);
}

.bpcast-alert-wrap.bpcast-error > p::before {
    content: attr(data-title);
}

.bpcast-alert-wrap.bpcast-error > p::after {
    background-color: rgba(255, 76, 76, 0.14);
    border: 1px solid rgba(255, 76, 76, 0.2);
    background-image: url(../images/auth/error-icon.svg);
}

.bpcast-alert-wrap.bpcast-success > p {
    border-color: rgba(0, 210, 106, 0.28);
    box-shadow:
        0 20px 45px rgba(3, 10, 24, 0.38),
        0 12px 28px rgba(0, 210, 106, 0.14),
        inset 4px 0 0 rgba(0, 210, 106, 0.92);
}

.bpcast-alert-wrap.bpcast-success > p::after {
    background-color: rgba(0, 210, 106, 0.14);
    border: 1px solid rgba(0, 210, 106, 0.18);
    background-image: url(../images/auth/success.svg);
}

@media (max-width: 767px) {
    .bpcast-alert-wrap {
        top: 16px;
        right: 16px;
        left: 16px;
        width: auto;
    }

    .bpcast-alert-wrap > p {
        min-height: 84px;
        padding: 16px 18px 16px 76px;
        font-size: 13px;
    }

    .bpcast-alert-wrap > p::after {
        top: 18px;
        left: 18px;
        width: 40px;
        height: 40px;
        border-radius: 12px;
        background-size: 20px 20px;
    }
}

/* Input error state – used by auth.js validation on all auth pages */
.bpcast-input-error {
    border-color: #FF4C4C !important;
    box-shadow: 0 0 15px rgba(255, 76, 76, 0.25) !important;
}
