/* Hidden Springs Camp — form styles.
 * Kept minimal and generic so a Divi theme can easily override. */

.hsc-form-wrap { max-width: 640px; }

.hsc-form .hsc-note {
    font-style: italic;
    margin-bottom: 1.5em;
    opacity: .85;
}

.hsc-form .hsc-field,
.hsc-form fieldset.hsc-field {
    margin-bottom: 1.25em;
    padding: 0;
    border: 0;
}

.hsc-form label,
.hsc-form legend {
    display: block;
    font-weight: 600;
    margin-bottom: .45em;
}

.hsc-form fieldset.hsc-field label {
    display: block;
    font-weight: 400;
    margin-bottom: .3em;
    cursor: pointer;
}

.hsc-form fieldset.hsc-field input[type="radio"] {
    margin-right: .4em;
}

.hsc-form input[type="text"],
.hsc-form input[type="email"],
.hsc-form textarea {
    width: 100%;
    padding: .7em .9em;
    font-size: 1em;
    font-family: inherit;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    background: #fff;
}

.hsc-form textarea {
    resize: vertical;
    min-height: 60px;
}

.hsc-form input:focus,
.hsc-form textarea:focus {
    outline: 2px solid #2c7a3f;
    outline-offset: 0;
    border-color: #2c7a3f;
}

.hsc-form .hsc-req { color: #c0392b; }

.hsc-form .hsc-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.hsc-form button[type="submit"] {
    background: #2c7a3f;
    color: #fff;
    border: 0;
    padding: .85em 1.6em;
    font-size: 1em;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background .15s ease;
}
.hsc-form button[type="submit"]:hover { background: #256a35; }
.hsc-form button[type="submit"]:disabled { opacity: .6; cursor: wait; }

.hsc-message {
    margin-top: 1em;
    padding: .8em 1em;
    border-radius: 4px;
    display: none;
}
.hsc-message.hsc-success {
    display: block;
    background: #e8f5ea;
    color: #1d5f2b;
    border: 1px solid #9ec9a8;
}
.hsc-message.hsc-error {
    display: block;
    background: #fde8e8;
    color: #8a1a1a;
    border: 1px solid #e0a0a0;
}
