/* Rest Timer Pro Styles */

/* Main Container */
#egbongym-timer {
    text-align: center;
    position: relative;
}

/* Visual Ring */
#rt-visual-ring {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    position: relative;
}

.rt-ring-svg {
    width: 100%;
    height: 100%;
    transform: rotate(0deg); /* Fix rotation context */
}

.rt-ring-circle-bg {
    fill: none;
    stroke: #eee;
    stroke-width: 6;
}

.rt-ring-circle-fg {
    fill: none;
    stroke: #2ecc71;
    stroke-width: 6;
    stroke-linecap: round;
    transition: stroke-dashoffset 1s linear, stroke 0.5s;
    transform-origin: 50% 50%; /* Ensure rotation happens around center */
}

.rt-timer-text {
    font-size: 1.5rem; /* SVG units, effectively large */
    font-weight: bold;
    fill: #333;
    font-family: monospace;
    dominant-baseline: middle;
}

/* Controls */
.rt-smart-controls {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: left;
    border: 1px solid #eee;
}

.rt-smart-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    align-items: center;
}

.rt-radio-group {
    display: flex;
    gap: 10px;
}

.rt-radio-group label {
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    color: #333 !important; /* Fix visibility issue */
    font-weight: bold;
}

/* Preset Info */
.rt-preset-info {
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
}

#rt-suggested-val {
    font-weight: bold;
    color: #0073aa;
}

/* Action Buttons */
.rt-main-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.rt-btn-large {
    padding: 15px 30px;
    font-size: 1.2rem;
    width: 100%;
    max-width: 250px;
}

.rt-controls-running {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.rt-add-btn {
    background: #eee;
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.2s;
    color: #333;
}

.rt-add-btn:hover {
    background: #ddd;
}

/* Status Message */
#rt-status-msg {
    height: 20px;
    margin-top: 10px;
    font-weight: bold;
    color: #e74c3c;
}

.rt-blink {
    animation: blinker 1s linear infinite;
}

@keyframes blinker {
    50% { opacity: 0; }
}

/* Manual Input Override */
.rt-manual-input {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
}

.rt-manual-input input {
    width: 80px !important;
    text-align: center;
    font-size: 1.2rem;
    padding: 5px;
}

