.calculator-row {
width: 100%;
margin-top: 80px;
float: right;
justify-content: space-between;
margin-bottom: 80px;
} .fabric-selection {
width: 40%;
float: left;
margin-left: 10%;
margin-right: 5%;
}
.fabric-container {
margin-bottom: 20px;
width:100%;
float:left;
max-width: 400px;
background: #fff;
padding: 20px;
border-radius: 15px;
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}
.fabric-title {
font-size: 22px;
font-weight: bold;
margin-bottom: 15px;
color: #333;
}
.fabric-options label {
display: flex;
align-items: center;
padding: 10px;
background: #f5f5f5;
margin-bottom: 10px;
border-radius: 10px;
cursor: pointer;
transition: 0.3s;
}
.fabric-options label:hover {
background: #e0e0e0;
}
.fabric-options input[type="radio"] {
appearance: none;
width: 18px;
height: 18px;
border-radius: 50%;
border: 2px solid #7EABB9;
margin-right: 10px;
position: relative;
}
.fabric-options input[type="radio"]:checked {
background: #7EABB9;
border: 2px solid #4B8E9E;
} .calculator-container {
width: 45%;
float: left;
max-width: 500px;
padding: 24px 24px;
background: rgba(255, 255, 255, 0.15);
backdrop-filter: blur(10px);
border-radius: 0px;
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}
h2 {
text-align: center;
font-size: 28px;
color: #333;
margin-bottom: 20px;
font-weight: bold;
}
.slider-container {
margin-bottom: 25px;
position: relative;
}
label {
font-size: 18px;
font-weight: bold;
color: #333;
margin-bottom: 8px;
display: block;
}
input[type="range"] {
-webkit-appearance: none;
width: 100%;
height: 12px;
border-radius: 10px;
background: #7EABB9;
outline: none;
cursor: pointer;
}
.slider-max {
position: absolute;
right: 0;
top: 0;
font-size: 16px;
color: #7EABB9;
font-weight: bold;
}
.result-container {
text-align: center;
margin-top: 30px;
font-size: 24px;
font-weight: bold;
color: #333;
}
#result {
font-size: 28px;
color: #7EABB9;
font-weight: bold;
margin-top: 10px;
padding-bottom:20px !important;
}
.calculate-btn {
display: block;
width: 100%;
max-width: 300px;
margin: 20px auto;
padding: 12px;
font-size: 18px;
text-align: center;
color: white;
background: #7EABB9;
border: none;
border-radius: 10px;
font-weight: bold;
cursor: pointer;
transition: 0.3s;
box-shadow: 0px 4px 10px rgba(126, 171, 185, 0.3);
}
.calculate-btn:hover {
background: #4B8E9E;
box-shadow: 0px 6px 15px rgba(126, 171, 185, 0.4);
}
@media screen and (max-width: 1024px) {
#appointment-btn{
display: none;
}
.appointment-btn
{
width:100%;
}
.calculator-row {
flex-direction: column;
align-items: center;
margin-top: 40px;
margin-bottom: 40px;
float: none;
display: flex;
}
.fabric-selection,
.calculator-container {
width: 80%;
max-width: 450px;
margin: 20px auto;
float: none;
}
}
@media screen and (max-width: 768px) {
#appointment-btn{
display: none;
}
.appointment-btn
{
width:100%;
}
.fabric-selection,
.calculator-container {
width: 90%;
max-width: 400px;
}
.fabric-title {
font-size: 20px;
}
.calculate-btn {
font-size: 16px;
padding: 10px;
}
h2 {
font-size: 24px;
}
.result-container {
font-size: 20px;
}
#result {
font-size: 24px;
}
}
@media screen and (max-width: 480px) {
#appointment-btn{
display: none;
}
.appointment-btn
{
width:100%;
}
.fabric-selection,
.calculator-container {
width: 95%;
max-width: 100%;
padding: 15px;
}
.fabric-title {
font-size: 18px;
}
h2 {
font-size: 22px;
}
.slider-container label {
font-size: 16px;
}
.slider-max {
font-size: 14px;
}
.calculate-btn {
font-size: 14px;
padding: 8px;
}
.result-container {
font-size: 18px;
}
#result {
font-size: 20px;
}
}