:root {
    --primary-color: #30E49D;
}
html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden; 
}
  
body {
    display: flex;
    background: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221674%22%20height%3D%22885%22%20viewBox%3D%220%200%201674%20885%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M0%200H1674V885H0V0Z%22%20fill%3D%22url%28%23paint0_linear_1625_11526%29%22%20fill-opacity%3D%220.25%22%2F%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22paint0_linear_1625_11526%22%20x1%3D%221674%22%20y1%3D%221.59813e-05%22%20x2%3D%221493.93%22%20y2%3D%221124.28%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%2330E49D%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22white%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3C%2Fsvg%3E') no-repeat center center;
    background-size: cover;
    width: 100%;
    height: 100vh;
    margin: 0;
}

.c-calculator-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex: 1 0 0;
    align-self: stretch;
}

.c-inputs-container {
    display: flex;
    width: 526px;
    height: 513px;
    padding: 30px;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    border-radius: 8px;
    background: #FFF;
    box-shadow: 0px 0px 5px 0px #DBDBDB;
}

@media (max-width: 768px) {
    body {
        background-size: cover;
        background-position: center;
        background-attachment: fixed;
        transform: translateY(100px);
        width: 100%;
        overflow-x: hidden; 
    }

    .c-inputs-container {
        width: 94%; 
        height: auto;
        padding: 15px;
        position: relative;
        padding-bottom: 250px;
    }
}

.c-next-button-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    align-self: stretch;
}

@media (max-width: 768px) {
    .c-next-button-container {
        transform: translateY(180px);
    }
}

.c-vertical-line {
    width: 534px;
    height: 1px;
    background: #30E49D;
}

.c-total-cost-container {
    display: flex;
    align-items: center;
    gap: 6px;
    background-color: #30E49D33;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .logo {
        transform: translateX(100%);
    }
}

.c-savings-container {
    display: flex;
    width: 594px;
    padding: 30px;
    flex-direction: column;
    align-self: flex-start;
    gap: 14px;
    align-self: stretch;
    border-radius: 8px;
    background: #FFF;
    box-shadow: 0px 0px 5px 0px #DBDBDB;
    height: 628px;
    overflow: auto;
}

@media (max-width: 768px) {
    .c-savings-container {
        width: 526px;
        height: 1100px;
        overflow: hidden;
        transform: translateY(3%);
    }
}

.c-savings-group {
    background-color: transparent;
    box-shadow: none;
}

.c-savings-label {
    color: #000;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    align-self: stretch;
}

.c-savings-number {
    color: #000;
    font-family: Poppins;
    font-size: 20px;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
}

