/* Centred Strength Pro - Frontend Styles */
/* Premium UI Design System */

:root {
    --stp-primary: #C1AA74;
    --stp-primary-dark: #a89460;
    --stp-primary-light: #f5f1e8;
    --stp-dark: #1a1a2e;
    --stp-gray-900: #111827;
    --stp-gray-700: #374151;
    --stp-gray-500: #6b7280;
    --stp-gray-300: #d1d5db;
    --stp-gray-100: #f3f4f6;
    --stp-white: #ffffff;
    --stp-success: #10b981;
    --stp-shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --stp-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --stp-shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --stp-shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --stp-radius: 16px;
    --stp-radius-sm: 10px;
    --stp-transition: all 0.2s ease;
}

/* Dashboard Container */
.stp-dashboard {
    max-width: 480px;
    margin: 0 auto;
    padding: 0 16px 32px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

/* Hero Section */
.stp-hero {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 24px 0 20px;
}

.stp-hero-content {
    flex: 1;
}

.stp-greeting {
    display: block;
    font-size: 14px;
    color: var(--stp-gray-500);
    margin-bottom: 4px;
}

.stp-hero h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--stp-gray-900);
    margin: 0 0 4px 0;
    letter-spacing: -0.5px;
}

.stp-date {
    font-size: 14px;
    color: var(--stp-gray-500);
    margin: 0;
}

.stp-streak-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(135deg, #ff9a56 0%, #ff6b35 100%);
    color: white;
    padding: 12px 16px;
    border-radius: var(--stp-radius);
    box-shadow: var(--stp-shadow);
}

.stp-streak-flame {
    font-size: 20px;
    line-height: 1;
}

.stp-streak-count {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
}

.stp-streak-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

/* Stats Cards */
.stp-stats-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

@media (max-width: 500px) {
    .stp-stats-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
}

.stp-stat-card {
    background: var(--stp-white);
    border-radius: 12px;
    padding: 18px 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border: 1px solid var(--stp-gray-100);
    transition: all 0.2s ease;
}

.stp-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.stp-stat-icon {
    font-size: 18px;
    margin-bottom: 8px;
    opacity: 0.8;
}

.stp-stat-number {
    display: block;
    font-size: 26px;
    font-weight: 700;
    color: var(--stp-gray-900);
    line-height: 1.1;
}

.stp-stat-label {
    display: block;
    font-size: 11px;
    color: var(--stp-gray-500);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    font-weight: 500;
}

/* Cards */
.stp-card {
    background: var(--stp-white);
    border-radius: var(--stp-radius);
    box-shadow: var(--stp-shadow);
    margin-bottom: 16px;
    overflow: hidden;
}

.stp-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    border-bottom: 1px solid var(--stp-gray-100);
}

.stp-card-header h2 {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    color: var(--stp-gray-900);
}

/* Program Card */
.stp-program-card {
    padding: 0;
}

.stp-program-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px;
    background: linear-gradient(135deg, var(--stp-primary-light) 0%, var(--stp-white) 100%);
}

.stp-program-title .stp-label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--stp-primary);
    margin-bottom: 6px;
    font-weight: 600;
}

.stp-program-title h2 {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    color: var(--stp-gray-900);
}

.stp-progress-ring {
    position: relative;
    width: 56px;
    height: 56px;
}

.stp-progress-ring svg {
    transform: rotate(-90deg);
    width: 100%;
    height: 100%;
}

.stp-progress-bg {
    fill: none;
    stroke: var(--stp-gray-200);
    stroke-width: 3;
}

.stp-progress-bar {
    fill: none;
    stroke: var(--stp-primary);
    stroke-width: 3;
    stroke-linecap: round;
}

.stp-progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
    font-weight: 700;
    color: var(--stp-gray-900);
}

.stp-week-indicator {
    padding: 8px 20px;
    background: var(--stp-gray-100);
    font-size: 12px;
    color: var(--stp-gray-500);
    text-align: center;
}

/* Week Navigation */
.stp-week-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 16px;
    border-bottom: 1px solid var(--stp-gray-100);
}

.stp-nav-arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--stp-gray-300);
    background: var(--stp-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--stp-transition);
    color: var(--stp-gray-700);
}

.stp-nav-arrow:hover {
    border-color: var(--stp-primary);
    color: var(--stp-primary);
}

.stp-nav-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.stp-week-label {
    font-weight: 600;
    color: var(--stp-gray-900);
    min-width: 80px;
    text-align: center;
}

/* Calendar Grid */
/* ===== MODERN FULL-MONTH CALENDAR ===== */
.stp-calendar-card {
    padding: 0;
    overflow: hidden;
}

/* ===== MODERN CALENDAR - Mobile App Style ===== */
.stp-calendar-section {
    margin-bottom: 20px;
}

.stp-cal-card {
    background: var(--stp-white);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    margin-bottom: 16px;
}

/* Month Header */
.stp-cal-month-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.stp-cal-nav-btn {
    width: 44px;
    height: 44px;
    border: none;
    background: var(--stp-gray-100);
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--stp-gray-600);
    transition: all 0.2s ease;
}

.stp-cal-nav-btn:hover {
    background: var(--stp-gray-200);
    color: var(--stp-gray-900);
}

.stp-cal-month-title {
    text-align: center;
}

.stp-cal-month-name {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: var(--stp-gray-900);
    line-height: 1.2;
}

.stp-cal-year-num {
    display: block;
    font-size: 14px;
    color: var(--stp-gray-400);
    margin-top: 2px;
}

/* Weekday Headers */
.stp-cal-weekday-row {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 8px;
}

.stp-cal-weekday {
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--stp-gray-400);
    padding: 8px 0;
    text-transform: uppercase;
}

.stp-cal-weekday.stp-weekend {
    color: var(--stp-gray-300);
}

/* Calendar Grid - THE KEY PART */
.stp-cal-grid {
    display: grid !important;
    grid-template-columns: repeat(7, 1fr) !important;
    gap: 4px;
}

.stp-cal-day-cell {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 500;
    color: var(--stp-gray-600);
    background: transparent;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.15s ease;
    position: relative;
    min-height: 40px;
}

.stp-cal-day-cell:hover:not(.other-month) {
    background: var(--stp-gray-100);
}

.stp-cal-day-cell.other-month {
    color: var(--stp-gray-300);
    cursor: default;
}

.stp-cal-day-cell.has-training {
    font-weight: 700;
    color: var(--stp-gray-900);
}

.stp-cal-day-cell.has-training::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--stp-primary);
}

.stp-cal-day-cell.has-rest {
    color: var(--stp-gray-400);
}

.stp-cal-day-cell.is-today {
    background: var(--stp-primary);
    color: #fff !important;
    font-weight: 700;
}

