/* Dashboard Specific Styles */

/* Dashboard Container */
.dashboard-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    min-height: 100vh;
}

/* Dashboard Header */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.welcome-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.welcome-text h1 {
    color: #2d3748;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.welcome-text p {
    color: #718096;
    font-size: 1.125rem;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border-left: 4px solid;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
}

.stat-card.primary { border-left-color: #3b82f6; }
.stat-card.danger { border-left-color: #ef4444; }
.stat-card.success { border-left-color: #22c55e; }
.stat-card.info { border-left-color: #6366f1; }

.stat-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.stat-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.stat-card.primary .stat-icon { background: #dbeafe; color: #1d4ed8; }
.stat-card.danger .stat-icon { background: #fee2e2; color: #dc2626; }
.stat-card.success .stat-icon { background: #dcfce7; color: #16a34a; }
.stat-card.info .stat-icon { background: #e0e7ff; color: #4338ca; }

.stat-info h3 {
    font-size: 2rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.stat-info p {
    color: #6b7280;
    font-weight: 500;
}

.stat-trend {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.stat-trend.positive { color: #059669; }
.stat-trend.neutral { color: #6b7280; }

/* Section Cards */
.section-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    margin-bottom: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    border-bottom: 1px solid #e5e7eb;
}

.section-header h2 {
    color: #1f2937;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-header .btn {
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.section-header .btn.btn-outline:hover {
    background: #3b82f6;
    color: white;
}

/* Subscription Section Specific Styles */
.subscription-section {
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
}

.subscription-section .section-header {
    color: white;
    padding: 1.5rem 2rem;
    margin: 0;
    border-bottom: none;
}

.subscription-section .section-header h2 {
    color: white;
    margin: 0;
}

.subscription-section .section-header .btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.subscription-section .section-header .btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.subscription-status {
    padding: 2rem;
}

.subscription-active {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    border-radius: 12px;
    padding: 2rem;
    color: white;
    margin-bottom: 0;
}

.subscription-inactive {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    margin-bottom: 0;
}

.subscription-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.subscription-plan h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.subscription-plan p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
}

.subscription-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
}

.detail-item .label {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    min-width: 100px;
}

.detail-item .value {
    color: white;
    font-weight: 600;
}

.detail-item .value.active {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.subscription-warning {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(237, 137, 54, 0.1);
    border: 1px solid #ed8936;
    border-radius: 8px;
    color: #c05621;
    margin-top: 1rem;
    font-size: 0.875rem;
}

.subscription-warning a {
    color: #c05621;
    font-weight: 600;
    text-decoration: underline;
}

.subscription-inactive .no-subscription-icon {
    font-size: 3rem;
    color: #cbd5e0;
    margin-bottom: 1.5rem;
}

.subscription-inactive h3 {
    color: #2d3748;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.subscription-inactive p {
    color: #718096;
    margin-bottom: 2rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.subscription-inactive .btn {
    background: #667eea;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.subscription-inactive .btn:hover {
    background: #5a67d8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.features-teaser {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.features-teaser .feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #4a5568;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 8px;
}

.features-teaser .feature i {
    color: #667eea;
    font-size: 1rem;
}

/* Quick Actions */
.quick-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.quick-actions .btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.quick-actions .btn-primary {
    background: #3b82f6;
    color: white;
}

.quick-actions .btn-primary:hover {
    background: #2563eb;
}

.quick-actions .btn-outline {
    background: transparent;
    color: #3b82f6;
    border: 1px solid #3b82f6;
}

.quick-actions .btn-outline:hover {
    background: #3b82f6;
    color: white;
}

.notification-badge {
    background: #ef4444;
    color: white;
    border-radius: 50%;
    padding: 0.125rem 0.375rem;
    font-size: 0.75rem;
    font-weight: 600;
    position: relative;
    top: -2px;
}

/* Time Indicator */
.time-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6b7280;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .dashboard-container {
        padding: 1rem;
    }
    
    .dashboard-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .welcome-section {
        flex-direction: column;
        gap: 1rem;
    }
    
    .welcome-text h1 {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .subscription-info {
        flex-direction: column;
    }
    
    .subscription-details {
        width: 100%;
    }
    
    .features-teaser {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .subscription-status {
        padding: 1.5rem;
    }
    
    .subscription-active,
    .subscription-inactive {
        padding: 1.5rem;
    }
    
    .quick-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .quick-actions .btn {
        width: 100%;
        justify-content: center;
    }
}