.c-total-savings-label {
    color: #000;
    font-family: Poppins;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

@media (max-width: 768px) {
    .c-savings-label {
        font-size: 20px;
    }

    .c-total-savings-label {
        font-size: 20px;
    }
}

.c-total-savings-number {
    color: #000;
    font-family: Poppins;
    font-size: 24px;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
}

.c-per-text-label {
    color: #595959;
    font-family: Poppins;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    display: inline;
}

.c-savings-percentage-label {
    display: inline;
    padding: 3px 5px;
    align-items: center;
    gap: 4px;
    border-radius: 5px;
    background: rgba(48, 228, 157, 0.20);
    color: #000;
    font-family: Poppins;
    font-size: 11px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.c-savings-percentage-label::before {
    content: '';
}

.c-total-per-text-label {
    color: #595959;
    font-family: Poppins;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    display: inline;
}

h1 {
    color: var(--black-white-black, #000);
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
}

label {
    display: block;
    margin: 15px 0 5px;
    font-size: 1.1em;
    color: #555;
}

select {
    width: 100%;
    padding: 10px;
    font-size: 1em;
    border-radius: 4px;
    border: 1px solid #ccc;
    background-color: #f9f9f9;
    box-sizing: border-box;
}

select:focus {
    outline: none;
    border-color: #007bff;
    background-color: #eef7ff;
}

.c-form-container {
    margin-bottom: 20px;
}

.c-mmd-branding {
    display: flex;
    align-items: center;
    gap: 10px;
    position: absolute;
    left: 46px;
    top: 46px;
}

@media (max-width: 768px) {
    .c-mmd-branding {
        position: relative; 
        left: 0;
        top: 0;
        justify-content: flex-start;
        gap: 20px;
    }
}

.c-mmd-branding-text {
    color: var(--black-white-black, #000);
    text-align: center;
    font-family: Poppins;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

@media (max-width: 768px) {
    .c-mmd-branding-text {
        text-align: right;
        transform: translateY(-10px);
        transform: translateX(25px);
    }
}

.c-button-next {
    display: flex;
    padding: 12px 16px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 20px;
    background: #010912;
    color: #F5F5F5;
    font-family: Poppins;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
    cursor: grab;
}

.c-param-label {
    color: #000;
    font-family: Poppins;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
    flex: 1 0 0;
}

@media (max-width: 768px) {
    .c-param-label {
        margin-top: 40px;
        margin-bottom: 18PX;
        font-size: 20px;
    }
}

.c-select-param {
    display: flex;
    font-size: 12px;
    padding: 8px 10px;
    width: 520px;
    align-items: center;
    gap: 8px;
    flex: 1 0 0;
    border-radius: 4px;
    border: 1px solid #9E9E9E;
    background: #FFF;
    color: #9E9E9E;
    padding: 8px 30px 8px 8px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"%3E%3Cpath d="M5 7.5L10 12.5L15 7.5" stroke="%23313733" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/%3E%3C/svg%3E') no-repeat right 10px center;
}

@media (max-width: 768px) {
    .c-select-param {
        font-size: 18px;
    }
}

.c-metric-input {
    display: flex;
    padding: 8px 10px;
    align-items: center;
    gap: 8px;
    flex: 1 0 0;
    border-radius: 4px;
    border: 1px solid #9E9E9E;
    background: #FFF;
    width: 500px;
}

@media (max-width: 768px) {
    .c-metric-input {
        font-size: 18px;
    }
}

.c-metric-input::placeholder {
    color: #000;
    font-family: Poppins;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    flex: 1 0 0;
}

.c-option {
    color: #9E9E9E;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    flex: 1 0 0;
}

.c-button-calculate {
    display: flex;
    padding: 12px 16px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 20px;
    background: #30E49D;
    margin-left: auto;
    color: #313733;
    font-family: Poppins;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
    border: none;
    outline: none;
    transform: translateY(150%);
    cursor: grab;
}

@media (max-width: 768px) {
    .c-button-calculate {
        transform: translateY(-10%);
    }
}

.c-button-back {
    display: flex;
    padding: 12px 16px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 20px;
    background: #E1E2DD;
    color: #313733;
    font-family: Poppins;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
    border: none;
    outline: none;
    transform: translateY(250%);
    cursor: grab;
}

@media (max-width: 768px) {
    .c-button-back {
        transform: translateY(90%);
    }
}

.c-container-titles {
    color: #595959;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

@media (max-width: 768px) {
    .c-container-titles {
        font-size: 22px;
    }
}

.c-single-metric {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.c-comment-label {
    color: #595959; 
    font-family: Poppins; 
    font-size: 11px; 
    font-style: normal; 
    font-weight: 500; 
    line-height: normal; 
    flex: 1 0 0; 
    transform: translateY(-50%);
}

@media (max-width: 768px) {
    .c-comment-label {
        font-size: 14px;
    }
}

.c-single-metric-suffix {
    position: absolute;
    font-family: 'Poppins', sans-serif;
    right: 10px;
    color: #595959;
    font-size: 12px;
    pointer-events: none;
    /* Prevent the suffix from interfering with input */
    text-align: right;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
}

@media (max-width: 768px) {
    .c-single-metric-suffix {
        font-size: 18px;
    }
}

#id-dynamic-metrics {
    margin-top: 20px;
    padding-top: 10px;
    display: flex;
    flex-direction: column;
}

#id-metrics-contents {
    display: flex;
    width: 526px;
    height: 628px;
    padding: 30px;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    border-radius: 8px;
    background: #FFF;
    box-shadow: 0px 0px 5px 0px #DBDBDB;
}

@media (max-width: 768px) {
    #id-metrics-contents {
        height: 850px;
    }
}

#id-metrics-and-savings-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    align-self: stretch;
}

@media (max-width: 768px) {
    #id-metrics-and-savings-container {
        width: 100%;
        flex-direction: column;
        justify-content: normal;
        justify-content: flex-start; 
        padding-bottom: 50px; 
    }

    .c-calculator-container {
        display: block;
    }
}

#id-insert-metrics-values-title label {
    display: inline-block;
    align-items: center;
    justify-content: space-between;
    align-self: stretch;
}

#id-currency-title {
    color: #595959;
    text-align: right;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    transform: translateX(660%);
}

#id-total-saving {
    background: rgba(48, 228, 157, 0.20);
    display: inline-flex;
    align-items: center; 
    gap: 4px;
}

#total-cost-save {
    transform: translateY(5px);
}