/* Univerzální styly s prefixem omcalc_ a nastavením fontu Oxygen */
body, .omcalc-container {
    font-family: Oxygen, sans-serif;
}

.omcalc-container {
    max-width: 600px;
    margin: 20px auto;
    padding: 10px;
    background: #f0f0f0;  /* světle šedé pozadí kontejneru */
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

/* Každý formulářový blok má bílé (s mírnou průhledností) pozadí a bílý oddělující proužek */
.omcalc-field {
    background: rgba(255, 255, 255, 0.9);
    padding: 15px;
    margin-bottom: 5px;
    border-bottom: 2px solid #fff;
    border-radius: 8px;
}

.omcalc-field label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 18px; /* výraznější font u všech labelů */
}

/* Vstupní pole */
.omcalc-field input[type="number"],
.omcalc-field select,
.omcalc-field input[type="range"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 16px;
}

/* Custom range slider – gradient od žluté po tmavě oranžovou a zvýrazněná výška */
input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 12px;
    background: linear-gradient(to right, #FFD700, #FF8C00);
    border-radius: 6px;
    outline: none;
    margin: 10px 0;
}
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    background: #fff;
    border: 2px solid #ccc;
    border-radius: 50%;
    cursor: pointer;
}
input[type="range"]::-moz-range-thumb {
    width: 24px;
    height: 24px;
    background: #fff;
    border: 2px solid #ccc;
    border-radius: 50%;
    cursor: pointer;
}

/* Výsledek – větší font */
#chimney_result {
    font-size: 28px;
    font-weight: bold;
    text-align: right;
}

/* Styly pro toggle přepínače s garantovaným prostorem pro přepínač */
.omcalc-toggle-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.omcalc-toggle-label {
    font-size: 18px;
    flex: 1;
    margin-right: 10px;
    /* Vertikální centrování (line-height shodný s výškou toggle) */
    line-height: 24px;
}
.omcalc-toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    flex-shrink: 0;
}
.omcalc-toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.omcalc-slider-toggle {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}
.omcalc-slider-toggle:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}
/* Aktivní toggle nyní oranžový (#FFB200) */
.omcalc-toggle-switch input:checked + .omcalc-slider-toggle {
    background-color: #FFB200;
}
.omcalc-toggle-switch input:checked + .omcalc-slider-toggle:before {
    transform: translateX(26px);
}

/* Custom select styling – dlaždice s textem a SVG ikonami */
.omcalc-select-field {
    background: rgba(255, 255, 255, 0.9);
    padding: 15px;
    border-bottom: 2px solid #fff;
}
.omcalc-select-container {
    display: flex;
    gap: 10px;
}
.omcalc-select-tile {
    flex: 1;
    background: #e0e0e0;
    padding: 10px;
    text-align: center;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.omcalc-select-tile.active {
    background: #FFB200;  /* středně oranžová – stejná jako aktivní toggle */
    color: #fff;
}
.omcalc-select-tile .omcalc-icon {
    margin-bottom: 5px;
}

/* Univerzální styly převzaté z pluginu Cost Calculator (s prefixem omcalc_) */
.omcalc-clearfix::after {
    content: "";
    display: block;
    clear: both;
}

.page-margin-top { margin-top: 50px; }
.page-margin-top-section { margin-top: 100px; }
.margin-top-10 { margin-top: 10px; }
.margin-top-20 { margin-top: 20px; }
.margin-top-30 { margin-top: 30px; }
.margin-top-40 { margin-top: 40px; }
.margin-top-60 { margin-top: 60px; }
.margin-bottom-6 { margin-bottom: 6px; }
.margin-bottom-20 { margin-bottom: 20px; }
.omcalc-align-center { text-align: center; }