.stp-cal-day-cell.is-today::after {
    background: #fff;
}

.stp-cal-day-cell.selected {
    background: var(--stp-gray-900);
    color: #fff !important;
}

.stp-cal-day-cell.selected::after {
    background: #fff;
}

/* Legend */
.stp-cal-legend-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--stp-gray-100);
}

.stp-cal-legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--stp-gray-500);
}

.stp-legend-marker {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.stp-legend-marker.training {
    background: var(--stp-primary);
}

.stp-legend-marker.rest {
    background: var(--stp-gray-300);
}

.stp-legend-marker.today {
    background: var(--stp-primary);
    box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--stp-primary);
}

/* Workout Details Card */
.stp-workout-details-card {
    background: linear-gradient(145deg, #1e1e2f 0%, #252538 100%);
    border-radius: 16px;
    padding: 24px;
    min-height: 280px;
    color: #fff;
    margin-bottom: 16px;
}

.stp-workout-empty-state {
    height: 100%;
    min-height: 230px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 0.6;
}

.stp-workout-empty-state .stp-empty-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.stp-workout-empty-state h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.stp-workout-empty-state p {
    font-size: 14px;
    margin: 0;
    opacity: 0.7;
}

/* Workout Content */
.stp-workout-day-content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.stp-workout-day-header {
    margin-bottom: 20px;
}

.stp-workout-day-date {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 8px;
}

.stp-workout-day-header h3 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 10px 0;
    line-height: 1.2;
}

.stp-workout-day-focus {
    display: inline-block;
    background: var(--stp-primary);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stp-workout-day-exercises {
    flex: 1;
    margin-bottom: 20px;
}

.stp-workout-exercise-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.stp-workout-exercise-row:last-child {
    border-bottom: none;
}

.stp-workout-ex-name {
    font-size: 15px;
    font-weight: 500;
}

.stp-workout-ex-specs {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    font-weight: 500;
}

.stp-workout-start-btn {
    width: 100%;
    padding: 16px;
    background: var(--stp-primary);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.2s ease;
}

.stp-workout-start-btn:hover {
    background: var(--stp-primary-dark);
    transform: translateY(-2px);
}

/* Rest Day Content */
.stp-rest-day-content {
    height: 100%;
    min-height: 230px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.stp-rest-day-content .stp-rest-emoji {
    font-size: 56px;
    margin-bottom: 16px;
}

.stp-rest-day-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.stp-rest-day-content p {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    margin: 0;
    max-width: 220px;
    line-height: 1.5;
}

/* Progress Bar */
.stp-program-progress-bar {
    background: var(--stp-white);
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.stp-progress-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 13px;
}

.stp-progress-label span:first-child {
    font-weight: 600;
    color: var(--stp-gray-900);
}

.stp-progress-label span:last-child {
    color: var(--stp-gray-500);
}

.stp-progress-track {
    height: 6px;
    background: var(--stp-gray-200);
    border-radius: 3px;
    overflow: hidden;
}

.stp-progress-fill {
    height: 100%;
    background: var(--stp-primary);
    border-radius: 3px;
    transition: width 0.3s ease;
}

/* Legacy calendar support */
.stp-calendar-container {
    display: grid;
    grid-template-columns: 1fr 320px;
    min-height: 420px;
}

@media (max-width: 768px) {
    .stp-calendar-container {
        grid-template-columns: 1fr;
    }
}

.stp-calendar-main {
    padding: 24px;
    background: var(--stp-white);
}

.stp-calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.stp-cal-nav {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--stp-gray-200);
    background: var(--stp-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--stp-gray-600);
    transition: var(--stp-transition);
}

.stp-cal-nav:hover {
    background: var(--stp-gray-100);
    border-color: var(--stp-gray-300);
}

.stp-month-year {
    text-align: center;
}

.stp-month {
    font-size: 20px;
    font-weight: 700;
    color: var(--stp-gray-900);
    display: block;
}

.stp-year {
    font-size: 13px;
    color: var(--stp-gray-500);
}

.stp-calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 8px;
}

.stp-calendar-weekdays span {
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    color: var(--stp-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 0;
}

.stp-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.stp-cal-day {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--stp-transition);
    position: relative;
    font-size: 14px;
    color: var(--stp-gray-700);
    background: transparent;
}

.stp-cal-day:hover {
    background: var(--stp-gray-100);
}

.stp-cal-day.other-month {
    color: var(--stp-gray-300);
}

.stp-cal-day.has-workout {
    font-weight: 700;
    color: var(--stp-gray-900);
}

.stp-cal-day.has-workout::after {
    content: '';
    position: absolute;
    bottom: 4px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--stp-primary);
}

.stp-cal-day.is-rest::after {
    background: var(--stp-gray-400);
}

.stp-cal-day.is-today {
    background: var(--stp-primary);
    color: var(--stp-white);
    font-weight: 700;
}

.stp-cal-day.is-today.has-workout::after {
    background: var(--stp-white);
}

.stp-cal-day.stp-selected {
    background: var(--stp-gray-900);
    color: var(--stp-white);
}

.stp-cal-day.stp-selected::after {
    background: var(--stp-white);
}

.stp-calendar-legend {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--stp-gray-100);
}

.stp-legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--stp-gray-500);
}

.stp-legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.stp-legend-dot.training {
    background: var(--stp-primary);
}

.stp-legend-dot.rest {
    background: var(--stp-gray-400);
}

.stp-legend-dot.today {
    background: var(--stp-primary);
    box-shadow: 0 0 0 2px var(--stp-white), 0 0 0 3px var(--stp-primary);
}

/* Calendar Details Panel */
.stp-calendar-details {
    background: #1a1a2e;
    color: var(--stp-white);
    padding: 24px;
    display: flex;
    flex-direction: column;
}

@media (max-width: 768px) {
    .stp-calendar-details {
        min-height: 300px;
    }
}

.stp-details-placeholder {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 0.6;
}

.stp-placeholder-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.stp-details-placeholder h3 {
    margin: 0 0 8px 0;
    font-size: 18px;
}

.stp-details-placeholder p {
    margin: 0;
    font-size: 14px;
    opacity: 0.7;
}

/* Workout Details Content */
.stp-workout-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.stp-workout-details-header {
    margin-bottom: 20px;
}

.stp-workout-date {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 4px;
}

.stp-workout-details-header h3 {
    margin: 0 0 8px 0;
    font-size: 22px;
    font-weight: 700;
}

.stp-workout-focus-tag {
    display: inline-block;
    background: var(--stp-primary);
    color: var(--stp-white);
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 500;
}

.stp-workout-exercises {
    flex: 1;
    overflow-y: auto;
}

