fieldset {
    border: none;
}
.calc-container {
    width: 100%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px
}

.calc-row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -12px;
    margin-right: -12px
}

.calc-col {
    padding-left: 12px;
    padding-right: 12px;
    width: 100%
}

.calc-col-12 {
    width: 100%
}

@media (min-width: 992px) {
    .calc-col-lg-4 {
        width: 33.333333%
    }
    .calc-col-lg-5 {
        width: 41.666667%
    }
    .calc-col-lg-6 {
        width: 50%
    }
    .calc-col-lg-2 {
        width: 16.666667%
    }
}

@media (min-width: 768px) {
    .calc-col-md-4 {
        width: 33.333333%
    }

    .calc-col-md-6 {
        width: 50%
    }
}

@media (min-width: 768px) {
    .calc-col-12.calc-col-md-6 {
        width: 50%
    }
}

.calc-nav-pills {
    display: flex;
    justify-content: space-between;
    list-style: none;
    margin-bottom: 24px;
    padding: 0;
    gap: 12px;
    flex-wrap: wrap
}

@media (max-width: 1290px) {
    .calc-nav-pills {
        justify-content: flex-start;

    }
}

.calc-nav-item {
    list-style: none
}

.calc-nav-link {
    display: inline-block;
    padding: 12px 24px;
    background-color: #fff;
    border: 2px solid rgb(253, 51, 44);
    border-radius: 8px;
    color: #212529;
    text-decoration: none;
    font-weight: 700;
    cursor: pointer;
    transition: all .3s ease
}

.calc-nav-link:hover {
    background-color: #f8f9fa;
    border-color: #2968b3
}

.calc-nav-link.calc-nav-active {
    background-color: #2968b3;
    border-color: #2968b3;
    color: #fff;
    font-weight: 700
}

.calc-tab-content {
    width: 100%
}

.calc-tab-pane {
    display: none
}

.calc-tab-pane.calc-tab-show {
    display: block
}

.cmc-header {
    text-align: center;
    margin-bottom: 32px
}

.cmc-header__title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #343a40
}

.cmc-header__subtitle {
    font-size: 18px;
    line-height: 1.7;
    color: #555;
    max-width: 800px;
    margin: 0 auto
}

.cmc-header__subtitle strong {
    color: #343a40;
    font-weight: 600
}

.cmc-section {
    margin-bottom: 32px
}

.cmc-section__title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 24px;
    color: #343a40
}

.cmc-item {
    margin-bottom: 24px;
    padding: 8px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px #0000000d;
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: space-between
}

.cmc-item__label {
    font-size: 13px;
    font-weight: 600;
    color: #343a40;
    display: block
}

.cmc-item__options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px
}

.cmc-option {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 2px solid #dee2e6;
    border-radius: 6px;
    padding: 0 8px;
    transition: all .2s ease;
    background: #fff;
    font-weight: 500;
    -webkit-user-select: none;
    user-select: none;
    min-width: 30px
}

.cmc-option:hover {
    border-color: #2968b3;
    background: #f0f8ff
}

.cmc-option__control {
    display: none
}

.cmc-option__control:checked+.cmc-option__text {
    color: #fff;
    background: #2968b3;
    border-radius: 6px;
    box-shadow: 0 0 0 2px #2968b366
}

.cmc-option__text {
    display: block;
    transition: all .2s ease
}

.cmc-option:has(.cmc-option__control:checked) {
    border-color: #2968b3;
    background: #2968b3
}

.cmc-option:has(.cmc-option__control:checked) .cmc-option__text {
    color: #fff
}

.cmc-totals {
    background-color: #fff;
    color: #212529;
    padding: 48px;
    border-radius: 8px;
    height: calc(100% - 24px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center
}

.cmc-totals__title {
    font-size: 16px;
    font-weight: 400
}

.cmc-total__value {
    font-size: 40px;
    font-weight: 700;
    margin: 0
}

.calc-card {
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px #00000014
}

.calc-card-body {
    padding: 24px
}

.calc-card-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #343a40
}

.calc-card-text {
    margin-bottom: 16px;
    color: #555
}

.calc-form-group {
    margin-bottom: 16px
}

.calc-form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #343a40
}

.calc-form-control {
    display: block;
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out
}

.calc-form-control:focus {
    border-color: #2968b3;
    outline: 0;
    box-shadow: 0 0 0 .2rem #2968b340
}

.calc-form-control::placeholder {
    color: #999
}

.calc-form-select {
    display: block;
    width: 100%;
    padding: 12px 48px 12px 16px;
    font-size: 1rem;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px 12px
}

.calc-form-select:focus {
    border-color: #2968b3;
    outline: 0;
    box-shadow: 0 0 0 .2rem #2968b340
}

textarea.calc-form-control {
    min-height: 100px;
    resize: vertical
}
.wrapper-text-section-value {
    font-size: 14px;
    color: #fd332c;
    text-transform: uppercase;
}

.calc-btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 6px;
    cursor: pointer;
    transition: all .15s ease-in-out
}

.calc-btn--primary {
    background-color: #2968b3;
    border-color: #2968b3;
    color: #fff
}
.calc-btn--underline {
    background: transparent;
    border: none !important;
    color: #000 !important;
    text-decoration: underline;
 }
  .calc-btn--underline:focus,
 .calc-btn--underline:hover {
    background: transparent !important;
        text-decoration: underline!important;

 }

.calc-btn--primary:hover {
    background-color: #fd332c;
    border-color: #fd332c
}

.calc-btn--secondary {
    background-color: #fd332c;
    border-color: #fd332c;
    color: #fff
}

.calc-btn--secondary:hover {
    background-color: #2968b3;
    border-color: #2968b3
}

.cmc-actions {
    display: flex;
    gap: 16px
}

.calc-mb-2 {
    margin-bottom: 8px
}

.calc-mb-3 {
    margin-bottom: 12px
}

.calc-mb-4 {
    margin-bottom: 16px
}

.calc-mb-5 {
    margin-bottom: 24px
}

.calc-mt-3 {
    margin-top: 12px
}

.calc-mt-4 {
    margin-top: 16px
}

.calc-h-100 {
    height: 100%
}

.calc-text-center {
    text-align: center
}

.calc-g-3 {
    display: flex;
    flex-wrap: wrap;
    margin-left: -12px;
    margin-right: -12px
}

.calc-g-3>* {
    padding-left: 12px;
    padding-right: 12px
}

@media (max-width: 768px) {
    .cmc-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px
    }
    .cmc-header__title {
        font-size: 32px
    }

    .cmc-header__subtitle {
        font-size: 16px
    }

    .cmc-totals {
        padding: 24px;
        margin-top: 24px
    }

    .cmc-actions {
        /* flex-direction: column */
        gap: 8px
    }

    .cmc-actions .calc-btn {
        /* width: 100% */
    }
}

@media (max-width: 767px) {
    .calc-nav-link {
        text-align: center
    }

    .calc-nav-pills {
        justify-content: center;
        border: #0069A9 1px solid;
        border-radius: 10px;
        padding: 10px 5px;
    }
    .cmc-item__label {
        font-size: 15px!important;
    }
}