

/* Start:/local/templates/delement/components/bitrix/news.list/calc-tarif-new/style.css?177909852217347*/
.subtitle {
    text-align: center;
    color: #7f8c8d;
    margin-bottom: 20px;
}
#calculatorForm {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
    gap: 20px;
}
.form-group {
    width: calc(50% - 10px);
    flex-basis: calc(50% - 10px);
    padding: 20px;
    background: #f9f9f9;
    border-radius: 5px;
}
#consumptionGroup,
#dayNightGroup,
#threeZoneGroup,
#typepu {
    width: 100%;
    flex-basis: 100%;
}
label {
    display: block;
    font-weight: bold;
    color: #36383C;
    line-height: 35.2px;
    /*margin-bottom: 18px;*/
    font-size: 19px;
}
select, input {
    width: 300px;
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 14px;
}
select:focus, input:focus {
    border-color: #3498db;
    outline: none;
}
.error-field {
    border-color: #e74c3c !important;
    background-color: #ffeaea;
}
.error-message {
    color: #e74c3c;
    font-size: 12px;
    margin-top: 5px;
}

.vid-block-summ {
    background: #5ac37d1c;
    padding: 10px;
    border-radius: 5px;
    margin-top: 15px;
    border-left: 4px solid #5ac37d;
}
/*button {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    display: block;
    margin: 25px auto;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0,0,0,0.15);
    background: linear-gradient(135deg, #2980b9, #3498db);
}
button:disabled {
    background: #95a5a6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}*/