.stp-workout-exercise-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.stp-workout-exercise-item:last-child {
    border-bottom: none;
}

.stp-workout-ex-name {
    font-size: 14px;
    color: var(--stp-white);
}

.stp-workout-ex-detail {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

.stp-workout-actions {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.stp-btn-start-dark {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    background: var(--stp-primary);
    color: var(--stp-white);
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--stp-transition);
}

.stp-btn-start-dark:hover {
    background: var(--stp-primary-dark);
    transform: translateY(-2px);
}

/* Rest Day Panel */
.stp-rest-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.stp-rest-details .stp-rest-icon {
    font-size: 56px;
    margin-bottom: 16px;
}

.stp-rest-details h3 {
    margin: 0 0 8px 0;
    font-size: 24px;
}

.stp-rest-details p {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    max-width: 200px;
}

/* Program Footer */
.stp-program-footer {
    padding: 16px 24px;
    background: var(--stp-gray-50);
    border-top: 1px solid var(--stp-gray-200);
}

.stp-progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.stp-program-name {
    font-weight: 600;
    font-size: 14px;
    color: var(--stp-gray-900);
}

.stp-progress-text {
    font-size: 13px;
    color: var(--stp-gray-500);
}

.stp-progress-bar-container {
    height: 6px;
    background: var(--stp-gray-200);
    border-radius: 3px;
    overflow: hidden;
}

.stp-progress-bar-fill {
    height: 100%;
    background: var(--stp-primary);
    border-radius: 3px;
    transition: width 0.3s ease;
}

/* Workout Preview - Legacy Support */
.stp-workout-preview {
    padding: 20px;
    border-top: 1px solid var(--stp-gray-100);
}

.stp-workout-preview-content {
    background: var(--stp-gray-100);
    border-radius: var(--stp-radius-sm);
    padding: 16px;
}

.stp-workout-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.stp-workout-title h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 4px 0;
    color: var(--stp-gray-900);
}

.stp-workout-focus {
    display: inline-block;
    font-size: 11px;
    color: var(--stp-primary-dark);
    background: var(--stp-primary-light);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 500;
}

.stp-workout-count {
    font-size: 12px;
    color: var(--stp-gray-500);
}

.stp-exercise-list-preview {
    list-style: none;
    margin: 0 0 16px 0;
    padding: 0;
}

.stp-exercise-list-preview li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--stp-gray-200);
    font-size: 14px;
}

.stp-exercise-list-preview li:last-child {
    border-bottom: none;
}

.stp-ex-name {
    color: var(--stp-gray-700);
}

.stp-ex-sets {
    color: var(--stp-gray-500);
    font-weight: 500;
}

.stp-more-exercises {
    color: var(--stp-gray-500) !important;
    font-size: 13px;
    justify-content: center !important;
}

/* Start Workout Button */
.stp-btn-start {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    background: var(--stp-primary);
    color: var(--stp-white);
    border: none;
    border-radius: var(--stp-radius-sm);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--stp-transition);
    box-shadow: var(--stp-shadow);
}

.stp-btn-start:hover {
    background: var(--stp-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--stp-shadow-lg);
}

.stp-btn-start svg {
    fill: currentColor;
}

/* Rest Day Content */
.stp-rest-day-content {
    text-align: center;
    padding: 24px;
}

.stp-rest-icon {
    font-size: 40px;
    display: block;
    margin-bottom: 12px;
}

.stp-rest-day-content h3 {
    font-size: 18px;
    margin: 0 0 8px 0;
    color: var(--stp-gray-900);
}

.stp-rest-day-content p {
    color: var(--stp-gray-500);
    margin: 0;
    font-size: 14px;
}

.stp-select-day-prompt {
    text-align: center;
    padding: 20px;
    color: var(--stp-gray-500);
}

/* Empty State */
.stp-empty-state {
    text-align: center;
    padding: 48px 24px;
}

.stp-empty-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.stp-empty-state h2 {
    font-size: 18px;
    margin: 0 0 8px 0;
    color: var(--stp-gray-900);
}

.stp-empty-state p {
    color: var(--stp-gray-500);
    margin: 0;
}

/* Weight Card */
.stp-weight-card {
    padding: 20px;
}

.stp-weight-card .stp-card-header {
    padding: 0 0 16px 0;
    border-bottom: none;
}

.stp-weight-current {
    font-size: 24px;
    font-weight: 700;
    color: var(--stp-primary);
}

.stp-weight-chart-container {
    margin-bottom: 16px;
    padding: 12px;
    background: var(--stp-gray-100);
    border-radius: var(--stp-radius-sm);
}

.stp-weight-input-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.stp-weight-input-row input {
    flex: 1;
    padding: 14px 16px;
    border: 2px solid var(--stp-gray-200);
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.2s ease;
    background: var(--stp-gray-50);
}

.stp-weight-input-row input:focus {
    outline: none;
    border-color: var(--stp-primary);
    background: var(--stp-white);
    box-shadow: 0 0 0 4px rgba(193, 170, 116, 0.15);
}

.stp-weight-input-row input::placeholder {
    color: var(--stp-gray-400);
}

