/* стили для переключателя тем */
.theme-switcher {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px; /* эквивалент space-x-2 */
    background-color: #fff;
    padding: 4px; /* эквивалент p-1 */
    border-radius: 8px; /* эквивалент rounded-lg */
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); /* эквивалент shadow-sm */
    margin: 16px 0; /* эквивалент my-4 */
    z-index: 1000;
}
.theme-switcher label {
    display: flex;
    align-items: center;
    cursor: pointer;
}
.theme-switcher input[type="radio"] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0; /* эквивалент sr-only */
}
.theme-switcher span {
    padding: 4px 12px; /* эквивалент px-3 py-1 */
    font-size: 12px; /* эквивалент text-xs */
    font-weight: 500; /* эквивалент font-medium */
    color: #374151; /* эквивалент text-gray-700 */
    transition: background-color 0.15s ease, border-radius 0.15s ease; /* эквивалент transition */
}
.theme-switcher input:checked + span {
    background-color: #e5e7eb; /* эквивалент peer-checked:bg-gray-200 */
    border-radius: 6px; /* эквивалент peer-checked:rounded-md */
}