.result {
    margin-top: 25px;
    padding: 20px;
    background: #5ac37d29 /*linear-gradient(135deg, #e8f4fc, #d1e7f7)*/;
    border-radius: 8px;
    border-left: 5px solid #5ac37d;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}
.result h3 {
    margin-top: 0;
    color: #2c3e50;
    border-bottom: 2px solid #5ac37d;
    padding-bottom: 10px;
}
.hidden {
    display: none;
}
.range-info {
    font-size: 14px;
    color: #7f8c8d;
    margin-top: 8px;
    padding: 8px;
    background: #e8f4fc;
    border-radius: 4px;
    border-left: 3px solid #3498db;
}
.note {
    font-size: 12px;
    color: #7f8c8d;
    margin-top: 20px;
    font-style: italic;
    text-align: center;
}
.range-details {
    background: #f8f9fa /*#d1e7f7*/;
    padding: 15px;
    border-radius: 6px;
    margin-top: 15px;
    border: 1px solid #c2c2c1 /*#b8d4f0*/;
}
.loading {
    text-align: center;
    padding: 40px;
    color: #7f8c8d;
    font-size: 18px;
}
.error {
    color: #e74c3c;
    text-align: center;
    padding: 20px;
    background: #ffeaea;
    border-radius: 5px;
    margin: 20px 0;
    border: 1px solid #f5c6cb;
}
.success {
    color: #27ae60;
    text-align: center;
    padding: 15px;
    background: #e8f7ef;
    border-radius: 5px;
    margin: 15px 0;
    border: 1px solid #c3e6cb;
}
.data-source-info {
    margin: 15px 0;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 5px;
    border-left: 3px solid #3498db;
}
.data-source-info div {
    margin: 5px 0;
    font-size: 14px;
    color: #555;
}
.data-loaded {
    color: #27ae60 !important;
    font-weight: bold;
}
.auto-calculation {
    background: #5ac37d29;
    padding: 10px;
    border-radius: 5px;
    margin: 10px 0;
    text-align: center;
    font-size: 19px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.form-group[style*="opacity: 0.5"] {
    transition: opacity 0.3s ease;
}

.form-group[style*="opacity: 0.5"] .radio-group {
    pointer-events: none;
}

.form-group[style*="opacity: 0.5"] label {
    cursor: not-allowed !important;
}
.checkbox-group {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 48px;
    /*margin-bottom: 8px;*/
}
.checkbox-group:nth-child(2) {margin-top: 5px;}
.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}
.checkbox-group label {
    display: inline-flex;
    align-items: center;
    margin-bottom: 0;
    font-weight: normal;
}
.checkbox-group .checkbox__input+.checkbox__emulator, .checkbox-group .checkbox__input:checked+.checkbox__emulator {
    border-color: #36383C;
    background-color: #fff;
    border-radius: 6px;
    width: 25px;
    height: 25px;
    justify-content: center;
    align-items: center;
}
.checkbox-group .checkbox:active .checkbox-group .checkbox__emulator, .checkbox-group .checkbox:hover .checkbox__emulator, .checkbox-group .checkbox__input:focus+.checkbox__emulator, .checkbox-group .radio:active .checkbox__emulator, .checkbox-group .radio:hover .checkbox__emulator, .checkbox-group .checkbox__input+.checkbox__emulator:hover {border-color: #36383C;}
.checkbox-group .checkbox__input:checked+.checkbox__emulator:after {
    content: " ";
    width: 17px;
    height: 17px;
    border-radius: 3px;
    background-color: #46A666;
}
.period-selector {
    background: #fff;
    padding: 15px;
    border: none;
}
.select-wrapper{
    position: relative;
    display: inline-block;
    width: 100%;
    margin-top: 18px;
}
.select-wrapper::after {
    content: "";
    position: absolute;
    transform: translateY(-50%);
    pointer-events: none;
    background-color: #EFEFEF;
    background-position: 50% 55%;
    width: 22px;
    height: 22px;
    border-radius: 3px;
    margin: 29px 18px 18px 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-image: url(/local/templates/delement/frontend/assets/icons/icon-arrow-select.svg);
    background-size: 11px 7px;
    background-repeat: no-repeat;
}
.select-wrapper.active::after {
    transform: rotate(180deg);
    margin: 18px 18px 29px 0;
}
.select-wrapper select {
    width: 100%;
    height: 58px;
    border: 1px solid #36383C;
    border-radius: 6px;
    padding: 18px 40px 18px 18px;
    color: #36383c;
    background-color: #fff;
    line-height: 1;
}

.season-warning {
    background: #fff3cd;
    color: #856404;
    padding: 10px;
    border-radius: 5px;
    margin: 10px 0;
    border: 1px solid #ffeaa7;
    font-size: 14px;
}
.tariff-indicator {
    transition: all 0.3s ease;
    width: 100%;
    flex-basis: 100%;
}
.tariff-indicator:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.debug-info {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 5px;
    margin: 10px 0;
    font-size: 12px;
    color: #6c757d;
}

.radio-group {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    /*margin-bottom: 8px;*/
    margin-top: 5px;
    flex-direction: column;
}

.radio-group .radio-group {margin: 0;}

.radio-group input[type="radio"] {
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

.radio-group label {
    display: inline;
    margin-bottom: 0;
    font-weight: normal;
    cursor: pointer;
}

.radio-group label.radio {
    display: inline-flex;
    align-items: center;
}

.radio-group .radio__emulator {
    margin-right: 10px;
    width: 25px;
    height: 25px;
    border: 1px solid #36383C !important;
}

.radio-group .radio__emulator:before {
    content: "";
    width: 17px;
    height: 17px;
}

.radio-group input:checked+.radio__emulator:before {
    transform: scale(1);
}

.calc-sect {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
}

.calc-sect .calc-form {
    width: calc(60% - 10px);
    flex-basis: calc(60% - 10px);
}

.calc-sect .calc-result {
    width: calc(40% - 10px);
    flex-basis: calc(40% - 10px);
    position: relative;
}

.calc-sect .calc-result .result {
    position: -webkit-sticky;
    position: sticky;
    top: 20px;
}

.calc-sect .calc-note {
    width: 100%;
    flex-basis: 100%;
}

.form-group .form-input {
    border: 1px solid #36383C;
    color: #36383C;
    font-size: 18px;
    line-height: 21.97px;
    border-radius: 6px;
    padding: 18px;
}

.form-group .form-input:focus, .form-group .form-input:hover {border: 1px solid #36383C;}

#consumptionGroup label, #dayNightGroup label, #threeZoneGroup label {margin-bottom: 18px;}

#dayNightGroup.form-group .form-group2 {
    display: flex;
    gap: 10px;
    align-items: center;
}

#dayNightGroup.form-group .form-group2 .form-item-input {
    width: calc(50% - 18px);
    flex-basis: calc(50% - 18px);
}

#dayNightGroup.form-group .form-group2 .calc-ar-left {margin-top: 20px;}

#threeZoneGroup.form-group .form-group3 {
    display: flex;
    gap: 15px;
    align-items: center;
}

#threeZoneGroup.form-group .form-group3 .form-item-input {
    width: calc(33.34% - 10px);
    flex-basis: calc(33.34% - 10px);
}

.calc-sect .calc-icon {width: 23px;}

.calc-sect .auto-calculation .calc-icon, .calc-sect #reloadBtn .calc-icon {width: 15px;}

