.sr-calculadora-container {
    max-width: 100%;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: visible;
    padding: 20px;
}

.sr-calculadora-body { padding: 0; }

.sr-label {
    display: block;
    color: #2c3e50 !important;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    text-align: left;
    letter-spacing: 0.5px;
}

.sr-time-input-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    border: 2px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
    overflow: hidden;
    transition: border-color 0.3s ease;
    height: 55px;
}

.sr-time-input-wrapper:focus-within { 
    border-color: rgba(49,67,226,0.8); 
}

.sr-time-part {
    flex: 1 !important;
    height: 100% !important;
    border: none !important;
    background: transparent !important;
    font-size: 22px !important;
    font-weight: 600 !important;
    color: #34495e !important;
    text-align: center !important;
    outline: none !important;
    padding: 0 !important;
    min-width: 0 !important;
}

.sr-time-part::placeholder { 
    color: #bbb; font-weight: 400;
}

.sr-time-sep {
    font-size: 26px;
    font-weight: 700;
    color: #3143e2;
    padding: 0 4px;
    user-select: none;
    line-height: 1;
}

/* Barra */
.sr-barra-label { 
    font-size: 13px; 
    color: #666; 
    font-weight: 600; 
}
.sr-barra-valor { 
    font-size: 13px; 
    color: #3143e2; 
    font-weight: 700; 
}

.sr-barra-track {
    width: 100%;
    height: 12px;
    background: #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
}

.sr-barra-fill {
    height: 100%;
    background: linear-gradient(90deg, rgba(49,67,226,0.7), rgba(49,67,226,1));
    border-radius: 6px;
    transition: width 0.5s ease;
}

/* Indicador objetivo */
.sr-objetivo-triangle {
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 8px solid #10b981;
}

.sr-objetivo-label {
    font-size: 11px;
    font-weight: 700;
    color: #10b981;
    white-space: nowrap;
    margin-top: 1px;
    line-height: 1;
}

/* Error */
.sr-error {
    margin-bottom: 15px;
    padding: 12px 16px;
    background: #fff0f0;
    border: 1px solid #ffcccc;
    border-radius: 5px;
    color: #cc0000;
    font-size: 14px;
}

/* Botón */
.sr-button {
    width: 100%;
    height: 55px;
    background: rgba(49,67,226,0.8);
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(49,67,226,0.2);
}

.sr-button:hover { 
    background: #3143e2; 
}

/* Resultado */
.sr-resultado {
    margin-top: 25px;
    padding: 20px;
    background-color: #dddddd;
    border-left: 4px solid #3143e2;
    border-radius: 5px;
    color: #34495e;
    font-size: 16px !important;
    line-height: 1.6 !important;
    display: none;
}

.sr-resultado.show { 
    display: block; 
    animation: srFadeInUp 0.5s ease; 
}

.sr-calculadora-container .sr-resultado p {
    font-size: 16px !important;
    line-height: 1.6 !important;
    color: #34495e;
    margin-bottom: 0px !important;
}
.sr-resultado-tiempo { 
    color: #10b981; 
    font-weight: 700; 
    font-size: 17px; 
}

.sr-resultado-hora { 
    color: #3143e2; 
    font-weight: 700; 
    font-size: 17px; 
}

@keyframes srFadeInUp {
    from { 
        opacity: 0; 
        transform: translateY(20px); 
    }
    to { opacity: 1; 
        transform: translateY(0); 
    }
}

@media (max-width: 600px) {
    .sr-calculadora-container { 
        padding: 20px; 
        border: 1px solid #d2d2d7; 
    }

    .sr-time-input-wrapper, .sr-button { 
        height: 50px; 
    }

    .sr-time-part { 
        font-size: 18px; 
    }

    .sr-button {
        font-size: 16px; 
    }
}
