html {
    box-sizing: border-box;
    background: #F5F6FA 0% 0% no-repeat padding-box;
}

*,
*:before,
*:after {
    box-sizing: inherit;
    margin: 0;
    padding: 0;
}

body { position: relative; }

.btn-menu {
    position: absolute;
    top: 20px;
    left: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    font-family: 'Roboto', serif;
    text-transform: uppercase;
    font-size: 10px;
    font-weight: 900;
    border-radius: 30px;
    box-shadow: 0 3pt 6pt #00000029;
    border: none;
    outline: none;
    background-color: #fff;
    color: #00000099;
    cursor: pointer;
}

.nav-menu {
    position: absolute;
    left: -100%;
    top: 0;
    bottom: 0;
    right: 100%;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 100px;
    padding: 40px;
    padding-left: 80px;
    background: #1D3E82;
    transition: all .5s ease;
}
.nav__menu--active {
    left: 0;
    right: 0;
}
.nav-menu ul {
    width: 100%;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 50px;
}
.nav-menu ul li {
    width: 40%;
    padding-bottom: 5px;
    border-bottom: 1px solid #fff;
}

.close-menu {
    width: 50px;
    height: 50px;
    outline: none;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: pointer;
}

.menu__item {
    font-family: "Roboto",serif;
    font-size: 30px;
    font-weight: 700;
    text-decoration: none;
    color: #fff;
}

main {
    padding-bottom: 96px;
}

.header-container {
    display: flex;
    padding: 60px 0 30px 130px;
    align-items: center;
    gap: 114px;
}

.logo-title-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo {
    width: 162px;
    height: 162px;
}

.logo-title-container h1 {
    width: 290px;
    text-align: left;
    font: normal normal 900 41px Roboto;
    letter-spacing: 0px;
    color: #707070;
}

.form-section {
    display: flex;
    gap: 85px;
}

.form-fields {
    display: flex;
    flex-direction: column;
    gap: 4px;
    justify-content: center;
}

.form-fields input {
    width: 662px;
    padding-left: 18px;
    text-align: left;
    font: normal normal normal 20px/27px Segoe UI;
    letter-spacing: 0px;
    color: #222;
}

.system-info {
    height: max-content;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.input-unit input {
    width: 151px;
    padding-right: 16px;
    text-align: right;
    text-decoration: underline;
    font: italic normal normal 18px/22px Roboto;
    letter-spacing: 0px;
    color: #FF0000;

}

#system-size {
    margin: 0 15px 0 18px;
}

#ppw {
    margin: 0 23px 0 85px;
}

.field-group {
    display: flex;
    align-items: center;
}

.field-group label,
.input-unit span {
    text-align: left;
    font: normal normal 300 21px/25px Roboto;
    letter-spacing: 0px;
    color: #707070;
}

.form-fields input,
.input-unit input {
    height: 32px;
    background: #FFFFFF 0% 0% no-repeat padding-box;
    box-shadow: 2px 7px 27px #363E9329;
    border-radius: 16px;
    border: none;
    outline: none;
}

.body-container {
    padding-left: 132px;
    display: flex;
    gap: 89px;
}

