/* Customer Pages Styles */

.customer-dashboard {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.customer-sidebar {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    height: fit-content;
    position: sticky;
    top: 2rem;
}

.customer-sidebar nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.customer-sidebar nav li {
    margin-bottom: 0.5rem;
}

.customer-sidebar nav a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: 0.9375rem;
}

.customer-sidebar nav a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.customer-sidebar nav a.active {
    background: var(--bg-light);
    color: var(--primary-color);
    font-weight: 500;
}

.customer-sidebar nav a svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.customer-content {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.customer-section {
    margin-bottom: 2rem;
}

.customer-section h2 {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
    font-size: 1.5rem;
    font-weight: 600;
}

.profile-card {
    background: var(--bg-light);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.subscription-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.subscription-badge.free {
    background: var(--bg-light);
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
}

.stat-card .stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-card .stat-label {
    color: var(--text-light);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.google-signin-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-color);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-top: 1rem;
}

.google-signin-btn:hover {
    background: var(--bg-light);
    border-color: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.google-signin-btn svg {
    width: 20px;
    height: 20px;
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 2rem 0;
    color: var(--text-light);
    font-size: 0.875rem;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border-color);
}

.divider::before {
    margin-right: 1rem;
}

.divider::after {
    margin-left: 1rem;
}

@media (max-width: 768px) {
    .customer-dashboard {
        grid-template-columns: 1fr;
    }
    
    .customer-sidebar {
        position: static;
        margin-bottom: 1rem;
    }
    
    .customer-sidebar nav {
        display: flex;
        overflow-x: auto;
        gap: 0.5rem;
        padding-bottom: 0.5rem;
    }
    
    .customer-sidebar nav ul {
        display: flex;
        gap: 0.5rem;
    }
    
    .customer-sidebar nav li {
        margin-bottom: 0;
        white-space: nowrap;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

