/* ============================================================
   OXMANOR GLOBAL FORM STYLING
   Clean, modern, readable on black backgrounds
   ============================================================ */

/* LABELS */
label {
    display: block;
    margin: 1rem 0 0.4rem;
    font-size: 1rem;
    font-weight: 600;
    color: #fff; /* fixes invisible labels */
}

/* TEXT INPUTS, EMAIL, TEL, FILE, TEXTAREA */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="file"],
textarea,
select {
    width: 100%;
    padding: 14px 16px;
    background: #111;
    border: 1px solid #444;
    color: #fff;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    border-radius: 0; /* no rounded corners */
    box-sizing: border-box;
}

input[type="file"] {
    padding: 10px;
}

textarea {
    min-height: 140px;
    resize: vertical;
}

::placeholder {
    color: #777;
}

/* SUBMIT BUTTON */
input[type="submit"] {
    width: 100%;
    background: #e32126;   /* OXMANOR red */
    color: #fff;
    padding: 16px;
    text-transform: uppercase;
    font-size: 1.1rem;
    border: none;
    border-radius: 0;
    cursor: pointer;
    margin-top: 20px;
}

input[type="submit"]:hover {
    background: #c6181c;
}

/* RADIO BUTTON GROUP */
.radio-group {
    margin: 10px 0 20px;
}

.radio-option {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    cursor: pointer;
}

.radio-option input[type="radio"] {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #e32126;
    background: transparent;
    margin-right: 12px;
}

.radio-option input[type="radio"]:checked {
    background: #e32126;
}

/* DROPDOWN SELECT */
select {
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='16' width='16' xmlns='http://www.w3.org/2000/svg'><polygon points='0,0 16,0 8,10'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 14px;
    cursor: pointer;
}

/* FORM WRAPPER */
.form-group {
    margin-bottom: 20px;
}

/* VALIDATION */
.warning {
    background-color: #441111;
    border: 1px solid #e32126;
    color: #fff;
    padding: 10px 14px;
    margin-bottom: 20px;
}