.stp-weight-input-row select {
    padding: 14px 16px;
    border: 2px solid var(--stp-gray-200);
    border-radius: 12px;
    background: var(--stp-gray-50);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.stp-weight-input-row select:focus {
    outline: none;
    border-color: var(--stp-primary);
    background: var(--stp-white);
}

.stp-btn-log {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--stp-primary);
    color: var(--stp-white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.stp-btn-log:hover {
    background: var(--stp-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(193, 170, 116, 0.4);
}

.stp-btn-log svg {
    width: 22px;
    height: 22px;
}

/* Messages Card */
.stp-messages-card {
    padding: 20px;
}

.stp-messages-card .stp-card-header {
    padding: 0 0 16px 0;
    border-bottom: none;
}

.stp-badge {
    background: var(--stp-primary);
    color: var(--stp-white);
    font-size: 12px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
}

.stp-messages-list {
    max-height: 200px;
    overflow-y: auto;
    margin-bottom: 12px;
}

.stp-msg {
    margin-bottom: 12px;
}

.stp-msg p {
    margin: 0;
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.4;
    max-width: 85%;
}

.stp-msg time {
    display: block;
    font-size: 11px;
    color: var(--stp-gray-500);
    margin-top: 4px;
}

.stp-msg-in p {
    background: var(--stp-gray-100);
    color: var(--stp-gray-900);
    border-bottom-left-radius: 4px;
}

.stp-msg-out {
    text-align: right;
}

.stp-msg-out p {
    background: var(--stp-primary);
    color: var(--stp-white);
    border-bottom-right-radius: 4px;
    margin-left: auto;
}

.stp-no-messages {
    text-align: center;
    color: var(--stp-gray-400);
    padding: 30px 20px;
    font-size: 14px;
}

.stp-message-compose {
    display: flex;
    gap: 10px;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid var(--stp-gray-100);
}

.stp-message-compose input {
    flex: 1;
    padding: 14px 18px;
    border: 2px solid var(--stp-gray-200);
    border-radius: 24px;
    font-size: 14px;
    transition: all 0.2s ease;
    background: var(--stp-gray-50);
}

.stp-message-compose input:focus {
    outline: none;
    border-color: var(--stp-primary);
    background: var(--stp-white);
    box-shadow: 0 0 0 4px rgba(193, 170, 116, 0.15);
}

.stp-message-compose input::placeholder {
    color: var(--stp-gray-400);
}

.stp-message-compose button {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--stp-primary);
    color: var(--stp-white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.stp-message-compose button:hover {
    background: var(--stp-primary-dark);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(193, 170, 116, 0.4);
}

.stp-message-compose button svg {
    width: 20px;
    height: 20px;
}

/* ===== TARGETS SECTION ===== */
.stp-targets-card {
    padding: 0;
}

.stp-targets-card .stp-card-header {
    padding: 18px 20px;
    border-bottom: 1px solid var(--stp-gray-100);
}

.stp-targets-card .stp-card-header h2 {
    font-size: 16px;
}

.stp-targets-list {
    padding: 0;
}

.stp-target-item {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--stp-gray-100);
    cursor: pointer;
    transition: var(--stp-transition);
    position: relative;
}

.stp-target-item:last-child {
    border-bottom: none;
}

.stp-target-item:hover {
    background: var(--stp-gray-50);
}

.stp-target-item:active {
    background: var(--stp-gray-100);
}

.stp-target-info {
    flex: 1;
    min-width: 0;
}

.stp-target-name {
    display: block;
    font-weight: 600;
    color: var(--stp-gray-900);
    font-size: 15px;
    margin-bottom: 2px;
}

.stp-target-muscle {
    font-size: 12px;
    color: var(--stp-gray-500);
}

.stp-target-stats {
    text-align: right;
    margin-right: 12px;
}

.stp-target-current {
    font-size: 18px;
    font-weight: 700;
    color: var(--stp-primary);
}

.stp-target-goal {
    font-size: 14px;
    color: var(--stp-gray-400);
}

.stp-target-pr {
    display: block;
    font-size: 11px;
    color: var(--stp-success);
    margin-top: 2px;
}

.stp-target-empty {
    font-size: 13px;
    color: var(--stp-gray-400);
}

.stp-target-progress {
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 3px;
    background: var(--stp-gray-100);
    border-radius: 2px;
}

.stp-target-bar {
    height: 100%;
    background: var(--stp-primary);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.stp-target-arrow {
    color: var(--stp-gray-400);
}

/* Target Modal */
.stp-target-modal {
    max-height: 85vh;
}

.stp-target-modal-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stp-target-modal-title h3 {
    margin: 0;
    font-size: 18px;
}

.stp-target-muscle-tag {
    font-size: 11px;
    background: var(--stp-gray-100);
    color: var(--stp-gray-600);
    padding: 3px 8px;
    border-radius: 4px;
}

.stp-target-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.stp-target-stat {
    text-align: center;
    padding: 16px 12px;
    background: var(--stp-gray-100);
    border-radius: var(--stp-radius-sm);
}

.stp-target-stat-value {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: var(--stp-primary);
    margin-bottom: 4px;
}

.stp-target-stat-label {
    font-size: 11px;
    color: var(--stp-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stp-target-chart-container {
    background: var(--stp-gray-50);
    border-radius: var(--stp-radius-sm);
    padding: 16px;
    margin-bottom: 20px;
}

.stp-target-history h4 {
    font-size: 14px;
    margin: 0 0 12px 0;
    color: var(--stp-gray-700);
}

.stp-target-history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--stp-gray-100);
}

.stp-target-history-item:last-child {
    border-bottom: none;
}

.stp-target-history-date {
    font-size: 13px;
    color: var(--stp-gray-500);
}

.stp-target-history-value {
    font-weight: 600;
    color: var(--stp-gray-900);
}

.stp-target-history-reps {
    font-size: 13px;
    color: var(--stp-gray-500);
    margin-left: 8px;
}

/* ===== MODAL STYLES (Premium) ===== */
.stp-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 9999;
    align-items: flex-end;
    justify-content: center;
    padding: 0;
}

.stp-modal.active {
    display: flex;
}

.stp-modal-content {
    background: var(--stp-white);
    border-radius: var(--stp-radius) var(--stp-radius) 0 0;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow: hidden;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.stp-workout-modal {
    max-height: 95vh;
    height: 95vh;
    display: flex;
    flex-direction: column;
}

.stp-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--stp-gray-100);
    background: var(--stp-white);
    flex-shrink: 0;
}

.stp-modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.stp-modal-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: var(--stp-gray-100);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--stp-transition);
    color: var(--stp-gray-700);
}

.stp-modal-close:hover {
    background: var(--stp-gray-200);
}

.stp-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.stp-modal-footer {
    display: flex;
    gap: 12px;
    padding: 16px 20px;
    border-top: 1px solid var(--stp-gray-100);
    background: var(--stp-white);
    flex-shrink: 0;
}

/* Workout Timer */
.stp-workout-timer {
    text-align: center;
}

.stp-timer-label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    color: var(--stp-gray-500);
    letter-spacing: 0.5px;
}

.stp-timer-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--stp-primary);
    font-variant-numeric: tabular-nums;
}

/* ============================================
   EXERCISE CARDS - iOS Toggle Style
   White, Black & Gold Theme
   ============================================ */

.stp-exercise-card {
    background: #FFFFFF !important;
    border-radius: 12px !important;
    margin-bottom: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid #F3F4F6 !important;
}

.stp-exercise-card-header {
    padding: 16px 20px !important;
    border-bottom: 1px solid #F3F4F6 !important;
    background: #FFFFFF !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stp-exercise-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stp-exercise-name {
    font-size: 17px !important;
    font-weight: 600 !important;
    color: #1A1A2E !important;
    margin: 0 !important;
    line-height: 1.3 !important;
}

.stp-exercise-meta {
    font-size: 13px !important;
    color: #9CA3AF !important;
    font-weight: 400 !important;
}

/* Hide remove button for clients */
.stp-remove-exercise {
    display: none;
}

/* Set Header Row */
.stp-sets-header {
    display: grid !important;
    grid-template-columns: 50px 1fr 1fr 60px !important;
    gap: 12px !important;
    padding: 12px 20px !important;
    background: #FFFFFF !important;
    border-bottom: 1px solid #F3F4F6 !important;
}

