/* Spa Listing Form Styling */
form.spa-listing-form {
    max-width: 700px;
    margin: 30px auto;
    padding: 25px;
    background: #fff;
    border: 2px solid #F7C2B7;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    font-family: Arial, sans-serif;
    color: #333;
}

form.spa-listing-form h3 {
    color: #c75c50;
    margin-bottom: 10px;
    border-bottom: 2px solid #F7C2B7;
    padding-bottom: 5px;
}

form.spa-listing-form label {
    display: block;
    margin: 10px 0 6px;
    font-weight: 600;
}

/* 🔹 Unified input styles so all fields are equal width */
form.spa-listing-form input[type="text"],
form.spa-listing-form input[type="url"],
form.spa-listing-form input[type="number"],
form.spa-listing-form input[type="file"],
form.spa-listing-form select,
form.spa-listing-form textarea {
    width: 100%;                /* full width */
    max-width: 100%;            /* prevent shrinking */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    transition: 0.3s;
    font-size: 14px;
    box-sizing: border-box;     /* ensures padding doesn’t break width */
    background: #fff;
}

form.spa-listing-form input:focus,
form.spa-listing-form textarea:focus,
form.spa-listing-form select:focus {
    outline: none;
    border-color: #F7C2B7;
    box-shadow: 0 0 6px #f7c2b7a0;
}

form.spa-listing-form fieldset {
    border: 1px solid #F7C2B7;
    border-radius: 10px;
    padding: 15px;
    margin-top: 15px;
    background: #fff9f8;
}

form.spa-listing-form legend {
    padding: 0 10px;
    color: #c75c50;
    font-weight: bold;
}

form.spa-listing-form input[type="submit"] {
    background: #F7C2B7;
    border: none;
    color: #333;
    font-weight: bold;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 20px;
    display: inline-block;
    width: auto; /* button stays compact */
}

form.spa-listing-form input[type="submit"]:hover {
    background: #f5a99b;
}