.body-container-left {
    width: 722px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.finance-option-container {
    width: 100%;
    display: flex;
    gap: 53px;
    align-items: flex-end;
    justify-content: space-between;
}

.finance-option-left {
    width: 539px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

h2 {
    margin-left: 31px;
    text-align: left;
    font: normal normal 300 27px/33px Roboto;
    letter-spacing: 0px;
    color: #707070;
}

.dropdown-container {
    display: flex;
    position: relative;
    width: 100%;
    height: 55px;
}

.finance-select {
    display: flex;
    width: 100%;
    padding: 0 120px 0 63px;
    appearance: none;
    outline: none;
    border: none;
    background: #FFFFFF 0% 0% no-repeat padding-box;
    box-shadow: 2px 7px 27px #363E9329;
    border-radius: 28px;
    cursor: pointer;
    text-align: left;
    font: normal normal normal 21px / 25px Roboto;
    letter-spacing: 0px;
    color: #000000;
    align-items: center;
}

.dropdown {
    width: 29px;
    position: absolute;
    right: 32px;
    top: 50%;
    transform: translateY(-50%);
    padding-left: 15px;
    border-left: 1px solid #ccc;
}

.dropdown-icon {
    width: 14px;
    height: 7px;
}

.finance-select:focus {
    border-color: #aaa;
    background-color: #ffffff;
}

.finance-option-right {
    display: flex;
    align-items: center;
}

.toggle-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.9rem;
    color: #888;
}

.toggle-container span {
    text-align: left;
    font: normal normal 300 16px Roboto;
    letter-spacing: 0px;
    color: #707070;
}

.toggle-switch {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: relative;
    display: inline-block;
    width: 75px;
    height: 33px;
    background-color: #ccc;
    border-radius: 50px;
    cursor: pointer;
}

.slider:before {
    content: "";
    position: absolute;
    width: 25px;
    height: 25px;
    background-color: #ffffff;
    border-radius: 50%;
    top: 4px;
    left: 3px;
    transition: all 0.3s ease;
}

.toggle-switch:checked+.slider {
    background-color: #BFD4FF;
}

.toggle-switch:checked+.slider:before {
    transform: translateX(43.5px);
    background-color: #1D3E82;
}

.adders-container {
    width: 100%;
    height: 539px;
    padding: 30px 40px 30px 60px;
    font-family: Roboto;
    margin-top: 15px;
    background: #FFFFFF 0% 0% no-repeat padding-box;
    box-shadow: 2px 7px 27px #363E9329;
    border-radius: 24px;
}

.body-container-right h2 {
    margin-left: 0;
}

div[style*="overflow-y: scroll"]::-webkit-scrollbar,
.rows::-webkit-scrollbar {
    width: 8px;
}

div[style*="overflow-y: scroll"]::-webkit-scrollbar-track {
    background: #fff;
    border-radius: 4px;
}

div[style*="overflow-y: scroll"]::-webkit-scrollbar-thumb,
.rows::-webkit-scrollbar-thumb {
    background: #DEDEDE;
    border-radius: 4px;
}

div[style*="overflow-y: scroll"]::-webkit-scrollbar-thumb:hover,
.rows::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

h3 {
    font-weight: normal;
    letter-spacing: .5px;
    margin: 10px 0;
}

.adder-category ul {
    width: 80%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-left: 20px;
    list-style: none;
    font-size: 15px;
}

.adder-category ul li {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: space-between;
    color: #222;
}

.adder-category ul div:first-child {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
}

.adder-category-details {
    align-items: flex-start;
}

.adder-category-checkbox {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.adder-category ul label {
    cursor: pointer;
}

.adder-category .dropdown-container {
    width: max-content;
}

.adder-category .dropdown {
    height: 20px;
    right: 15px;
}

.adder-category-select {
    width: 200px;
    height: 50px;
    padding: 0px 60px 0px 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    color: #333;
    appearance: none;
    outline: none;
    cursor: pointer;
}

.category-input-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start !important;
    gap: 10px;
    margin-top: 10px;
}

.category-input-container label {
    font-size: 12px;
    color: #666;
}

.adder-category-input {
    width: 200px;
    padding-bottom: 5px;
    border: none;
    outline: none;
    border-bottom: 2px solid #ddd;
}


.system-pricing-container {
    width: 767px;
    height: 667px;
    position: relative;
    margin-top: 12px;
    margin-left: 53px;
    padding: 30px 43px 42px;
    background: #1D3E82 0% 0% no-repeat padding-box;
    box-shadow: 2px 7px 27px #363E9329;
    border-radius: 36px;
}

.export-icon-btn {
    position: absolute;
    top: 18px;
    right: 28px;
    width: 42px;
    height: 43px;
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
}

.export-icon-btn img {
    width: 100%;
}

.container {
    max-width: 680px;
    font-family: "Roboto";
}

.header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.title {
    font-size: 25px;
    flex: 2;
}

.column-titles {
    display: flex;
    width: 255px;
    padding-right: 75px;
    font-size: 18px;
    justify-content: space-between;
}

.title,
.column-titles,
.automatic-adders .price-title {
    color: #F39D15;
    font-weight: 400;
}

.column-titles div {
    text-align: right;
}

.rows-container {
    height: 150px;
    border: 1px solid #F39D15;
    border-radius: 18px;
    padding: 20px 15px 20px 30px;
}

.rows {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-right: 50px;
    overflow-y: scroll;
}

.row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 5px;
    font-size: 16px;
    color: #fff;
    font-weight: 100;
}

.item {
    flex: 2;
    text-align: left;
}

