/* GG Members - Public Styles */
.gg-members-btn {
    display: inline-block;
    padding: 10px 20px;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s;
}
.gg-members-btn:hover { background: #1d4ed8; color: #fff; }

/* Restricted Content */
.gg-members-restricted {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 40px;
    text-align: center;
}
.gg-members-restricted h3 { margin-bottom: 10px; color: #1e293b; }
.gg-members-restricted p { color: #64748b; margin-bottom: 20px; }

/* Progress Bar */
.gg-progress-bar {
    background: #e2e8f0;
    border-radius: 10px;
    height: 8px;
    overflow: hidden;
    margin: 8px 0;
}
.gg-progress-fill {
    background: linear-gradient(90deg, #2563eb, #7c3aed);
    height: 100%;
    border-radius: 10px;
    transition: width 0.5s ease;
}
.gg-progress-text { font-size: 13px; color: #64748b; }
.gg-mini-progress { width: 80px; height: 4px; background: #e2e8f0; border-radius: 4px; display: inline-block; }
.gg-mini-fill { height: 100%; background: #2563eb; border-radius: 4px; }

/* Member Dashboard */
.gg-member-dashboard { max-width: 1200px; margin: 0 auto; }
.gg-dashboard-header {
    background: linear-gradient(135deg, #1e293b, #334155);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 24px;
    color: #fff;
}
.gg-member-info { display: flex; align-items: center; gap: 16px; }
.gg-member-avatar img { border-radius: 50%; }
.gg-member-details h2 { margin: 0 0 6px; color: #fff; }
.gg-member-tier-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}
.tier-free { background: #94a3b8; color: #fff; }
.tier-guest { background: #60a5fa; color: #fff; }
.tier-saved { background: #34d399; color: #fff; }
.tier-programming { background: #a78bfa; color: #fff; }
.tier-membership { background: #f59e0b; color: #fff; }

.gg-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
.gg-dashboard-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 24px;
}
.gg-dashboard-card h3 { margin: 0 0 16px; font-size: 16px; color: #1e293b; }
.gg-dashboard-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #f1f5f9;
}
.gg-dashboard-item:last-child { border-bottom: none; }
.gg-item-title { flex: 1; font-size: 14px; color: #334155; }
.gg-item-pct { font-size: 12px; color: #64748b; font-weight: 600; }
.gg-item-meta { font-size: 12px; color: #64748b; }
.gg-empty { color: #94a3b8; font-style: italic; font-size: 14px; }

/* Course Player */
.gg-members-course-player { max-width: 1200px; margin: 0 auto; }
.gg-course-header {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
    padding: 24px;
    background: #f8fafc;
    border-radius: 10px;
}
.gg-course-thumbnail img { width: 200px; height: 140px; object-fit: cover; border-radius: 8px; }
.gg-course-title { margin: 0 0 8px; }
.gg-course-content { display: grid; grid-template-columns: 300px 1fr; gap: 24px; }
.gg-course-sidebar {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 20px;
    max-height: 80vh;
    overflow-y: auto;
}
.gg-course-sidebar h3 { margin: 0 0 16px; font-size: 15px; }
.gg-module { margin-bottom: 16px; }
.gg-module-title { font-size: 14px; margin: 0 0 8px; color: #1e293b; }
.gg-module.locked .gg-module-title { color: #94a3b8; }
.gg-lesson-list { list-style: none; padding: 0; margin: 0; }
.gg-lesson-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.15s;
}
.gg-lesson-item:hover { background: #f1f5f9; }
.gg-lesson-item.completed .gg-lesson-status { color: #22c55e; }
.gg-lesson-link { color: #334155; text-decoration: none; flex: 1; font-size: 13px; }
.gg-lesson-duration { font-size: 11px; color: #94a3b8; }
.gg-course-main {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 30px;
    min-height: 400px;
}

/* Program Player */
.gg-members-program-player { max-width: 900px; margin: 0 auto; }
.gg-program-header {
    padding: 24px;
    background: #f8fafc;
    border-radius: 10px;
    margin-bottom: 24px;
}
.gg-program-title { margin: 0 0 8px; }
.gg-program-meta { display: flex; gap: 12px; margin-bottom: 12px; }
.gg-program-meta span { font-size: 13px; color: #64748b; background: #e2e8f0; padding: 2px 10px; border-radius: 12px; }
.gg-program-week { margin-bottom: 20px; }
.gg-program-week h3 { font-size: 16px; margin-bottom: 12px; color: #1e293b; }
.gg-program-week.current h3 { color: #2563eb; }
.gg-week-days { display: flex; flex-direction: column; gap: 8px; }
.gg-program-day {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px;
    transition: border-color 0.2s;
}
.gg-program-day.current { border-color: #2563eb; box-shadow: 0 0 0 2px rgba(37,99,235,0.1); }
.gg-program-day.completed { border-color: #22c55e; opacity: 0.8; }
.gg-day-header { display: flex; align-items: center; gap: 10px; }
.gg-day-header h4 { margin: 0; font-size: 14px; }
.gg-day-status { font-size: 16px; }
.gg-day-content { margin-top: 12px; padding-top: 12px; border-top: 1px solid #f1f5f9; }
.gg-exercise-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.gg-exercise-table th { text-align: left; padding: 6px 8px; background: #f8fafc; font-weight: 600; }
.gg-exercise-table td { padding: 6px 8px; border-bottom: 1px solid #f1f5f9; }
.gg-exercise-log { width: 80px; padding: 4px 8px; border: 1px solid #e2e8f0; border-radius: 4px; font-size: 12px; }
.gg-day-notes { margin-top: 10px; font-size: 13px; color: #64748b; }

/* Program List */
.gg-members-program-list { display: grid; gap: 20px; }
.gg-members-program-list.columns-2 { grid-template-columns: repeat(2, 1fr); }
.gg-members-program-list.columns-3 { grid-template-columns: repeat(3, 1fr); }
.gg-program-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}
.gg-program-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.gg-program-thumb img { width: 100%; height: 160px; object-fit: cover; }
.gg-program-card-body { padding: 16px; }
.gg-program-card-body h3 { margin: 0 0 8px; font-size: 16px; }
.gg-program-card-meta { display: flex; gap: 8px; margin-bottom: 10px; }
.gg-program-type-badge { font-size: 11px; background: #ede9fe; color: #7c3aed; padding: 2px 8px; border-radius: 10px; }
.gg-program-excerpt { font-size: 13px; color: #64748b; margin-bottom: 12px; }

/* My Programs */
.gg-my-programs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.gg-my-program-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 20px;
}
.gg-my-program-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; }
.gg-my-program-header h3 { margin: 0; font-size: 15px; }
.gg-status-badge { font-size: 11px; padding: 2px 8px; border-radius: 10px; }
.gg-status-badge.active { background: #dcfce7; color: #16a34a; }
.gg-status-badge.completed { background: #dbeafe; color: #2563eb; }
.gg-my-program-meta { display: flex; justify-content: space-between; font-size: 12px; color: #94a3b8; margin: 8px 0 12px; }

/* Responsive */
@media (max-width: 768px) {
    .gg-course-content { grid-template-columns: 1fr; }
    .gg-course-sidebar { max-height: none; }
    .gg-members-program-list.columns-2,
    .gg-members-program-list.columns-3 { grid-template-columns: 1fr; }
    .gg-dashboard-grid { grid-template-columns: 1fr; }
    .gg-course-header { flex-direction: column; }
}
