.section-warnings-sidebar {
    padding: 120px 0 0;
}

.warnings {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(0, 165, 154, 0.12);
    border-radius: 10px;
    overflow: hidden;
}

.warnings__title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 16px 20px;
    font-size: 16px;
    font-weight: 700;
    color: #00a59a;
    background-image: linear-gradient(to bottom, #e6eff9, #f9f8e7);
    border-bottom: 1px solid rgba(0, 165, 154, 0.18);
}

.warnings__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.warnings__list {
    display: flex;
    flex-direction: column;
}

.warning-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 16px 40px 16px 20px;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid rgba(0, 165, 154, 0.18);
    transition: background-color 0.2s ease;
    cursor: pointer;
}

.warning-item:last-child {
    border-bottom: none;
}

.warning-item:hover {
    background-color: rgba(0, 165, 154, 0.05);
}

.warning-item__badge {
    flex-shrink: 0;
    display: inline-block;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 2px;
    line-height: 1.4;
}

.warning-item__badge--important {
    background-color: #00a59a;
    color: #ffffff;
}

.warning-item__text {
    flex: 1;
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #333333;
}

.warning-item__arrow {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 34px;
    color: #00a59a;
    font-weight: 300;
    transition: color 0.2s ease;
}

.warning-item:hover .warning-item__arrow {
    color: #008f86;
}

.warning-modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.warning-modal-overlay--active {
    opacity: 1;
    visibility: visible;
}

.warning-modal {
    position: relative;
    background: #ffffff;
    border-radius: 8px;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.warning-modal-overlay--active .warning-modal {
    transform: translateY(0);
}

.warning-modal__header {
    position: relative;
    padding: 30px 60px 30px 30px;
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 165, 154, 0.2);
}

.warning-modal__title {
    font-size: 24px;
    font-weight: 700;
    color: #2f2320;
    margin-bottom: 10px;
    line-height: 1.4;
}

.warning-modal__date {
    font-size: 14px;
    color: #666666;
    font-weight: 400;
}

.warning-modal__close {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 40px;
    height: 40px;
    font-size: 30px;
    line-height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
    transition: color 0.3s;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.warning-modal__close:hover {
    color: #000;
}

.warning-modal__close-icon {
    font-style: normal;
}

.warning-modal__body {
    padding: 30px;
    overflow-y: auto;
    max-height: calc(80vh - 140px);
}

.warning-modal__content {
    font-size: 16px;
    line-height: 1.8;
    color: #333333;
}

.warning-modal__content p {
    margin-bottom: 16px;
}

.warning-modal__content p:last-child {
    margin-bottom: 0;
}

.toolkit__content[data-index]:not([data-index="0"]),
.toolkit__image[data-index]:not([data-index="0"]) {
    display: none;
}

.toolkit__content[data-index="0"],
.toolkit__image[data-index="0"] {
    display: block;
}

body.it-ch-page .section-calculator .calculator__control-value {
    color: #10b3a6;
}

body.it-ch-page .section-calculator {
    max-width: 1200px;
    margin: 120px auto;
    padding: 0 20px;
}

body.it-ch-page .section-calculator .calculator__body {
    gap: 36px;
    margin-bottom: 52px;
    align-items: start;
}

body.it-ch-page .section-calculator .calculator__controls {
    gap: 34px;
}

body.it-ch-page .section-calculator .calculator__range::-webkit-slider-track,
body.it-ch-page .section-calculator .calculator__range::-moz-range-track {
    background: rgba(16, 179, 166, 0.1);
}

body.it-ch-page .section-calculator .calculator__range::-webkit-slider-thumb {
    background: #10b3a6;
    box-shadow:
        0 0 0 4px rgba(16, 179, 166, 0.22),
        0 4px 12px rgba(16, 179, 166, 0.35);
}

body.it-ch-page .section-calculator .calculator__range::-moz-range-thumb {
    background: #10b3a6;
    box-shadow:
        0 0 0 4px rgba(16, 179, 166, 0.22),
        0 4px 12px rgba(16, 179, 166, 0.35);
}

body.it-ch-page .section-calculator .calculator__result {
    background-image: linear-gradient(to bottom, #e6eff9, #f9f8e7);
    border: 1px solid #d4e9e7;
    box-shadow: none;
}

body.it-ch-page .section-calculator .calculator__result:hover {
    transform: none;
    box-shadow: none;
}

body.it-ch-page .section-calculator .calculator__result-total,
body.it-ch-page .section-calculator .calculator__stat-value--accent {
    color: #10b3a6;
}

body.it-ch-page .section-calculator .calculator__stat {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid #d9efee;
    border-radius: 18px;
    padding: 26px 24px;
}

body.it-ch-page .section-calculator .calculator__stat:hover {
    background: rgba(255, 255, 255, 0.72);
    border-color: #d9efee;
    transform: none;
}

body.it-ch-page .section-calculator .calculator__button--zeongrow {
    min-width: 430px;
    max-width: 430px;
    padding: 18px 32px;
    background: #10b3a6;
    box-shadow: 0 10px 26px rgba(16, 179, 166, 0.28);
}

body.it-ch-page .section-calculator .calculator__button--zeongrow:hover {
    background: #0d9f95;
    box-shadow: 0 12px 28px rgba(16, 179, 166, 0.34);
}

@media (max-width: 768px) {
    .section-warnings-sidebar {
        padding-top: 20px;
    }

    .warnings__title {
        font-size: 15px;
        padding: 14px 16px;
    }

    .warning-item {
        padding: 14px 36px 14px 16px;
        gap: 8px;
    }

    .warning-item__text {
        font-size: 13px;
    }

    .warning-item__arrow {
        right: 12px;
        font-size: 28px;
    }

    .warning-modal-overlay {
        padding: 10px;
    }

    .warning-modal {
        max-height: 95vh;
    }

    .warning-modal__header {
        padding: 20px 50px 20px 20px;
    }

    .warning-modal__title {
        font-size: 20px;
    }

    .warning-modal__date {
        font-size: 13px;
    }

    .warning-modal__close {
        top: 15px;
        right: 15px;
        width: 36px;
        height: 36px;
    }

    .warning-modal__body {
        padding: 20px;
        max-height: 60vh;
    }

    .warning-modal__content {
        font-size: 15px;
    }

    body.it-ch-page .section-calculator .calculator__button--zeongrow {
        min-width: 0;
        max-width: 100%;
    }
}