.stp-sets-header span {
    font-size: 11px !important;
    font-weight: 600 !important;
    color: #9CA3AF !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

/* Sets Container */
.stp-sets-container {
    padding: 0 !important;
    background: #FFFFFF !important;
}

/* Set Row */
.stp-set-row {
    display: grid !important;
    grid-template-columns: 50px 1fr 1fr 60px !important;
    gap: 12px !important;
    padding: 14px 20px !important;
    align-items: center !important;
    border-bottom: 1px solid #F3F4F6 !important;
    background: #FFFFFF !important;
    transition: background 0.2s ease !important;
}

.stp-set-row:last-child {
    border-bottom: none !important;
}

.stp-set-row.completed {
    background: rgba(193, 170, 116, 0.05) !important;
    opacity: 1 !important;
}

/* Set Number Badge */
.stp-set-number {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #F3F4F6 !important;
    border-radius: 50% !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #6B7280 !important;
    transition: all 0.2s ease !important;
}

.stp-set-row.completed .stp-set-number {
    background: #C1AA74 !important;
    color: #FFFFFF !important;
}

/* Warmup and Dropset styling */
.stp-set-warmup .stp-set-number {
    background: #fef3c7 !important;
    color: #f59e0b !important;
}

.stp-set-dropset .stp-set-number {
    background: #fce7f3 !important;
    color: #ec4899 !important;
}

/* Input Fields */
.stp-set-input {
    width: 100% !important;
    padding: 10px 12px !important;
    background: #FFFFFF !important;
    border: 1px solid #E5E7EB !important;
    border-radius: 8px !important;
    color: #1A1A2E !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    text-align: center !important;
    transition: all 0.2s ease !important;
    -webkit-appearance: none !important;
    -moz-appearance: textfield !important;
    box-shadow: none !important;
}

.stp-set-input:focus {
    outline: none !important;
    border-color: #C1AA74 !important;
    box-shadow: 0 0 0 3px rgba(193, 170, 116, 0.15) !important;
    background: #FFFFFF !important;
}

.stp-set-input::-webkit-outer-spin-button,
.stp-set-input::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

.stp-set-row.completed .stp-set-input {
    background: rgba(193, 170, 116, 0.08) !important;
    border-color: transparent !important;
    color: #1A1A2E !important;
}

/* iOS Toggle Switch */
.stp-check-btn {
    position: relative !important;
    width: 52px !important;
    height: 32px !important;
    min-width: 52px !important;
    background: #E5E7EB !important;
    border-radius: 16px !important;
    cursor: pointer !important;
    transition: background 0.3s ease !important;
    border: none !important;
    padding: 0 !important;
    outline: none !important;
    display: block !important;
    flex-shrink: 0 !important;
}

.stp-check-btn::after {
    content: '' !important;
    position: absolute !important;
    top: 2px !important;
    left: 2px !important;
    width: 28px !important;
    height: 28px !important;
    background: #FFFFFF !important;
    border-radius: 50% !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15) !important;
    transition: transform 0.3s ease !important;
}

.stp-check-btn:hover {
    background: #D1D5DB !important;
}

.stp-check-btn.checked,
.stp-set-row.completed .stp-check-btn {
    background: #C1AA74 !important;
}

.stp-check-btn.checked::after,
.stp-set-row.completed .stp-check-btn::after {
    transform: translateX(20px) !important;
}

.stp-set-row.completed .stp-check-btn:hover {
    background: #B39A64 !important;
}

.stp-check-btn svg {
    display: none !important;
}

/* Remove set buttons - clients can't add sets */
.stp-set-buttons {
    display: none;
}

.stp-add-set {
    display: none;
}

.stp-add-set:hover {
    background: var(--stp-gray-50);
}

.stp-add-set[data-type="warmup"]:hover {
    background: #fef3c7;
    color: #f59e0b;
}

.stp-add-set[data-type="dropset"]:hover {
    background: #fce7f3;
    color: #ec4899;
}

.stp-add-set:not(:last-child) {
    border-right: 1px solid var(--stp-gray-100);
}

/* Add Exercise Button */
.stp-btn-add-exercise {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    border: 2px dashed var(--stp-gray-300);
    border-radius: var(--stp-radius-sm);
    background: transparent;
    color: var(--stp-gray-500);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--stp-transition);
}

.stp-btn-add-exercise:hover {
    border-color: var(--stp-primary);
    color: var(--stp-primary);
    background: var(--stp-primary-light);
}

/* Modal Footer Buttons */
.stp-btn-cancel {
    flex: 1;
    padding: 14px 20px;
    border: 1px solid var(--stp-gray-300);
    border-radius: var(--stp-radius-sm);
    background: var(--stp-white);
    color: var(--stp-gray-700);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--stp-transition);
}

.stp-btn-cancel:hover {
    background: var(--stp-gray-100);
}

.stp-btn-finish {
    flex: 2;
    padding: 14px 20px;
    border: none;
    border-radius: var(--stp-radius-sm);
    background: var(--stp-primary);
    color: var(--stp-white);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--stp-transition);
}

.stp-btn-finish:hover {
    background: var(--stp-primary-dark);
}

/* Exercise Search Modal */
.stp-search-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: var(--stp-gray-100);
    border-radius: var(--stp-radius-sm);
    margin-bottom: 12px;
}

.stp-search-bar svg {
    color: var(--stp-gray-500);
    flex-shrink: 0;
}

.stp-search-bar input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 15px;
    outline: none;
}

.stp-filter-select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--stp-gray-200);
    border-radius: var(--stp-radius-sm);
    font-size: 14px;
    margin-bottom: 12px;
    background: var(--stp-white);
}

.stp-exercise-list {
    max-height: 400px;
    overflow-y: auto;
}

.stp-exercise-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px;
    border-bottom: 1px solid var(--stp-gray-100);
    cursor: pointer;
    transition: var(--stp-transition);
}

.stp-exercise-item:hover {
    background: var(--stp-primary-light);
}

.stp-exercise-item-name {
    font-weight: 500;
    color: var(--stp-gray-900);
}

.stp-exercise-item-muscle {
    font-size: 12px;
    color: var(--stp-gray-500);
}

/* Rest Timer Modal */
.stp-rest-modal {
    border-radius: var(--stp-radius);
    max-width: 320px;
    margin: auto;
    text-align: center;
    padding: 40px 30px;
}

.stp-rest-display {
    margin-bottom: 30px;
}

#stp-rest-time {
    font-size: 64px;
    font-weight: 700;
    color: var(--stp-primary);
    font-variant-numeric: tabular-nums;
}

.stp-rest-display p {
    margin: 8px 0 0;
    color: var(--stp-gray-500);
    font-size: 14px;
}

