/* ==========================================
   PROGRESS PAGE STYLES
   ========================================== */

/* Weight input */
.weight-input-row {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.weight-input {
    flex: 1;
    font-size: var(--font-lg);
    font-weight: 700;
    text-align: center;
    padding: var(--space-md);
}

.weight-unit {
    font-size: var(--font-base);
    font-weight: 600;
    color: var(--text-secondary);
}

/* Chart container */
.chart-container {
    width: 100%;
    min-height: 180px;
    position: relative;
}

.chart-container canvas {
    display: block;
}

/* Weight stats */
.weight-stats {
    border-top: 1px solid var(--border-color);
    padding-top: var(--space-md);
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
}

.stat-row + .stat-row {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.text-green {
    color: var(--accent-green);
}

.text-red {
    color: var(--accent-red);
}

/* Strength exercise select */
.strength-exercise-select {
    margin-bottom: var(--space-md);
}

.strength-select {
    width: 100%;
    padding: var(--space-sm) var(--space-md);
    font-size: var(--font-base);
    font-weight: 500;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238888a0' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.strength-select:focus {
    border-color: var(--accent-blue);
}

.strength-select optgroup {
    font-weight: 600;
    color: var(--text-secondary);
}

.strength-select option {
    font-weight: 400;
    color: var(--text-primary);
    background: var(--bg-secondary);
}

/* ==========================================
   HOME PAGE SPECIFIC STYLES
   ========================================== */

.home-day-card {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(74, 144, 217, 0.06) 100%);
}

.home-day-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.home-day-name {
    font-size: var(--font-xl);
    font-weight: 700;
}

.home-macro-circles {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
}

.home-macro-circle-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.home-macro-bars {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.home-macro-bar-row {
    /* wrapper for each macro bar */
}

/* Weight display on home */
.home-weight {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.home-weight-value {
    font-size: var(--font-2xl);
    font-weight: 700;
}

.home-weight-unit {
    font-size: var(--font-base);
    color: var(--text-secondary);
}

/* Tips */
.home-tips {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.home-tip-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    padding: var(--space-sm);
    background: var(--bg-input);
    border-radius: var(--radius-sm);
}

.tip-icon {
    font-size: 1.2rem;
    line-height: 1;
    flex-shrink: 0;
}

.tip-text {
    font-size: var(--font-sm);
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Weekly schedule */
.week-schedule {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.week-day-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    transition: background var(--transition-fast);
}

.week-day-item.today {
    background: rgba(74, 144, 217, 0.08);
    border: 1px solid rgba(74, 144, 217, 0.15);
}

.week-day-name {
    font-size: var(--font-sm);
    font-weight: 500;
    min-width: 36px;
}

.week-day-badge {
    font-size: var(--font-xs);
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 12px;
}
