.Calc {
    background-color: #ffffff;
  
    padding: 25px;
    border-radius: 4px;
    max-width: 100%; /* Allow the form to use full width */
    margin: 0 auto;
}

.Calc__header {
    font-size: 24px;
    font-weight: 600;
    color: #000;
    margin: 0 0 20px;
    font-family: Roboto, sans-serif;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
}

.Calc__row-group {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px; /* Space between inputs */
}

.Calc__row {
    display: flex;
    flex-direction: column;
    flex: 1; /* Make all rows occupy equal space */
    min-width: 150px; /* Set a minimum width to avoid shrinking too much */
}

.Calc__label-item {
    font-size: 15px;
    color: #32424b;
    padding-bottom: 5px;
    line-height: 1.5;
    font-weight: 400;
}

.Calc__select,
.uvocalc--pages__buttons {
    width: 100%; /* Ensure all inputs and buttons have the same width */
    border-radius: 2px;
    height: 30px;
    background-color: #fff;
    position: relative;
}

.Calc__select select {
    color: #383838;
    cursor: pointer;
    width: 100%;
    height: 100%;
    padding: 5px 10px;
    border: 1px solid #c5c5c5;
    background: none;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    appearance: none;
}

.Calc__select select:hover {
    border-color: #a1a1a1;
}

.Calc__label-item-words {
    font-weight: 400;
    font-size: 14px;
    color: #4a4955;
    margin-left: auto;
}

.uvocalc--pages__buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
    border-radius: 5px;
    border: 1px solid #c5c5c5;
    padding: 0; /* Remove padding to match select inputs */
    height: 40px; /* Match the height with select inputs */
}

.uvocalc--pages__buttons button {
    width: 38px;
    height: 100%; /* Ensure buttons fill the full height */
    background-color: transparent;
    border: none;
    cursor: pointer;
    font-size: 18px;
}

.uvocalc--pages__buttons input[type=text] {
    font-size: 15px;
    color: #000;
    width: calc(100% - 76px); /* Adjust width to match other inputs */
    text-align: center;
    border: none;
    background-color: transparent;
    height: 100%; /* Ensure input fills the full height */
}

.Calc__total {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1; /* Allow it to take up equal space in the row */
    min-width: 150px; /* Set a minimum width */
}

.price-label {
    font-weight: 600;
    font-size: 15px;
    color: #000;
}

.price-value {
    font-family: Poppins, sans-serif;
    font-weight: 600;
    color: #000;
    line-height: 25px;
    font-size: 35px;
    letter-spacing: .444444px;
    vertical-align: middle;
}

.Calc__submit {
    flex: 1; /* Allow the button to take up equal space */
    min-width: 150px; /* Set a minimum width */
    text-align: center;
}

.Calc__submit input {
    padding: 13px 15px;
    width: 100%;
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    background: #008C8C;
    border: 1px solid #008C8C;
    text-transform: uppercase;
    color: #fff;
    transition: background-color .3s ease;
}

.Calc__submit input:hover {
    background: #1c819e;
    border-color: #1c819e;
}
