/* =============================================================================
   Adult Online Registration — Form Styles (form.css)
   Author: Webster Tech | https://www.webstertech.in/
   ============================================================================= */

/* ── Wrapper ── */
.aor-wrapper {
    max-width: 500px;
    margin: 30px auto;
    font-family: Arial, sans-serif;
    color: #333;
}

/*div#content-block h1 {
    display: none;
}*/

/* ── Title ── */
.aor-title {
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #1a1a1a;
}

/* ── Subtitle ── */
.aor-subtitle {
    text-align: center;
    font-size: 13px;
    color: #666;
    margin-bottom: 24px;
}

/* ── Each field wrapper ── */
.aor-field {
    margin-bottom: 14px;
    position: relative;
}

/* ── Text / Email / Tel / Date inputs ── */
.aor-input {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #c8c8c8;
    border-radius: 4px;
    background: #fff;
    color: #333;
    box-sizing: border-box;
    transition: border-color .2s, box-shadow .2s;
}

/* ── Select dropdowns ── */
.aor-select {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #c8c8c8;
    border-radius: 4px;
    background-color: #fff;
    color: #333;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
    /* Custom dropdown arrow */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    transition: border-color .2s, box-shadow .2s;
    cursor: pointer;
}

/* ── Focus state for inputs and selects ── */
.aor-input:focus,
.aor-select:focus {
    outline: none;
    border-color: #4a90d9;
    box-shadow: 0 0 0 3px rgba(74, 144, 217, .15);
}

/* ── Placeholder color ── */
.aor-input::placeholder {
    color: #aaa;
}

/* ── Date of Birth label ── */
.aor-dob-label {
    display: block;
    font-size: 13px;
    color: #555;
    margin-bottom: 5px;
    font-weight: 600;
}

/* ── Invalid field highlight ── */
.aor-input.is-invalid,
.aor-select.is-invalid {
    border-color: #c0392b;
    box-shadow: 0 0 0 3px rgba(192, 57, 43, .12);
}

/* ── Inline error message ── */
.aor-error {
    display: block;
    font-size: 12px;
    color: #c0392b;
    margin-top: 4px;
    min-height: 0;
    line-height: 1.4;
}

/* ── Small hint text ── */
.aor-hint {
    display: block;
    font-size: 11px;
    color: #888;
    margin-top: 4px;
}

/* ── Success notice ── */
.aor-notice {
    padding: 12px 16px;
    border-radius: 4px;
    margin-bottom: 18px;
    font-size: 14px;
    line-height: 1.5;
}
.aor-success {
    background: #eafaf1;
    border: 1px solid #27ae60;
    color: #1e8449;
}

/* ── Error notice ── */
.aor-error-box {
    background: #fdedec;
    border: 1px solid #e74c3c;
    color: #c0392b;
}

/* ── Submit button ── */
.aor-submit {
    width: 100%;
    padding: 13px;
    background: #2271b1;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 8px;
    transition: background .2s, transform .1s;
    letter-spacing: .3px;
}
.aor-submit:hover  { background: #1a5a8a; }
.aor-submit:active { background: #154472; transform: scale(.99); }
.aor-submit:disabled { background: #aaa; cursor: not-allowed; }