#reloadBtn {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #a5a7a5;
}

#reloadBtn br {display: none;}

/*Таблицы тарифов*/

/* Стили для табов листов */
.sheets-tabs {
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid #ddd;
    overflow-x: auto;
    overflow-y: hidden;
}
.sheet-tab {
    cursor: pointer;
    text-decoration: none;
    font-weight: 700;
    line-height: 1.44;
    border-bottom: 3px solid transparent;
    padding: 7px 0;
    outline: none;
    display: inline-flex;
    align-items: center;
    max-width: 50%;
    flex: 0 0 auto;
    transition: .06s;
    margin: 0;
    background-color: transparent;
    box-shadow: none;
}

.sheet-tab:not(:last-child) {
    margin-right: 40px;
}
.sheet-tab:hover, .sheet-tab:focus {
    text-decoration: none;
    color: #46a666;
}
.sheet-tab:first-child {padding-left: 20px;}
.sheet-tab.active {
    cursor: default;
    color: #5ac37d;
    border-bottom-color: currentColor;
}

.table-tabs-content {
    position: relative;
    margin-top: 25px;
}

.table-tab-content {
    display: none;
    width: 100%;
    transform-origin: left;
}

.table-tab-content.active {
    display: block;
    animation: showTab .6s;
    scroll-margin: 100px;
}

/* Стили таблиц */
.excel-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 8pt;
    background-color: #fff;
}
.excel-table th,
.excel-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}
.excel-table th {
    background-color: #f8f9fa;
}

.excel-table b {font-size: 8pt;}

/* Скрытые контейнеры для контента */
.table-content {
    display: none;
    width: 100%;
    transform-origin: left;
    margin-top: 25px;
}
.table-content.active {
    display: block;
    animation: showTab .6s;
    scroll-margin: 100px;
    overflow-x: scroll;
}


/* Стили для верхних табов */
.table-sheets-tabs {
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid #ddd;
    overflow-x: auto;
    overflow-y: hidden;
}

.table-sheet-tab {
    cursor: pointer;
    text-decoration: none;
    font-weight: 700;
    line-height: 1.44;
    border-bottom: 3px solid transparent;
    padding: 7px 0;
    outline: none;
    display: inline-flex;
    align-items: center;
    max-width: 50%;
    flex: 0 0 auto;
    transition: .06s;
    margin: 0;
    background-color: transparent;
    box-shadow: none;
}

.table-sheet-tab:not(:last-child) {
    margin-right: 40px;
}

.table-sheet-tab:hover, .table-sheet-tab:focus {
    text-decoration: none;
    color: #46a666;
}

.table-sheet-tab.active {
    cursor: default;
    color: #5ac37d;
    border-bottom-color: currentColor;
}

.table-tabs-content {
    position: relative;
    margin-top: 25px;
}

.table-tab-content {
    display: none;
    width: 100%;
    transform-origin: left;
}

.table-tab-content.active {
    display: block;
    animation: showTab .6s;
    scroll-margin: 100px;
}

.btn.btn-open-res-column, .btn.btn-open-calc-column {display: none;}

.label-season-box {
    display: flex;
    align-items: center;
}

.label-season-box .form-block__tip {
    line-height: 0;
    margin-left: 8px;
}

.label-season-box .form-block__tip .tip {
    width: 20px;
    height: 20px;
}

.period-selector .select-wrapper {
    margin-top: -9px;
}

.period-selector .select-wrapper::after {
    content: none;
}

#periodSelect {
    opacity: 0;
    padding: 0;
    height: 0;
}

.period-btn {
    border: 1px solid #36383C;
    color: #36383C;
    font-size: 18px;
    line-height: 21.97px;
    border-radius: 6px;
    padding: 18px;
    width: 100%;
    height: 58px;
}

.period-btn:hover {cursor: pointer;}

@media only screen and (max-width: 1024px) {

    #calculatorForm {flex-direction: column;}

    #calculatorForm .form-group {
        width: 100%;
        flex-basis: 100%;
    }

    #calculatorForm .form-group.form-group-checkbox,
    #calculatorForm .form-group.form-group-radio {
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        gap: 10px 20px;
        align-items: center;
    }

    #calculatorForm .form-group.form-group-radio .radio-group {
        flex-direction: row;
        gap: 20px;
    }

    #calculatorForm .form-group.form-group-checkbox .form-group-checkbox-label,
    #calculatorForm .form-group.form-group-radio .form-group-radio-label {
        width: 100%;
    }

    #calculatorForm .form-group.form-group-checkbox .checkbox-group:nth-child(2) {margin-top: 0;}

    .note {text-align: left;}

    .auto-calculation {font-size: 14px;}

}