.stp-rest-controls {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.stp-rest-btn {
    padding: 12px 20px;
    border-radius: var(--stp-radius-sm);
    border: 1px solid var(--stp-gray-300);
    background: var(--stp-white);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--stp-transition);
}

.stp-rest-btn:hover {
    background: var(--stp-gray-100);
}

.stp-rest-skip {
    background: var(--stp-primary);
    border-color: var(--stp-primary);
    color: var(--stp-white);
}

.stp-rest-skip:hover {
    background: var(--stp-primary-dark);
}

/* ===== END MODAL STYLES ===== */

/* Buttons - base styling, colors from theme */
.stp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: opacity 0.2s;
    text-decoration: none;
}

.stp-btn:hover {
    opacity: 0.9;
}

.stp-btn-primary {
    background: #C1AA74;
    color: #fff;
}

.stp-btn-secondary {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
}

.stp-btn-sm {
    padding: 6px 12px;
    font-size: 13px;
}

.stp-btn-block {
    width: 100%;
}

/* Current Program Section */
.stp-current-program {
    background: #fff;
}

.stp-program-info {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.stp-program-info strong {
    display: block;
    font-size: 1.2em;
    margin-bottom: 4px;
    color: #111;
}

.stp-program-info span {
    color: #666;
    font-size: 0.9em;
}

.stp-todays-workout-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    padding: 15px;
    background: #f9fafb;
    border-radius: 8px;
}

.stp-rest-notice {
    padding: 15px;
    background: #f9fafb;
    border-radius: 8px;
    text-align: center;
}

.stp-rest-notice p {
    margin: 0;
    color: #666;
}

.stp-no-program {
    text-align: center;
    padding: 30px 20px;
}

.stp-no-program p {
    color: #666;
}

/* Program Calendar */
.stp-program-calendar {
    padding: 0;
}

.stp-calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.stp-calendar-header h3 {
    margin: 0;
    border: none;
    padding: 0;
}

.stp-week-nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

.stp-week-prev,
.stp-week-next {
    width: 32px;
    height: 32px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.stp-week-prev:hover,
.stp-week-next:hover {
    background: #f5f5f5;
    border-color: #C1AA74;
}

.stp-week-prev:disabled,
.stp-week-next:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

#stp-current-week-label {
    font-weight: 600;
    min-width: 80px;
    text-align: center;
}

.stp-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    padding: 20px;
}

@media (max-width: 600px) {
    .stp-calendar-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 400px) {
    .stp-calendar-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.stp-calendar-day {
    padding: 12px 8px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}

.stp-calendar-day:hover {
    border-color: #C1AA74;
    transform: translateY(-2px);
}

.stp-calendar-day.stp-training-day {
    background: #faf8f3;
    border-color: #C1AA74;
}

.stp-calendar-day.stp-rest-day {
    background: #f9fafb;
    opacity: 0.7;
}

.stp-calendar-day.stp-current-day {
    border-width: 3px;
    border-color: #C1AA74;
    box-shadow: 0 4px 12px rgba(193, 170, 116, 0.3);
}

.stp-calendar-day.stp-selected {
    background: #C1AA74;
    border-color: #C1AA74;
    color: #fff;
}

.stp-calendar-day.stp-selected .stp-day-exercises,
.stp-calendar-day.stp-selected .stp-day-focus,
.stp-calendar-day.stp-selected .stp-day-rest {
    color: rgba(255,255,255,0.8);
}

.stp-day-name {
    font-weight: 600;
    font-size: 0.9em;
}

.stp-day-exercises {
    font-size: 0.75em;
    color: #666;
}

.stp-day-focus {
    font-size: 0.7em;
    color: #C1AA74;
    font-weight: 500;
}

.stp-day-rest {
    font-size: 0.75em;
    color: #999;
}

.stp-day-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #C1AA74;
    color: #fff;
    font-size: 0.65em;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
}

/* Selected Day Details */
.stp-selected-day {
    border-top: 1px solid #eee;
    padding: 20px;
}

.stp-selected-day-content {
    background: #f9fafb;
    border-radius: 10px;
    padding: 20px;
}

.stp-selected-day-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.stp-selected-day-info strong {
    font-size: 1.1em;
}

.stp-focus-tag {
    background: #C1AA74;
    color: #fff;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.8em;
}

.stp-selected-day-exercises {
    margin-bottom: 15px;
}

.stp-exercise-preview {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.stp-exercise-preview:last-child {
    border-bottom: none;
}

.stp-ex-name {
    font-weight: 500;
}

.stp-ex-detail {
    color: #666;
    font-size: 0.9em;
}

.stp-rest-content {
    text-align: center;
    color: #666;
}

.stp-rest-content p {
    margin: 0;
    font-size: 1.1em;
}

/* Today's Workout Card */
.stp-workout-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.stp-workout-info strong {
    display: block;
    font-size: 1.1em;
    margin-bottom: 4px;
}

.stp-workout-info span {
    color: #666;
    font-size: 0.9em;
}

/* Rest Day */
.stp-rest-day {
    text-align: center;
    padding: 30px 20px;
}

.stp-rest-day p {
    margin: 0;
    color: #666;
}

/* Weight Tracking */
.stp-weight-form {
    margin-bottom: 20px;
}

.stp-input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.stp-input-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.stp-input-row input[type="number"] {
    flex: 1;
    min-width: 100px;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 16px;
}

.stp-input-row select {
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #fff;
    font-size: 14px;
}

.stp-current-weight {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 15px;
    background: #f9fafb;
    border-radius: 6px;
    margin-bottom: 20px;
}

.stp-weight-label {
    color: #666;
    font-size: 0.9em;
}

.stp-weight-value {
    font-size: 1.5em;
    font-weight: 700;
    color: #C1AA74;
}

.stp-weight-date {
    color: #999;
    font-size: 0.85em;
}

/* Weight History Table */
.stp-weight-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    font-size: 0.9em;
}

.stp-weight-table th,
.stp-weight-table td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.stp-weight-table th {
    font-weight: 600;
    color: #666;
    font-size: 0.85em;
    text-transform: uppercase;
}

.stp-weight-table .stp-up {
    color: #dc2626;
}

.stp-weight-table .stp-down {
    color: #16a34a;
}

/* Weight Chart */
#stp-weight-chart {
    margin-bottom: 15px;
}

/* Stats Grid */
.stp-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
}

.stp-stat {
    text-align: center;
    padding: 15px;
    background: #f9fafb;
    border-radius: 6px;
}

.stp-stat-value {
    display: block;
    font-size: 1.8em;
    font-weight: 700;
    color: #C1AA74;
    line-height: 1.2;
}

