/* استایل‌های مخصوص صفحات ورود و ثبت نام */
.auth-page {
    background: linear-gradient(135deg, var(--dark-bg) 0%, #1a1a2e 50%, #16213e 100%);
    position: relative;
    overflow: hidden;
}

.auth-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.floating-coins {
    position: relative;
    width: 100%;
    height: 100%;
}

.coin {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(0, 255, 136, 0.1);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    animation: float 6s ease-in-out infinite;
}

.coin.bitcoin {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.coin.ethereum {
    top: 60%;
    left: 85%;
    animation-delay: 1s;
}

.coin.dollar {
    top: 80%;
    left: 15%;
    animation-delay: 2s;
}

.coin.chart {
    top: 30%;
    left: 80%;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

.auth-card {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--dark-border);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.auth-logo {
    font-size: 1.5rem;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 700;
}

.auth-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, var(--primary-color), #00ccff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-subtitle {
    color: var(--text-secondary);
    margin-bottom: 0;
}

.form-group {
    position: relative;
}

.form-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.dark-input {
    background: rgba(42, 42, 42, 0.8);
    border: 1px solid var(--dark-border);
    border-radius: 10px;
    color: var(--text-primary);
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.dark-input:focus {
    background: rgba(42, 42, 42, 0.9);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 255, 136, 0.1);
    color: var(--text-primary);
}

.dark-input::placeholder {
    color: var(--text-secondary);
}

.password-input-group {
    position: relative;
}

.password-toggle {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: var(--primary-color);
}

.password-strength {
    display: none;
}

.password-strength.show {
    display: block;
}

.progress {
    height: 4px;
    background: var(--dark-border);
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.strength-text {
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

.form-feedback {
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}

.form-feedback.show {
    display: block;
}

.form-feedback.valid {
    color: var(--success);
}

.form-feedback.invalid {
    color: var(--danger);
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--primary-dark));
    border: none;
    border-radius: 12px;
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 255, 136, 0.3);
}

.btn-primary:disabled {
    opacity: 0.6;
    transform: none;
    box-shadow: none;
}

.platform-features {
    border-top: 1px solid var(--dark-border);
    padding-top: 1.5rem;
}

.feature-item {
    padding: 0.5rem;
}

.feature-item i {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
    display: block;
}

.feature-item small {
    color: var(--text-secondary);
    font-size: 0.75rem;
}

/* انیمیشن‌های فرم */
.auth-card {
    animation: slideUp 0.8s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-group {
    animation: fadeIn 0.6s ease-out;
}

.form-group:nth-child(1) { animation-delay: 0.1s; }
.form-group:nth-child(2) { animation-delay: 0.2s; }
.form-group:nth-child(3) { animation-delay: 0.3s; }
.form-group:nth-child(4) { animation-delay: 0.4s; }
.form-group:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .auth-card {
        margin: 1rem;
        padding: 2rem 1.5rem;
    }
    
    .auth-title {
        font-size: 1.75rem;
    }
    
    .coin {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .auth-card {
        padding: 1.5rem 1rem;
    }
    
    .row .col-md-6 {
        margin-bottom: 1rem;
    }
}

.coin.shield {
    top: 40%;
    left: 20%;
    animation-delay: 1.5s;
    background: rgba(0, 123, 255, 0.1);
    border-color: #007bff;
    color: #007bff;
}

.coin.rocket {
    top: 70%;
    left: 70%;
    animation-delay: 2.5s;
    background: rgba(255, 193, 7, 0.1);
    border-color: #ffc107;
    color: #ffc107;
}

/* انیمیشن پالس برای دکمه */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.btn-primary:hover {
    animation: pulse 1s infinite;
}

/* انیمیشن شناور برای کارت */
.auth-card {
    animation: floatCard 3s ease-in-out infinite;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* انیمیشن ورود فیلدها */
.form-group {
    animation: slideInRight 0.6s ease-out;
}

.form-group:nth-child(1) { animation-delay: 0.1s; }
.form-group:nth-child(2) { animation-delay: 0.2s; }
.form-group:nth-child(3) { animation-delay: 0.3s; }

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* افکت hover برای آیتم‌های ویژگی */
.feature-item {
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item:hover i {
    transform: scale(1.2);
}

.feature-item i {
    transition: all 0.3s ease;
}