:root {
    --primary-color: #2D5A27;
    --primary-hover: #1F3E1A;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.navbar-brand {
    color: var(--primary-color) !important;
}

.nav-link.active {
    background-color: var(--primary-color) !important;
    color: white !important;
}

.avatar-wrapper {
    position: relative;
    display: inline-block;
}

.avatar-wrapper img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 4px solid #f8f9fa;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.avatar-upload-btn {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.card {
    border: none;
    border-radius: 12px;
}

.card-header {
    border-bottom: 2px solid #f8f9fa;
    padding: 1.25rem;
    border-radius: 12px 12px 0 0 !important;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 102, 0, 0.25);
}

.stat-card {
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.stat-card h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
}

.nav-pills .nav-link {
    color: #666;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    transition: all 0.3s;
}

.nav-pills .nav-link:hover {
    background-color: #f8f9fa;
    color: var(--primary-color);
}

.nav-pills .nav-link i {
    margin-right: 0.5rem;
}

@media (max-width: 768px) {
    .avatar-wrapper img {
        width: 100px;
        height: 100px;
    }

    .stat-card {
        padding: 1rem;
    }

    .stat-icon {
        font-size: 2rem;
    }

    .stat-card h3 {
        font-size: 1.5rem;
    }
}
