
/* ============================================================
   SECTION CONTENT STYLING
   Styling for all the different sections (Dashboard, Courses, etc)
   ============================================================ */

.section-card {
    background: rgba(26, 31, 46, 0.5);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 201, 167, 0.1);
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-card h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #fff;
    font-weight: 700;
}

.section-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: #00C9A7;
    font-weight: 600;
}

.section-card p {
    color: #B0B8C9;
    margin-bottom: 12px;
    line-height: 1.5;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 12px;
    margin: 20px 0;
}

.stat-box {
    background: rgba(0, 201, 167, 0.1);
    border: 1px solid rgba(0, 201, 167, 0.2);
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-box:hover {
    background: rgba(0, 201, 167, 0.15);
    border-color: rgba(0, 201, 167, 0.4);
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #00C9A7;
}

.stat-label {
    font-size: 0.8rem;
    color: #B0B8C9;
    margin-top: 5px;
}

/* Course Items */
.course-item {
    background: rgba(0, 201, 167, 0.05);
    border-left: 3px solid #00C9A7;
    padding: 15px;
    margin: 15px 0;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.course-item:hover {
    background: rgba(0, 201, 167, 0.1);
    transform: translateX(5px);
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(0, 201, 167, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-top: 8px;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, #00C9A7, #32B8C6);
    transition: width 0.3s ease;
}

/* Project Items */
.project-item {
    background: rgba(0, 201, 167, 0.05);
    padding: 15px;
    margin: 15px 0;
    border-radius: 8px;
    border-left: 3px solid #2D9BD6;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(0, 201, 167, 0.2);
    color: #00C9A7;
}

/* Profile Info */
.profile-info {
    background: rgba(0, 201, 167, 0.05);
    padding: 20px;
    border-radius: 8px;
    margin: 15px 0;
    border: 1px solid rgba(0, 201, 167, 0.1);
}

.profile-avatar {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 15px;
}

.profile-details p {
    padding: 8px 0;
}

.profile-section {
    background: rgba(0, 201, 167, 0.05);
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
}

.profile-section h3 {
    margin-bottom: 12px;
}

.profile-section p {
    padding: 4px 0;
}

/* Certificate Items */
.certificate-item {
    background: linear-gradient(135deg, rgba(0, 201, 167, 0.1), rgba(45, 155, 214, 0.1));
    padding: 15px;
    margin: 15px 0;
    border-radius: 8px;
    border-left: 3px solid #FFD700;
    transition: all 0.3s ease;
}

.certificate-item:hover {
    background: linear-gradient(135deg, rgba(0, 201, 167, 0.15), rgba(45, 155, 214, 0.15));
}

/* Leaderboard Items */
.leaderboard-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 201, 167, 0.05);
    padding: 15px;
    margin: 10px 0;
    border-radius: 8px;
    border-left: 3px solid #FFD700;
    transition: all 0.3s ease;
}

.leaderboard-item.active {
    background: rgba(0, 201, 167, 0.15);
    border-left-color: #00C9A7;
}

.rank {
    font-size: 1.3rem;
    font-weight: 700;
    color: #FFD700;
    min-width: 40px;
}

.user {
    flex: 1;
    color: #fff;
    font-weight: 600;
    margin: 0 15px;
}

.points {
    color: #00C9A7;
    font-weight: 700;
}

/* Analytics Items */
.analytics-item {
    background: rgba(0, 201, 167, 0.05);
    padding: 15px;
    margin: 15px 0;
    border-radius: 8px;
    border: 1px solid rgba(0, 201, 167, 0.1);
}

.label {
    font-weight: 600;
    color: #00C9A7;
    margin-bottom: 8px;
}

.chart-placeholder {
    background: rgba(0, 201, 167, 0.1);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    color: #B0B8C9;
}

/* Setting Items */
.setting-item {
    padding: 15px;
    border-bottom: 1px solid rgba(0, 201, 167, 0.1);
}

.setting-item label {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: #B0B8C9;
}

.setting-item input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #00C9A7;
}

.logout-btn {
    width: 100%;
    padding: 12px;
    margin-top: 20px;
    background: rgba(255, 84, 89, 0.15);
    color: #FF5459;
    border: 1px solid rgba(255, 84, 89, 0.3);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.logout-btn:hover {
    background: rgba(255, 84, 89, 0.25);
    border-color: rgba(255, 84, 89, 0.5);
}

/* FAQ Items */
.faq-item {
    background: rgba(0, 201, 167, 0.05);
    padding: 15px;
    margin: 15px 0;
    border-radius: 8px;
    border-left: 3px solid #00C9A7;
}

.faq-item h3 {
    margin-bottom: 8px;
    color: #00C9A7;
}

.faq-item p {
    color: #B0B8C9;
}
