/* ========== استایل ورود لوکس شیشه‌ای ========== */

/* پس‌زمینه */
.premium-login {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0a0a0f 0%, #0f0f1a 50%, #08080c 100%);
    padding: 100px 20px;
    overflow-x: hidden;
}

.premium-login-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
}

.bg-blur {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.3;
}

.b1 {
    top: -200px;
    right: -200px;
    background: #f5c518;
}

.b2 {
    bottom: -200px;
    left: -200px;
    background: #e50914;
}

.b3 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: #8b5cf6;
    opacity: 0.15;
}

.premium-login-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
}

/* کارت شیشه‌ای */
.login-glass-card {
    background: rgba(18, 18, 28, 0.7);
    backdrop-filter: blur(20px);
    border-radius: 40px;
    padding: 45px 40px;
    border: 1px solid rgba(245, 197, 24, 0.15);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transition: all 0.4s ease;
}

.login-glass-card:hover {
    border-color: rgba(245, 197, 24, 0.3);
    box-shadow: 0 30px 60px -15px rgba(245, 197, 24, 0.1);
}

/* هدر */
.login-header {
    text-align: center;
    margin-bottom: 35px;
}

.login-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(245,197,24,0.15), rgba(249,115,22,0.08));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border: 1px solid rgba(245,197,24,0.3);
}

.login-icon i {
    font-size: 32px;
    color: #f5c518;
}

.login-title {
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff, #f5c518);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
}

.login-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* فرم */
.login-form {
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 500;
}

.form-group label i {
    color: #f5c518;
    margin-left: 6px;
    font-size: 12px;
}

.form-group input {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    color: white;
    font-size: 14px;
    transition: all 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #f5c518;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(245,197,24,0.1);
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.3);
    font-size: 13px;
}

.hint {
    display: block;
    color: rgba(255, 255, 255, 0.35);
    font-size: 11px;
    margin-top: 6px;
}

/* چک باکس */
.checkbox-group {
    margin-bottom: 25px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.checkbox-label input {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 5px;
    position: relative;
    transition: all 0.3s;
}

.checkbox-label input:checked + .checkmark {
    background: linear-gradient(135deg, #f5c518, #f97316);
    border-color: transparent;
}

.checkbox-label input:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #1a1a2a;
    font-size: 11px;
    font-weight: bold;
}

.checkbox-label span:last-child {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
}

/* دکمه ورود */
.login-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #f5c518, #f97316);
    border: none;
    border-radius: 50px;
    color: #1a1a2a;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.login-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
    gap: 15px;
    box-shadow: 0 10px 25px -5px rgba(245,197,24,0.4);
}

/* لینک‌ها */
.login-links {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.login-links a {
    color: #f5c518;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.login-links a:hover {
    gap: 10px;
    text-decoration: underline;
}

/* پیام‌ها */
.success-msg, .error-msg {
    margin-top: 20px;
    padding: 14px 18px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    animation: fadeInUp 0.4s ease;
}

.success-msg {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.error-msg {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.success-msg i, .error-msg i {
    font-size: 18px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== ریسپانسیو ========== */
@media (max-width: 550px) {
    .premium-login {
        padding: 70px 16px;
    }
    
    .login-glass-card {
        padding: 32px 24px;
        border-radius: 32px;
    }
    
    .login-title {
        font-size: 26px;
    }
    
    .login-icon {
        width: 60px;
        height: 60px;
    }
    
    .login-icon i {
        font-size: 28px;
    }
    
    .form-group input {
        padding: 12px 16px;
    }
    
    .login-btn {
        padding: 13px;
        font-size: 14px;
    }
}

@media (max-width: 380px) {
    .login-glass-card {
        padding: 25px 20px;
    }
    
    .login-title {
        font-size: 24px;
    }
}