::selection {
    background: #e1ffe6;
}

/* Кнопки в едином стиле */
.bbut0 {
    font-weight: 600;
    border: solid 2px #888888;
    outline: 0;
    padding: 10px;
    font-size: 16px;
    letter-spacing: 0.08rem;
    background-color: white;
    border-radius: 7px;
    position: relative;
    cursor: pointer;
}

.bbut0::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 90%;
    height: 90%;
    background-color: hsl(130deg 100% 89%);
    z-index: -1;
    border-radius: 7px;
    border: solid 2px #888888;
    transition: all 0.1s ease-in-out;
}

/* Меню навигации */
.menu-converter {
    display: flex;
    gap: 10px;
    margin: 0px 10px 20px 0px;
    padding: 0;
}

.menu-link-converter {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    font-family: Arial, sans-serif;
    text-decoration: none;
    background-color: #e0e0e0;
    color: #555555;
    border-radius: 7px;
    transition: all 0.3s ease;
}

.menu-link-converter:hover {
    background-color: #90ee90;
    color: #333333;
}

.menu-link-converter.active {
    background-color: #4caf50;
    color: white;
}

/* Селектор звука */
select {
    border-radius: 7px;
    border-width: 2px;
    border-color: #dfdfdf;
    font-size: 16px;
    appearance: none;
    box-shadow: none;
    flex: 1;
    padding: 0 1em;
}

.select {
    position: relative;
    display: flex;
    width: 15em;
    height: 2.9em;
    border-radius: 0.22em;
    overflow: hidden;
}

.select::after {
    content: '\25BC';
    position: absolute;
    top: 0;
    right: 0;
    transition: .25s all ease;
    padding: 14px;
    pointer-events: none;
    color: #bbbbbb;
}

.select:hover::after {
    color: orange;
}

/* Полосы состояния (прогресс-бары) */
.status-bar-all {
    margin-top: 25px;
    margin-bottom: 25px;
}

.status-bar-group {
    margin-bottom: 15px;
}

.progress-bar-label {
    font-size: 13px;
    color: #444;
    margin-bottom: 4px;
    font-weight: bold;
}

.progress-bar-bg {
    width: 100%;
    height: 12px;
    background-color: #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    width: 0%;
    background-color: #28a745; /* Зеленый трек */
    transition: width 0.1s linear;
}

.progress-bar-fill.progress-purple {
    background-color: #6f42c1; /* Фиолетовая полоса ожидания */
}

/* Интерактивная 24-часовая полоса */
.multi-time-container {
    width: 100%;
    margin: 20px 0;
    user-select: none;
}

.multi-time-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.multi-time-hint {
    font-size: 12px;
    color: #777;
}

.multi-bar-wrapper {
    position: relative;
    padding: 25px 0 25px 0;
}

.hour-bar-bg {
    position: relative;
    width: 100%;
    height: 12px;
    background-color: #e0e0e0;
    border-radius: 6px;
    cursor: pointer;
}

.hour-bar-thumb {
    position: absolute;
    top: 50%;
    left: 0%;
    width: 20px;
    height: 20px;
    background-color: #ffffff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    cursor: grab;
    z-index: 5;
    transition: transform 0.1s ease;
    border: 2px solid #7cae8e;
    box-sizing: border-box;
}

.hour-bar-thumb:hover {
    transform: translate(-50%, -50%) scale(1.15);
    border-color: #4caf50;
}

.hour-bar-thumb.active {
    cursor: grabbing;
    transform: translate(-50%, -50%) scale(1.25);
    border-color: #28a745;
    z-index: 10;
}

.hour-bar-tooltip {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ffffff;
    border: 1px solid #7cae8e;
    color: #333333;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    pointer-events: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hour-ticks-scale {
    position: relative;
    width: 100%;
    height: 25px;
    margin-top: 8px;
}

.hour-tick {
    position: absolute;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
}

.hour-tick-line {
    width: 1px;
    height: 6px;
    background-color: #b0b0b0;
    margin-bottom: 3px;
}

.hour-tick-label {
    font-size: 10px;
    color: #666;
    font-family: monospace;
}

/* Статистика и расчет */
.progress-bar-bg-сalculation {
    margin-bottom: 25px;
}

[id^="timerProgressBar-сalculation-"] {
    border-width: 2px;
    border-color: #e0e0e0;
    border-bottom-style: solid;
    font-size: 13px;
    color: #444;
    font-weight: 600;
    margin-bottom: 15px;
}

/* Поля параметров (Повторы, Громкость) */
.number1234 {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
}

.number1234 > div[class^="number_of_"] {
    display: flex;
    flex-direction: column;
    margin: 0;
    flex: 1 1 calc(50% - 10px); 
    box-sizing: border-box;
    min-width: 260px;
}

.number {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* .input_number {
    font-weight: 600;
    border: solid 2px #888888;
    outline: 0;
    padding: 8px 10px;
    font-size: 16px;
    letter-spacing: 0.08rem;
    background-color: white;
    border-radius: 7px;
    width: 70px;
    text-align: center;
    box-sizing: border-box;
} */

/* Мобильная адаптация */
@media screen and (max-width: 752px) {
    .menu-converter { 
        display: flex; 
        flex-direction: column; 
        gap: 8px; 
        margin: 0 0 15px 0;
    } 
    .menu-link-converter { 
        display: block; 
        text-align: center; 
        padding: 12px 20px; 
    } 
    div#selecthash {
        margin-bottom: 10px;
    }
    .number1234 {
        gap: 15px; 
    }
    .number1234 > div[class^="number_of_"] {
        flex: 1 1 100%;
        min-width: 100%;
    }
    .select {
        width: 100%;
        max-width: 100%;
    }
    .status-bar-all {
        margin-top: 15px;
        margin-bottom: 15px;
    }
    .hour-tick:nth-child(odd) .hour-tick-label {
        display: none;
    }
}