@media only screen and (max-width: 768px) {

    .calc-sect .calc-form,
    .calc-sect .calc-result {
        width: calc(50% - 10px);
        flex-basis: calc(50% - 10px);
    }

}

@media only screen and (max-width: 600px) {

    .calc-sect {position: relative;}

    .calc-sect .calc-form,
    .calc-sect .calc-result {
        width: 100%;
        flex-basis: 100%;
    }

    .calc-sect .calc-result {display: none;}

    .btn.btn-open-res-column,
    .btn.btn-open-calc-column {
        display: flex;
        position: sticky;
        width: 60%;
        top: 10px;
        z-index: 10;
      /*  box-shadow: 0 2px 25px rgba(0,0,0,.3);*/
        margin: 0 auto;
    }

    .btn.btn-open-res-column:focus,
    .btn.btn-open-calc-column:focus {
        background-color: #5ac37d;
    }

    .btn.btn-open-res-column img,
    .btn.btn-open-calc-column img {
        margin-right: 10px;
    }

    .calc-sect .btn.btn-open-res-column .calc-icon,
    .calc-sect .btn.btn-open-calc-column .calc-icon {width: 30px;}

    .btn.btn-open-res-column.btn-open-res-column-attention {
        animation: simple-blink 0.8s ease-in-out, shadow-pulse 3s ease-in-out forwards;
    }

    @keyframes shadow-pulse {
        0%, 33.33%, 66.66% {
            box-shadow:
                    0 0 10px 8px rgba(255, 179, 0, 0.3),
                    0 0 20px 15px rgba(255, 179, 0, 0.2),
                    0 0 40px 20px rgba(255, 179, 0, 0.1);
        }
        16.66%, 50%, 83.33% {
            box-shadow:
                    0 0 20px 15px rgba(255, 179, 0, 0.4),
                    0 0 40px 25px rgba(255, 179, 0, 0.2),
                    0 0 60px 35px rgba(255, 179, 0, 0.1);
        }
        100% {
            box-shadow: none;
        }
    }

    #table-tarify .sheets-tabs {
        border-bottom: none;
        flex-direction: column;
    }

    #table-tarify .sheets-tabs .sheet-tab {
        max-width: 100%;
        margin-right: 0;
        border: 1px solid #ddd;
        border-radius: 5px;
        padding: 7px 7px 5px;
        text-align: center;
        justify-content: center;
    }

    #table-tarify .sheets-tabs .sheet-tab:not(:first-child) {margin-top: 10px;}

    #table-tarify .sheets-tabs .sheet-tab.active {
        color: #5ac37d;
        border: 1px solid currentColor;
    }
}

@media only screen and (max-width: 448px) {

}

@media only screen and (max-width: 425px) {

}

@media only screen and (max-width: 375px) {

    #reloadBtn {font-size: 16px;}

    #table-tarify .details__title {font-size: 15px;}

    #table-tarify .sheets-tabs .sheet-tab {font-size: 15px;}

    #tippy-1 {width: 250px;}

}

@media only screen and (max-width: 370px) {

    #tippy-1 {width: 240px;}

}

@media only screen and (max-width: 360px) {

    #consumptionGroup label, #dayNightGroup label, #threeZoneGroup label {line-height: 24px;}

    #table-tarify .details__img {margin-right: 10px;}

    #tippy-1 {width: 230px;}

}

@media only screen and (max-width: 320px) {

    .btn.btn-open-res-column, .btn.btn-open-calc-column {width: 70%;}

    #reloadBtn {
        font-size: 15px;
        width: 100%;
        line-height: 15px;
        text-align: left;
        height: 45px;
    }

    #reloadBtn br {display: inline;}

    .calc-sect #reloadBtn .calc-icon {width: 25px;}

    .period-selector label {line-height: 24px;}

    .select-wrapper select#housingType {font-size: 15px;}

    #threeZoneGroup .form-group3 .form-item-input div {font-size: 14px;}

    #table-tarify .details__title {
        font-size: 12px;
        margin-right: 10px;
    }

    #table-tarify .sheets-tabs .sheet-tab {font-size: 12px;}

    #tippy-1 {width: 190px;}

}
/* End */
/* /local/templates/delement/components/bitrix/news.list/calc-tarif-new/style.css?177909852217347 */