.stp-stat-label {
    display: block;
    font-size: 0.8em;
    color: #666;
    margin-top: 4px;
}

/* Messages Section */
.stp-messages-section .stp-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.stp-messages-section h3 {
    margin: 0;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.stp-unread-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background: #C1AA74;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    border-radius: 10px;
}

.stp-messages-preview {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 15px;
    padding: 10px;
    background: #f9fafb;
    border-radius: 8px;
}

.stp-message {
    margin-bottom: 12px;
}

.stp-message:last-child {
    margin-bottom: 0;
}

.stp-message-sent {
    text-align: right;
}

.stp-message-received {
    text-align: left;
}

.stp-message-bubble {
    display: inline-block;
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.4;
}

.stp-message-sent .stp-message-bubble {
    background: #C1AA74;
    color: #fff;
    border-bottom-right-radius: 4px;
}

.stp-message-received .stp-message-bubble {
    background: #fff;
    color: #333;
    border: 1px solid #e0e0e0;
    border-bottom-left-radius: 4px;
}

.stp-message-time {
    display: block;
    font-size: 11px;
    color: #999;
    margin-top: 4px;
}

.stp-message-form {
    display: flex;
    gap: 10px;
}

.stp-message-form input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: 20px;
    font-size: 14px;
}

.stp-message-form input:focus {
    outline: none;
    border-color: #C1AA74;
}

.stp-message-form .stp-btn {
    border-radius: 20px;
    padding: 10px 20px;
}

.stp-empty-messages {
    text-align: center;
    color: #999;
    padding: 20px;
    margin: 0 0 15px 0;
}

/* Modal */
.stp-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.stp-modal.active {
    display: flex;
}

.stp-modal-content {
    background: #fff;
    border-radius: 12px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.stp-modal-sm {
    max-width: 350px;
}

.stp-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

.stp-modal-header h3 {
    margin: 0;
    border: none;
    padding: 0;
}

.stp-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.stp-modal-close:hover {
    color: #333;
}

.stp-modal-body {
    padding: 20px;
}

.stp-modal-footer {
    display: flex;
    gap: 10px;
    padding: 15px 20px;
    border-top: 1px solid #eee;
    justify-content: flex-end;
}

/* Workout Timer */
.stp-workout-timer {
    text-align: left;
}

.stp-timer-label {
    display: block;
    font-size: 0.75em;
    color: #666;
    text-transform: uppercase;
}

.stp-timer-value {
    font-size: 1.5em;
    font-weight: 700;
    color: #C1AA74;
    font-variant-numeric: tabular-nums;
}

/* Exercise List in Modal */
.stp-exercise-list {
    max-height: 300px;
    overflow-y: auto;
    margin-top: 15px;
}

.stp-exercise-item {
    display: flex;
    align-items: center;
    padding: 12px;
    border: 1px solid #eee;
    border-radius: 6px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: border-color 0.2s;
}

.stp-exercise-item:hover {
    border-color: #C1AA74;
}

.stp-exercise-item-info {
    flex: 1;
}

.stp-exercise-item-name {
    font-weight: 500;
}

.stp-exercise-item-meta {
    font-size: 0.85em;
    color: #666;
}

/* Exercise Search */
#stp-exercise-search,
#stp-filter-muscle {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 10px;
}

/* Exercise Card in Workout - Duplicate styles for specificity */
/* ============================================
   Using same iOS Toggle styling
   ============================================ */

/* Set type styling - already handled above */

/* Hide set buttons for clients */
.stp-set-buttons {
    display: none !important;
}

.stp-add-set {
    display: none !important;
}

/* ============================================
   RESPONSIVE WORKOUT STYLES
   ============================================ */
@media (max-width: 480px) {
    .stp-sets-header,
    .stp-set-row {
        grid-template-columns: 40px 1fr 1fr 56px !important;
        gap: 8px !important;
        padding: 12px 16px !important;
    }
    
    .stp-set-number {
        width: 28px !important;
        height: 28px !important;
        min-width: 28px !important;
        font-size: 12px !important;
    }
    
    .stp-check-btn {
        width: 48px !important;
        min-width: 48px !important;
    }
    
    .stp-check-btn::after {
        width: 26px !important;
        height: 26px !important;
    }
    
    .stp-check-btn.checked::after,
    .stp-set-row.completed .stp-check-btn::after {
        transform: translateX(18px) !important;
    }
    
    .stp-set-input {
        padding: 8px 10px !important;
        font-size: 14px !important;
    }
    
    .stp-exercise-name {
        font-size: 16px !important;
    }
}
    color: #C1AA74;
    font-size: 0.85em;
    font-weight: 500;
    cursor: pointer;
}

.stp-add-set:last-child {
    border-right: none;
}

.stp-add-set:hover {
    background: #f9fafb;
}

.stp-add-set[data-type="warmup"] {
    color: #d97706;
}

.stp-add-set[data-type="dropset"] {
    color: #db2777;
}

/* Rest Timer Modal */
.stp-rest-timer {
    padding: 30px;
    text-align: center;
}

.stp-rest-display {
    margin-bottom: 10px;
}

#stp-rest-time {
    font-size: 3em;
    font-weight: 700;
    color: #C1AA74;
    font-variant-numeric: tabular-nums;
}

.stp-rest-timer > p {
    color: #666;
    margin: 0 0 20px 0;
}

.stp-rest-controls {
    display: flex;
    gap: 10px;
    justify-content: center;
}

/* Responsive */
@media (max-width: 600px) {
    .stp-client {
        padding: 15px;
    }
    
    .stp-section {
        padding: 15px;
    }
    
    .stp-workout-card {
        flex-direction: column;
        align-items: stretch;
    }
    
    .stp-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Onboarding - simplified */
.stp-onboarding {
    max-width: 500px;
    margin: 40px auto;
    padding: 20px;
}

.stp-onboarding-header {
    text-align: center;
    margin-bottom: 30px;
}

.stp-logo-large {
    font-size: 48px;
    display: block;
    margin-bottom: 15px;
}

.stp-step {
    display: none;
}

.stp-step.active {
    display: block;
}

.stp-step h2 {
    margin-bottom: 8px;
}

.stp-step-hint {
    color: #666;
    margin-bottom: 20px;
}

.stp-goal-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.stp-goal-option input {
    display: none;
}

.stp-goal-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.2s;
}

.stp-goal-option input:checked + .stp-goal-card {
    border-color: #C1AA74;
    background: #eff6ff;
}

.stp-goal-icon {
    font-size: 28px;
    margin-bottom: 8px;
}

.stp-experience-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.stp-experience-option input {
    display: none;
}

.stp-experience-card {
    display: block;
    padding: 15px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
}

