/*#trainingapp-container {
    margin: 1rem 0;
    font-family: sans-serif;
}*/

.muscle-pill {
    margin: 5px;
    display: inline-block;
    padding: 5px 10px;
    background: #eee;
    border-radius: 20px;
    cursor: pointer;
}

.group-label {
    font-size: 0.8rem;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 5px;
    background: #ddd;
}

.group-label.chest {
    background: #ffc0cb;
}

.group-label.back {
    background: #add8e6;
}

.group-label.legs {
    background: #90ee90;
}

.group-label.shoulders {
    background: #f4a460;
}

.group-label.biceps {
    background: #dda0dd;
}

.group-label.triceps {
    background: #f55ff5;
}

.group-label.forearm {
    background: #9b589b;
    color: white;
}

.group-label.arms {
    background: #eecfee;
}

.group-label.abs {
    background: #ffff99;
}

.group-label.cardio {
    background: #ffb6b6;
}

.exercise-block {
    border: 1px solid #ccc;
    padding: 10px;
    margin-top: 10px;
}

.set-row {
    margin-top: 5px;
}

/* Workout History Table */
.workout-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.workout-table th,
.workout-table td {
    border: 1px solid #ccc;
    padding: 8px;
    text-align: left;
}

.workout-table ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}


/* Container to center content vertically and horizontally */
#trainingapp-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f9fafb;
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    max-width: 450px;
    margin: 40px auto;
}

/* Date styling */
.current-date {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

/* Button styling */
#start-workout-btn {
    background-color: #2563eb;
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
    max-width: 220px;
}

#start-workout-btn:hover {
    background-color: #1e40af;
}


/* Workout History */
.muscle-groups-history {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 8px 0 20px;
}

.muscle-group-pill {
    background: #f0f4f8;
    border: 1px solid #d0d7de;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #333;
}


/* Days since last used */
.suggestion-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.suggestion-item:hover {
    background-color: rgba(0, 0, 0, 0.093);
}

.suggestion-item .days-since {
    opacity: 0.7;
    margin-left: auto;
    font-size: 0.85em;
}

.days-since-badge {
    background-color: rgba(0,0,0,0.1);
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 0.75em;
    margin-left: 4px;
    opacity: 0.75;
}
/* Days since last used */
