.show-timer .config-panel {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: #1a1a1a;
    border-radius: 20px;
    border: 1px solid #222;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.show-timer .input-group {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 120px;
    align-items: center;
}

.show-timer label {
    margin-bottom: 0.5rem;
    color: #999;
    
    letter-spacing: 0.5px;
}

.show-timer input {
    padding: 0.6rem 0.5rem;
    border: none;
    border-radius: 6px;
    
    background-color: #222;
    color: #b4ff1c;
    text-align: center;
    width: 100%;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
}

/* Ensure number input spinners are visible */
.show-timer input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}

.show-timer input[type="number"]::-webkit-inner-spin-button,
.show-timer input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: inner-spin-button;
    opacity: 1;
    height: 25px;
    position: relative;
    right: -5px;
}

/* Time input container styles */
.show-timer .time-input-container {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #222;
    border-radius: 6px;
    padding: 0.6rem 0.5rem;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

.show-timer .time-input-container input[type="number"],
.show-timer .time-input-container input[type="text"] {
    width: 2.5em;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    color: #b4ff1c;
    text-align: center;
}

.show-timer .time-input-container input[type="text"] {
    color: #666;
    cursor: not-allowed;
}

.show-timer .time-separator {
    color: #b4ff1c;
    margin: 0 2px;
    font-weight: bold;
}

.show-timer input:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(180, 255, 28, 0.3);
}

.show-timer button {
    padding: 0.6rem 1.2rem;
    background-color: #1a1a1a;
    color: #b4ff1c;
    border: 1px solid #333;
    border-radius: 20px;
    cursor: pointer;

    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    margin-top: 1.2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.show-timer button:hover {
    background-color: #222;
    border-color: #b4ff1c;
}

.show-timer button.applied {
    animation: pulse 0.5s ease-in-out;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); background-color: #222; border-color: #b4ff1c; }
    100% { transform: scale(1); }
}

.clock-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 0;
}

.show-timer .clock {
    position: relative;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background-color: transparent;
    border: 1px solid #333;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
    margin: 0 auto;
}

.show-timer .hour-mark {
    position: absolute;
    width: 2px;
    height: 15px;
    background-color: #444;
}

.show-timer .hour-label {
    position: absolute;
    
    color: #999;
    letter-spacing: 0.5px;
}

.show-timer .active-segment {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    pointer-events: none;
}

.show-timer .handle {
    position: absolute;
    width: 22px;
    height: 22px;
    background-color: #b4ff1c;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 0 10px rgba(180, 255, 28, 0.6);
    transition: transform 0.2s, box-shadow 0.2s;
    border: 2px solid #111;
}

.show-timer .handle:hover, .show-timer .handle.dragging {
    transform: translate(-50%, -50%) scale(1.2);
    box-shadow: 0 0 15px rgba(180, 255, 28, 0.8);
}

.show-timer .handle.start {
    background-color: #ff2b8b;
}

.show-timer .handle.end {
    background-color: #ff2b8b;
}


.selected-time {
    text-align: center;
    
    background-color: #1a1a1a;
    padding: 1rem 1.5rem;
    border-radius: 20px;
    width: 80%;
    border: 1px solid #222;
    margin-top: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

 .selected-time span {
    color: #ff2b8b;
    font-weight: bold;
}

.selected-time p {
    margin-top: 0.5rem;
    
    color: #999;
}

.hours-adjuster {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0.5rem 0;
    gap: 1.2rem;
}


@keyframes pulse-btn {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); background-color: #b4ff1c; color: #111; }
    100% { transform: scale(1); }
}

.adjuster-btn.minus {
    color: #b4ff1c;
}



@media (max-width: 768px) {
    .show-timer .clock {
        width: 320px;
        height: 320px;
    }
    
    .show-timer .container {
        padding: 0.5rem;
    }
    
    .show-timer .handle {
        width: 24px;
        height: 24px;
    }
    
    .show-timer .config-panel {
        padding: 1rem;
        gap: 1rem;
    }
    
    .show-timer .selected-time {
        width: 90%;
    }
}

@media (max-width: 480px) {
    .show-timer .clock {
        width: 280px;
        height: 280px;
    }
    
    .show-timer .config-panel {
        flex-direction: column;
        align-items: center;
    }
    
    .show-timer .input-group {
        width: 100%;
        max-width: 200px;
    }
}

/**/

.minus, .plus { padding-top:2PX }

.minus{ margin-right:10PX }
.plus{ margin-left:10PX }


#total-hours{color:#FFFFFF;}


.show-timer .handle::before {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 1;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.show-timer .handle.start::before {
    content: "Inicio";
}

.show-timer .handle.end::before {
    content: "Fin";

}

.show-timer .handle.start::before {
  content: attr(data-label);
}

.show-timer .handle.end::before {
  content: attr(data-label);
}

.dparr2{
    width: 150px;
    position: relative;
    margin-top: -265px;
    margin-bottom: 150px;
}  


.dparr{
    position: relative;
    width: 320px;
    height: 320px;

    display: flex;
    justify-content: center; /* centra horizontalmente */
    align-items: center;     /* centra verticalmente */
    margin-top: -320px;
/*    touch-action: none;*/


}  
.dparr table {
    width: 120px;
}
.dparr input{
    padding:0px;
border-radius: 0px;

    margin-bottom: 0px;
    margin-top: 0px;

}

.dparr input[type=number]::-webkit-inner-spin-button, 
.dparr input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.dparr td {
    background: #161b22;
    white-space: nowrap;
}