.stp-experience-option input:checked + .stp-experience-card {
    border-color: #C1AA74;
}

.stp-experience-title {
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}

.stp-experience-desc {
    font-size: 0.9em;
    color: #666;
}

.stp-step-nav {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

.stp-step-nav .stp-btn {
    flex: 1;
}

.stp-step-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.stp-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d1d5db;
}

.stp-dot.active {
    background: #C1AA74;
    width: 24px;
    border-radius: 4px;
}

/* Form elements for onboarding */
.stp-form-group {
    margin-bottom: 15px;
}

.stp-form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.9em;
    color: #666;
}

.stp-form-group input,
.stp-form-group select,
.stp-form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
}

.stp-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.stp-input-with-unit {
    display: flex;
}

.stp-input-with-unit input {
    border-radius: 6px 0 0 6px;
}

.stp-input-with-unit select {
    width: auto;
    border-radius: 0 6px 6px 0;
    border-left: none;
    background: #f3f4f6;
}

/* Login notice */
.stp-login-notice {
    max-width: 400px;
    margin: 40px auto;
    padding: 40px;
    text-align: center;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
}

.stp-login-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.stp-login-notice h2 {
    margin-bottom: 10px;
}

.stp-login-notice p {
    color: #666;
    margin-bottom: 20px;
}

.stp-login-register {
    margin-top: 15px;
    font-size: 0.9em;
    color: #666;
}

.stp-login-register a {
    color: #C1AA74;
}

/* Days selector for onboarding */
.stp-days-selector {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.stp-day-option input {
    display: none;
}

.stp-day-card {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 50%;
    font-weight: 600;
    cursor: pointer;
}

.stp-day-option input:checked + .stp-day-card {
    border-color: #C1AA74;
    background: #C1AA74;
    color: #fff;
}

/* Equipment grid */
.stp-equipment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.stp-equipment-option input {
    display: none;
}

.stp-equipment-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 8px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    font-size: 0.85em;
}

.stp-equipment-option input:checked + .stp-equipment-card {
    border-color: #C1AA74;
}

.stp-equipment-icon {
    font-size: 24px;
    margin-bottom: 4px;
}

/* Body stats form */
.stp-body-stats-form {
    background: #f9fafb;
    border-radius: 8px;
    padding: 20px;
}

/* ==========================================
   TRAINER DASHBOARD STYLES
   ========================================== */

.stp-trainer {
    max-width: 960px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
.stp-trainer-header {
    margin-bottom: 30px;
}

.stp-trainer-welcome h1 {
    margin: 0 0 4px 0;
    font-size: 1.75em;
    font-weight: 600;
}

.stp-trainer-welcome p {
    margin: 0;
    color: #6b7280;
}

/* Navigation */
.stp-trainer-nav {
    display: flex;
    gap: 8px;
    margin-top: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e5e7eb;
    overflow-x: auto;
}

.stp-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #6b7280;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}

.stp-nav-btn:hover {
    background: #f3f4f6;
    color: #374151;
}

.stp-nav-btn.active {
    background: #C1AA74;
    color: #fff;
    border-color: #C1AA74;
}

.stp-nav-btn svg {
    flex-shrink: 0;
}

.stp-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background: #ef4444;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    border-radius: 10px;
}

/* Views */
.stp-view {
    display: none;
}

.stp-view.active {
    display: block;
}

/* Stats Row */
.stp-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .stp-stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

.stp-stat-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
}

.stp-stat-card.stp-stat-warning {
    border-color: #fbbf24;
    background: #fffbeb;
}

.stp-stat-icon {
    font-size: 24px;
    line-height: 1;
}

.stp-stat-content {
    display: flex;
    flex-direction: column;
}

.stp-stat-number {
    font-size: 1.5em;
    font-weight: 700;
    color: #111827;
    line-height: 1.2;
}

.stp-stat-label {
    font-size: 13px;
    color: #6b7280;
}

/* Panels */
.stp-panel {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
}

.stp-panel-warning {
    border-color: #fbbf24;
}

.stp-panel-warning .stp-panel-header {
    background: #fffbeb;
    border-color: #fde68a;
}

.stp-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

.stp-panel-header h3 {
    margin: 0;
    font-size: 1em;
    font-weight: 600;
    color: #111827;
}

.stp-panel-subtitle {
    font-size: 13px;
    color: #6b7280;
}

.stp-panel-body {
    padding: 0;
}

/* Tables */
.stp-table {
    width: 100%;
    border-collapse: collapse;
}

.stp-table th,
.stp-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #f3f4f6;
}

.stp-table th {
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #fafafa;
}

.stp-table tbody tr:last-child td {
    border-bottom: none;
}

.stp-table-hover tbody tr:hover {
    background: #f9fafb;
}

.stp-client-cell {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stp-client-cell img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.stp-client-cell div {
    display: flex;
    flex-direction: column;
}

.stp-client-cell small {
    font-size: 12px;
    color: #9ca3af;
}

.stp-muted {
    color: #9ca3af;
    font-size: 13px;
}

/* Status badges */
.stp-status {
    display: inline-block;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 20px;
}

.stp-status-active,
.stp-status-published {
    background: #d1fae5;
    color: #059669;
}

.stp-status-inactive,
.stp-status-paused {
    background: #f3f4f6;
    color: #6b7280;
}

.stp-status-draft {
    background: #e0e7ff;
    color: #4f46e5;
}

/* Empty state */
.stp-empty {
    padding: 40px 20px;
    text-align: center;
    color: #9ca3af;
}

.stp-empty a {
    color: #C1AA74;
}

/* Actions */
.stp-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

/* Conversations */
.stp-conversations {
    display: flex;
    flex-direction: column;
}

.stp-conversation {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.15s;
}

.stp-conversation:hover {
    background: #f9fafb;
}

.stp-conversation:last-child {
    border-bottom: none;
}

.stp-conversation.stp-unread {
    background: #eff6ff;
}

.stp-conversation img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.stp-conversation-content {
    flex: 1;
    min-width: 0;
}

.stp-conversation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2px;
}

.stp-conversation-header strong {
    color: #111827;
}

.stp-conversation-time {
    font-size: 12px;
    color: #9ca3af;
}

.stp-conversation-preview {
    margin: 0;
    font-size: 13px;
    color: #6b7280;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.stp-unread-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    background: #C1AA74;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    border-radius: 11px;
    flex-shrink: 0;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .stp-trainer {
        padding: 15px;
    }
    
    .stp-panel-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .stp-table th:nth-child(n+3),
    .stp-table td:nth-child(n+3) {
        display: none;
    }
    
    .stp-actions {
        flex-direction: column;
    }
    
    .stp-actions .stp-btn {
        width: 100%;
        justify-content: center;
    }
}
