/* wod.css - WOD generator specific styles */

/* WOD result display */
.wod-result {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-top: 1.5rem;
}

.wod-header {
    background: var(--primary-color);
    color: white;
    padding: 1rem 1.5rem;
}

.wod-header h2 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.wod-format {
    font-size: 1rem;
    opacity: 0.9;
    margin-top: 0.25rem;
}

.wod-body {
    padding: 1rem 1.5rem;
}

/* movements list - compact */
.wod-movements {
    background: var(--bg-light);
    border-radius: 6px;
    padding: 0.75rem 1rem;
    margin-bottom: 0.75rem;
}

.movement-item {
    padding: 0.35rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    line-height: 1.4;
}

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

.movement-reps {
    font-weight: 600;
    color: var(--primary-color);
    display: inline;
}

.movement-name {
    font-weight: 500;
    color: var(--text-color);
    display: inline;
}

.movement-weight {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* notes section */
.wod-notes {
    font-size: 0.9rem;
    color: var(--text-color);
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.notes-label {
    font-weight: 600;
    color: var(--text-muted);
}

/* warm-up section */
.wod-warmup {
    font-size: 0.85rem;
    color: var(--text-color);
    margin-bottom: 0.75rem;
    background: var(--bg-light);
    border-radius: 6px;
    padding: 0.75rem 1rem;
}

.warmup-label {
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.warmup-content {
    line-height: 1.6;
}

/* scaling options - collapsible */
.wod-scaling {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.wod-scaling summary {
    cursor: pointer;
    font-weight: 600;
    padding: 0.25rem 0;
}

.wod-scaling summary:hover {
    color: var(--primary-color);
}

.wod-scaling .scaling-content {
    padding: 0.5rem 0;
    line-height: 1.6;
}

.wod-scaling p {
    margin: 0.5rem 0 0.25rem 0;
}

.wod-scaling ul {
    margin: 0.25rem 0 0 1.25rem;
    padding: 0;
}

.wod-scaling li {
    margin-bottom: 0.15rem;
}

/* WOD actions */
.wod-actions {
    display: flex;
    gap: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-color);
}

.wod-actions button {
    flex: 1;
    max-width: none;
    padding: 0.6rem 1rem;
}

/* copy button state */
.copy-btn.copied {
    background: var(--success-color);
}

.copy-btn.copied:hover {
    background: var(--success-color);
}

/* responsive */
@media (max-width: 640px) {
    .wod-header {
        padding: 0.75rem 1rem;
    }

    .wod-body {
        padding: 0.75rem 1rem;
    }

    .wod-actions {
        flex-direction: column;
    }
}
