body, html {
    margin: 0;
    padding: 0;
    background-color: #88aacc;
    color: #000000;
    font-family: Helvetica, Arial, sans-serif;
}

.top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    padding: 8px 15px;
    font-size: 14px;
    color: #555;
    border-bottom: 2px solid #ccc;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.section-title {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    margin: 20px 0 10px;
    color: #fff;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    color: #242424;
    margin-bottom: 10px;
    padding: 0 10px;
}

.info-left {
    text-align: left;
    flex: 1;
}

.info-center {
    text-align: center;
    flex: 1;
}

.info-right {
    text-align: right;
    flex: 1;
}

.barbell-display {
    height: 130px;
    overflow: hidden;
}

.barbell-line {
    flex-grow: 1;
    flex-shrink: 1;
    height: 5px;
    background-color: #ccc;
    margin: 0 5px;
    border-radius: 2px;
    min-width: 10px;
    max-width: 150px;
}

#barWeightSelection {
    text-align: center;
    margin: 20px 0;
    font-size: 18px;
}
#barWeightSelection label {
    margin: 0 10px;
}
#barWeightSelection input[type="radio"] {
    margin-right: 5px;
}

/* Weight Slider */
.slider-group {
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
}

.weight-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    margin-bottom: 10px;
}

.weight-kg-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.weight-big-input {
    font-size: 44px;
    font-weight: bold;
    line-height: 1;
    color: #111;
    width: 90px;
    text-align: center;
    border: 2px solid #ccc;
    border-radius: 8px;
    background: #fff;
    padding: 4px 8px;
    outline: none;
    -moz-appearance: textfield;
}

.weight-big-input::-webkit-outer-spin-button,
.weight-big-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.weight-big-unit {
    font-size: 24px;
    font-weight: 500;
}

.weight-lbs {
    font-size: 14px;
}

.slider-wrapper {
    margin: 90px 0 0;
    padding: 0 20px 8px;
    box-sizing: border-box;
}

.slider-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.slider-track {
    flex: 1;
    min-width: 0;
}

.slider-adj-btn {
    flex-shrink: 0;
    width: 44px;
    height: 64px;
    border-radius: 8px;
    border: 3px solid #1b5e20;
    background: #2e7d32;
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    touch-action: manipulation;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.15);
    user-select: none;
    transform: translateY(-14px);
}

.slider-adj-btn:active {
    background: #1b5e20;
    transform: translateY(-14px) scale(0.95);
}

.slider-ticks {
    position: relative;
    width: 100%;
    height: 20px;
}

.slider-tick {
    position: absolute;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tick-mark {
    width: 1px;
    height: 6px;
    background-color: #aaa;
}

.tick-label {
    font-size: 9px;
    color: #777;
    margin-top: 2px;
    line-height: 1;
}

#weightSlider {
    width: 100%;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    background: linear-gradient(to right, #444 var(--fill-pct, 40%), #ddd var(--fill-pct, 40%));
    border-radius: 3px;
    outline: none;
    cursor: pointer;
    margin: 0 0 8px;
}

#weightSlider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #444;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    transition: transform 0.1s;
}

#weightSlider:active::-webkit-slider-thumb {
    transform: scale(1.15);
}

#weightSlider::-moz-range-thumb {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #444;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}


#pwa-install-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #333;
    color: #fff;
    padding: 12px 16px;
    align-items: center;
    justify-content: space-between;
    z-index: 9999;
    font-size: 14px;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.35);
}

#pwa-install-banner button {
    padding: 8px 14px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    margin-left: 8px;
}

#pwa-install-btn {
    background: #2244dd;
    color: #fff;
}

#pwa-dismiss-btn {
    background: #666;
    color: #fff;
}
