* {
    font-family: 'Roboto',Arial,sans-serif;
}

#Name-error, #grassType-error {
    display: block;
    background: #fff;
    color: red;
    padding: 15px;
    margin-top: -8px;
    -webkit-border-bottom-right-radius: 10px;
    -webkit-border-bottom-left-radius: 10px;
    -moz-border-radius-bottomright: 10px;
    -moz-border-radius-bottomleft: 10px;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
}

#Phone-error {
    display: flex;
    width: 100%;
    color: red;
    padding: 7px 0px;
    align-self: center;
}



/* Calculator */

#calculator { padding: 0px 0 135px 0 !important; background: #fff8dc66; }
#calculator #calculator-info { background: #fff; border-radius: 10px; margin: 40px auto 60px; padding: 30px; border: 1px solid #cfccc1; }

#calculator #calculator-info ul { line-height: 1.5em; margin-bottom: 1em; }
#calculator #calculator-info ul li::marker { color: #008000; font-size: 1.25em; }

#calculator #calculator-info p { line-height: 1.5em; margin-bottom: 1.33em; }
#calculator #calculator-info p:last-child { margin-bottom: 0; }

#calculator #result { background: linear-gradient(90deg, #008000, #8bc34a); border-radius: 100px; color: #fff; font-size: 24px; margin: 30px auto 50px; min-width: 150px; padding: 15px 30px; text-align: center; width: fit-content; } 
#calculator #services { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; margin: 20px auto; width: 100%; max-width: 1200px;}
#calculator #slider { -webkit-appearance: none; appearance: none; background: linear-gradient(90deg, #008000, #8bc34a); border-radius: 10px; height: 10px; outline: none; transition: background 0.3s ease; width: 100%; }
#calculator #slider { width: 100%;  max-width: 1200px; }
#calculator #slider::-moz-range-thumb { background-color: #008000; border-radius: 50%; border: 2px solid white; box-shadow: 0 0 5px rgba(0, 0, 0, 0.3); cursor: pointer; height: 20px; transition: transform 0.2s ease; width: 20px; }
#calculator #slider::-moz-range-thumb:hover { transform: scale(1.2); }
#calculator #slider::-webkit-slider-thumb {-webkit-appearance: none; appearance: none; width: 20px; height: 20px; background-color: #4caf50; border: 2px solid white; border-radius: 50%; cursor: pointer; box-shadow: 0 0 5px rgba(0, 0, 0, 0.3); transition: transform 0.2s ease; } 
#calculator #slider::-webkit-slider-thumb:hover { transform: scale(1.2); }
#calculator #square span { font-weight: 700; font-size: 20px; } 
#calculator #square { color: #333; display: flex; font-size: 14px; justify-content: space-between; margin-top: 5px; padding: 0 5px; }
#calculator .custom-radio input { position: absolute; opacity: 0; cursor: pointer; }
#calculator .custom-radio input:checked+.custom-radio::before { background-color: #008000; border-color: #008000; }
#calculator .custom-radio input:checked+span { color: #008000; }
#calculator .custom-radio { align-items: center; border: 2px solid #008000; border-radius: 5px; cursor: pointer; display: flex; padding: 15px; position: relative; transition: all 0.3s ease; width: calc(50% - 40px); font-size: 17px; line-height: 1.25em; background: #fff; }
#calculator .custom-radio::before { border-radius: 50%; border: 2px solid #008000; content: ''; height: 10px; margin-right: 10px; transition: all 0.3s ease; width: 10px; min-width: 10px; }
#calculator .custom-radio:hover { background-color: #00800011; }
#calculator .slider-container { margin: 20px auto; text-align: center; width: 100%; max-width: 1200px; }
#calculator h2 { font-size: 40px; text-align: center; margin-top: 100px !important; margin-bottom: 40px; }
#calculator h3 { text-align: center; font-size: 32px; margin: 60px auto 20px; }
#calculator label.custom-radio:has(input:checked)::before { background-color: #008000; border-color: #008000; }
#calculator label[for="slider"] { display: flex; font-size: 20px; margin-bottom: 10px; text-align: center; justify-content: space-between; }

#gazon-type {
    padding-bottom: 135px;
}


@media screen and (max-width: 1201px) {
    #calculator { padding: 0px; margin: 0 auto; } 
}

@media screen and (max-width: 961px) {
    #calculator { margin: 0 auto; padding-left: 20px !important; padding-right: 20px !important; }
    #calculator .custom-radio { width: auto; }
    #calculator #services { flex-direction: column; }
}

@media screen and (max-width: 641px) {
    #calculator #result { font-size: 20px; padding: 10px 20px; }
    #calculator #square span { font-size: 16px; }
    #calculator #square { font-size: 12px; }
    #calculator .custom-radio::before { margin-right: 5px; }
    #calculator .custom-radio:last-child { margin-bottom: 0; }
    #calculator h2 { font-size: 32px; margin-top: 50px !important; }
    #calculator h3 { font-size: 24px; }
    #gazon-type { padding-bottom: 90px !important; }
}

@media screen and (max-width: 481px) {
    #calculator label[for="slider"] { flex-flow: column; margin-bottom: 1em; }
    #calculator label[for="slider"] > div { margin-bottom: 5px; text-align: left; }
    #calculator #result { width: auto; } 
    #calculator, #gazon-type { padding-bottom: 90px !important; }
}