/* Dashboard Styles */
.dashboard-section {
    padding: 80px 0;
    min-height: 100vh;
    background: var(--bg-dark);
}

.dashboard-header {
    margin-bottom: 30px;
}

.dashboard-header h1 {
    color: var(--text-light);
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.dashboard-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.dashboard-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.dashboard-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-header {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.card-header h3 {
    color: var(--text-light);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-header i {
    color: var(--primary);
}

/* Subscription Card Styles */
.subscription-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.subscription-card.active {
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.1);
}

.subscription-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.subscription-header h4 {
    color: var(--text-light);
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-badge {
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-badge.active {
    background: rgba(0, 255, 136, 0.2);
    color: var(--primary);
    border: 1px solid var(--primary);
}

.subscription-details {
    margin-bottom: 25px;
}

.subscription-details p {
    color: var(--text-muted);
    margin-bottom: 10px;
}

.subscription-details strong {
    color: var(--text-light);
}

/* AI Bot Dashboard Specific Styles */
.ai-bot-dashboard {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border: 1px solid #333;
    padding: 30px;
}

.ai-bot-dashboard .subscription-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #333;
}

.ai-bot-dashboard .subscription-header h4 {
    color: #fff;
    font-size: 24px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ai-bot-dashboard .subscription-header i {
    color: #8b5cf6;
}

.ai-bot-dashboard .status-badge {
    background: #10b981;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

/* Quick Actions Section */
.quick-actions {
    margin: 30px 0;
    padding: 25px;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.quick-actions h5 {
    color: #fff;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.action-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.action-btn {
    background: #8b5cf6;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
}

.action-btn:hover {
    background: #7c3aed;
    transform: translateY(-2px);
}

.action-btn.whatsapp-btn {
    background: #25D366;
}

.action-btn.whatsapp-btn:hover {
    background: #128C7E;
}

.configure-mt5-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Setup Progress Section */
.setup-progress {
    margin: 30px 0;
}

.setup-progress h5 {
    color: #fff;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.progress-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.progress-step {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid #333;
    position: relative;
}

.progress-step.completed {
    opacity: 1;
}

.progress-step.completed .step-icon {
    background: #28a745;
    color: white;
    animation: checkmark 0.5s ease-in-out;
}

.progress-step.completed .step-info h6 {
    color: #28a745;
}

.progress-step.completed .step-info p {
    color: #333;
}

.progress-step.pending {
    border-color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
}

.progress-step.in-progress {
    border-color: #3b82f6;
    background: rgba(59, 130, 246, 0.1);
}

.step-icon {
    width: 50px;
    height: 50px;
    background: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 20px;
}

.progress-step.completed .step-icon {
    background: #10b981;
    color: white;
}

.progress-step.pending .step-icon {
    background: #f59e0b;
    color: white;
}

.progress-step.in-progress .step-icon {
    background: #3b82f6;
    color: white;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(59, 130, 246, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
    }
}

.step-info h6 {
    color: #fff;
    margin: 0 0 5px 0;
    font-size: 16px;
}

.step-info p {
    color: #999;
    margin: 0;
    font-size: 14px;
}

/* AI Features Section */
.ai-features {
    margin: 30px 0;
    padding: 25px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.ai-features h5 {
    color: #fff;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.feature i {
    color: #8b5cf6;
    font-size: 20px;
}

.feature span {
    color: #ccc;
    font-size: 14px;
}

/* Important Info Section */
.important-info {
    margin-top: 30px;
}

.important-info h5 {
    color: #fff;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.info-card {
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid #333;
}

.info-card h6 {
    color: #8b5cf6;
    margin: 0 0 10px 0;
    font-size: 16px;
}

.info-card p {
    color: #ccc;
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 768px) {
    .ai-bot-dashboard {
        padding: 20px;
    }
    
    .action-buttons {
        grid-template-columns: 1fr;
    }
    
    .features-list {
        grid-template-columns: 1fr;
    }
    
    .info-cards {
        grid-template-columns: 1fr;
    }
    
    .progress-step {
        flex-direction: column;
        text-align: center;
    }
}

/* Remove the old MT5 configuration section styles */
.mt5-config-section {
    display: none;
}

/* Notification styles */

/* Signals Dashboard Specific */
.signals-dashboard {
    max-width: 800px;
    margin: 0 auto;
}

.telegram-access-section {
    background: rgba(0, 136, 204, 0.05);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    border: 1px solid rgba(0, 136, 204, 0.2);
}

.telegram-access-section h5 {
    color: #0088cc;
    font-size: 1.2rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.telegram-info p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.telegram-btn {
    background: #0088cc;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.telegram-btn:hover {
    background: #0077b5;
    transform: translateY(-2px);
}

.signals-features {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
}

.signals-features h5 {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-item i {
    color: var(--primary);
    font-size: 1.3rem;
}

.feature-item p {
    color: var(--text-muted);
    margin: 0;
}

/* Support Section */
.support-section {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
}

.support-section h5 {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.support-section p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* WhatsApp Support Button */
.whatsapp-support {
    background: transparent;
    color: #25D366;
    border: 2px solid #25D366;
    padding: 10px 20px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.whatsapp-support:hover {
    background: #25D366;
    color: white;
}

/* Loading and Error States */
.loading-state {
    text-align: center;
    padding: 60px 20px;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-state p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.error-state {
    text-align: center;
    padding: 60px 20px;
}

.error-state i {
    font-size: 3rem;
    color: #ff4444;
    margin-bottom: 20px;
}

.error-state h3 {
    color: var(--text-light);
    margin-bottom: 15px;
}

.error-state p {
    color: var(--text-muted);
    margin-bottom: 25px;
}

/* Settings List */
.settings-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.setting-item {
    background: rgba(255, 255, 255, 0.02);
    padding: 20px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.setting-info h4 {
    color: var(--text-light);
    margin-bottom: 5px;
}

.setting-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Cancel button styles */
.btn-danger {
    background: #ef4444;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-danger:hover {
    background: #dc2626;
    transform: translateY(-2px);
}

.btn-danger:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Cancelled status badge */
.status-badge.cancelled {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid #ef4444;
}

/* Responsive Design */
@media (max-width: 768px) {
    .dashboard-header h1 {
        font-size: 2rem;
    }
    
    .dashboard-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .dashboard-actions .btn-outline {
        width: 100%;
        text-align: center;
    }
    
    .ai-facts {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .subscription-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .whatsapp-btn,
    .telegram-btn {
        width: 100%;
        justify-content: center;
    }
}

/* MT5 Modal Styles */
#mt5-modal .modal-content {
    max-width: 500px;
    width: 90%;
}

.mt5-modal-content {
    padding: 20px 0;
}

.modal-description {
    color: #ccc;
    margin-bottom: 25px;
    line-height: 1.5;
}

.mt5-form .form-group {
    margin-bottom: 20px;
}

.mt5-form label {
    display: block;
    color: #fff;
    margin-bottom: 8px;
    font-weight: 500;
}

.mt5-form input {
    width: 100%;
    padding: 12px;
    background: #2d2d2d;
    border: 1px solid #444;
    border-radius: 6px;
    color: #fff;
    font-size: 14px;
}

.mt5-form input:focus {
    outline: none;
    border-color: #8b5cf6;
    box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.2);
}

.mt5-form input::placeholder {
    color: #888;
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 30px;
}

.form-actions button {
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline {
    background: transparent;
    border: 1px solid #666;
    color: #ccc;
}

.btn-outline:hover {
    background: #333;
    border-color: #888;
}

.btn-primary {
    background: #8b5cf6;
    border: 1px solid #8b5cf6;
    color: white;
}

.btn-primary:hover {
    background: #7c3aed;
    border-color: #7c3aed;
}

.btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

@keyframes checkmark {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

/* Subscription Management Section */
.subscription-management {
    margin-top: 30px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid #333;
}

.subscription-management h5 {
    color: #fff;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.subscription-management .btn-danger {
    width: 100%;
    justify-content: center;
}

.subscription-management p {
    text-align: center;
}

/* MT5 Update Configuration Button */
.mt5-actions {
    margin-top: 1.5rem;
    text-align: center;
}

.mt5-actions .btn-outline {
    background: transparent;
    border: 2px solid #8b5cf6;
    color: #8b5cf6;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.mt5-actions .btn-outline:hover {
    background: #8b5cf6;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.3);
}

.mt5-actions .btn-outline i {
    margin-right: 0.5rem;
}

/* Reset Account Button */
.reset-account-btn {
    background: transparent !important;
    border: 2px solid #ef4444 !important;
    color: #ef4444 !important;
}

.reset-account-btn:hover {
    background: #ef4444 !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(239, 68, 68, 0.3);
}

.reset-account-btn i {
    margin-right: 0.5rem;
} 