/* =================================
   ACCOUNT MAIN PAGE STYLES
   ================================= */
:root {
    --bg-main: #f4f8f7;
    --bg-panel: #ffffff;
    --primary-color: #7D9A4D;
    --primary-dark: #6a8244;
    --text-primary: #2c3e50;
    --text-secondary: #7f8c8d;
    --border-color: #ecf0f1;
    --shadow-light: 0 4px 15px rgba(0, 0, 0, 0.06);
    --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.08);
    --radius: 16px;
    --font-family: 'Poppins', sans-serif;
}

.account-main-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
}

/* Hero Section */
.account-hero-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 2rem;
    border-radius: var(--radius);
    margin-bottom: 2rem;
    text-align: center;
}

.profile-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.profile-avatar .profile-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 600;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.profile-avatar img.profile-photo {
    object-fit: cover;
}

.profile-info h1 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 600;
}

.profile-info p {
    margin: 0.5rem 0 0 0;
    opacity: 0.9;
}

/* Gamification Widget */
.gamification-widget {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
}

.status-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.status-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.status-progress {
    font-size: 0.9rem;
    opacity: 0.9;
}

.progress-container {
    background: rgba(255, 255, 255, 0.2);
    height: 8px;
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar {
    background: white;
    height: 100%;
    border-radius: 10px;
    transition: width 0.5s ease;
}

/* Navigation Cards */
.account-navigation {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
}

.nav-card {
    background: var(--bg-panel);
    display: flex;
    align-items: center;
    padding: 1.5rem;
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text-primary);
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.nav-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    color: var(--text-primary);
}

.nav-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: white;
    font-size: 1.2rem;
}

.nav-content {
    flex: 1;
}

.nav-content h3 {
    margin: 0 0 0.3rem 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.nav-content p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.nav-arrow {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Logout Button */
.account-actions {
    text-align: center;
}

.logout-button {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.logout-button:hover {
    background: #c0392b;
    transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .account-main-container {
        margin: 1rem auto;
        padding: 0 0.5rem;
    }
    
    .account-hero-section {
        padding: 1.5rem;
    }
    
    .profile-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .nav-card {
        padding: 1rem;
    }
    
    .nav-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        margin-right: 0.8rem;
    }
}

@media (max-width: 480px) {
    .profile-info h1 {
        font-size: 1.5rem;
    }
    
    .nav-content h3 {
        font-size: 1rem;
    }
    
    .nav-content p {
        font-size: 0.8rem;
    }
}