.price,
.ppw {
    flex: 1;
    text-align: right;
}

.rows::-webkit-scrollbar-track {
    background-color: #1D3E82;
}

.manual-adders {
    margin: 18px 0 26px;
}

.automatic-adders .title {
    flex: 5;
}

.automatic-adders div {
    flex: 1;
}

.umbrella-row {
    position: relative;
}

.umbrella-row button {
    width: 15px;
    height: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: -50px;
    border-radius: 50%;
    border: none;
    outline: none;
    cursor: pointer;
}

.gppwo-container {
    display: flex;
    align-items: center;
    padding: 0 217px 0 153px;
    justify-content: space-between;
}

.gppwo-title,
.gppwo-price {
    display: inline-block;
    font: normal normal 300 18px/22px Roboto;
    text-align: left;
    color: #fff;
    font-weight: 100;
}

.gppwo-title {
    width: 137px;
    height: 44px;
}

.gppwo-price {
    width: 49px;
    height: 22px;
}

.rowsManualAdders {
    height: 200px;
}

.results-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    padding: 30px 27px 0 84px;
    border-top: 1px solid #F39D15;
}

.result-tpc-container,
.result-ppw-container {
    font: normal normal normal 21px/25px Roboto;
    color: #fff;
}

.result-tpc-container span,
.result-ppw-container span {
    font: normal normal 900 35px/42px Roboto;
    margin-top: 11px;
    color: #F39D15;
}

.result-ppw-container {
    width: 199px;
    text-align: right;
}

.result-tpc-container {
    width: 182px;
    text-align: right;
}

/* Base responsive styles */
@media screen and (max-width: 768px) {
    .btn-menu {
        top: 15px;
        left: 15px;
        gap: 10px;
    }
    .nav-menu {
        padding-left: 40px;
    }
    .nav-menu ul li {
        width: 100%;
    }

    .header-container {
        flex-direction: column;
        align-items: center;
        padding: 20px;
        gap: 20px;
    }

    .logo-title-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }

    .logo {
        width: 100px;
        height: 100px;
    }

    .logo-title-container h1 {
        font-size: 24px;
        width: auto;
    }

    .form-section {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .form-fields input {
        width: 100%;
        font-size: 18px;
    }

    .input-unit input {
        width: 100px;
        text-align: center;
        font-size: 16px;
        margin-left: 0 !important;
    }

    .field-group {
        align-items: flex-start;
        gap: 10px;
    }

    .field-group label {
        width: 100px;
    }

    .body-container {
        flex-direction: column;
        padding: 20px;
        gap: 30px;
    }

    .body-container-left,
    .finance-option-container,
    .finance-option-left {
        width: 100%;
    }

    .finance-option-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .finance-select {
        padding: 0 20px;
        font-size: 18px;
    }

    .system-pricing-container {
        width: 100%;
        height: max-content;
        margin-left: 0;
        padding: 20px;
        padding-top: 70px;
        border-radius: 16px;
    }

    .automatic-adders div {
        flex: 2;
    }

    .column-titles {
        width: 175px;
    }

    .system-pricing-container h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .system-pricing-container ul {
        padding: 0;
        margin: 0;
        list-style-type: none;
        gap: 10px;
    }

    .system-pricing-container ul li {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px;
        background-color: #ffffff;
        border-radius: 8px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    }

    .system-pricing-container ul li span {
        font-size: 16px;
    }

    .system-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding: 20px;
        text-align: left;
    }

    .system-info h2 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .system-info p {
        font-size: 16px;
        line-height: 1.4;
    }

    .adders-container {
        padding: 20px;
    }

    .rows-container {
        padding: 10px;
    }

    .results-container {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }

    .gppwo-container {
        justify-content: space-evenly;
        gap: 15px;
        padding: 10px;
    }

    .toggle-container span {
        font-size: 14px;
    }

    .slider {
        width: 70px;
        height: 28px;
    }

    .slider:before {
        width: 20px;
        height: 20px;
    }

    .adder-category ul {
        width: 100%;
        gap: 10px;
    }

    .adder-category ul li {
        gap: 10px;
    }

    .adder-category-select {
        width: 100%;
        height: 40px;
    }

    .category-input-container {
        align-items: stretch;
    }

    .adder-category-input {
        width: 100%;
    }

    #ppw {
        margin-left: 69px;
    }
}