#cloth-calc {
    max-width: 50%;
    width: 100%;
    margin: 25px auto;
    padding: 25px;
    border: 1px solid #999;
    border-radius: 15px;
    background-color: #e0e0e0;
}
#cloth-calc h2 {
    text-align: center;
    color: #0056b3;
    margin-bottom: 15px;
    font-size: 1.5em;
    font-weight: bold;
    line-height: 1em;
}
#calcBtn-blue, #calcBtn-grey {
    display: block;
    width: 50%;
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 25px;
    font-weight: bold;
    color: white;
}
#calcBtn-blue {
    background: linear-gradient(45deg, #007bff, #0056b3);
    box-shadow: 0 4px 10px rgba(0,123,255,0.3);
}
#calcBtn-grey {
    background: linear-gradient(45deg, #6C757D, #687178);
    box-shadow: 0 4px 10px rgba(95,102,109,0.3);
}
#calcBtn-blue:hover {
    background: linear-gradient(45deg, #0056b3, #003f7f);
    box-shadow: 0 6px 15px rgba(0,123,255,0.4);
    transform: translateY(-2px);
}
#calcBtn-grey:hover {
    background: linear-gradient(45deg, #687178, #5F666D);
    box-shadow: 0 6px 15px rgba(95,102,109,0.4);
    transform: translateY(-2px);
}
.form-group {
    margin-bottom: 18px;
}
.form-group label {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 7px;
    font-weight: 600;
    color: #444;
    font-size: 1em;
}
.form-group input[type="text"], .form-group input[type="number"], .form-group input[type="date"],
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 1em;
    background-color: #ffffff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.form-group input[type="text"]:focus, .form-group input[type="number"]:focus, 
.form-group input[type="date"]:focus, .form-group select:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0,123,255,0.25);
    outline: none;
}
label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
}
input[type="text"], select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 1em;
}
button {
    width: 50%;
    padding: 12px;
    margin-top: 10px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    box-sizing: border-box;
    transition: background-color 0.2s ease;
    flex: 1;
    font-size: 1.1em;
    color: white;
}
#result {
    display: none;
    margin-top: 20px;
    font-weight: bold;
    text-align: right;
    direction: rtl;
}
