/* =========================================================
   custom-OBS2026.css
   Custom styles for OBS Coney Campus Opening 2026
   Registration / Thank You pages
   ========================================================= */

/* ---------- Fonts ---------- */
@font-face {
    font-family: 'Roboto';
    src: url('../Content/fonts/Roboto-VariableFont_wdth,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
}

@font-face {
    font-family: 'Arial';
    src: url('../Content/fonts/arial.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Arial';
    src: url('../Content/fonts/arialbd.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

/* ---------- Base ---------- */
html {
    color-scheme: dark;
}

body {
    background-color: #555D00;
    color: #FFFFFF;
    font-family: 'Roboto', 'Arial', sans-serif;
    margin: 0;
    padding: 0;
}

a {
    color: #E9B400;
}

hr.divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.35);
    max-width: 800px;
    margin: 30px auto;
}

/* ---------- Banner ---------- */
.page-banner {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #555D00;
}

.page-banner img {
    width: 100%;
    height: auto;
    display: block;
}

.banner-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    color: #FFFFFF;
    font-family: 'Roboto', 'Arial', sans-serif;
    font-weight: 500;
    font-size: 3.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0;
    padding: 0 15px;
}

@media (max-width: 767px) {
    .banner-title {
        font-size: 2.1rem;
    }
}

/* ---------- Intro text ---------- */
.intro-text {
    text-align: center;
    padding: 45px 20px 15px;
    max-width: 800px;
    margin: 0 auto;
}

.intro-text p {
    margin: 0 0 5px;
    font-size: 1.25rem;
}

.intro-text .event-name {
    font-weight: 500;
}

/* ---------- Section heading ---------- */
.section-heading {
    text-align: center;
    padding: 10px 20px 30px;
}

.section-heading h2 {
    color: #E9B400;
    font-family: 'Roboto', 'Arial', sans-serif;
    font-weight: 500;
    font-size: 2.3rem;
    margin-bottom: 8px;
}

.section-heading p {
    margin: 0;
    font-size: 1.2rem;
}

/* ---------- Registration form ---------- */
.registration-form {
    max-width: 800px;
    margin: 0 auto;
    padding: 10px 20px 70px;
}

.form-group-custom {
    margin-bottom: 30px;
}

.form-label-custom {
    font-family: 'Roboto', 'Arial', sans-serif;
    font-weight: 500;
    font-size: 1.2rem;
    display: block;
    margin-bottom: 10px;
}

.form-label-custom .optional-text {
    font-family: 'Roboto', 'Arial', sans-serif;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.75);
}

.form-control-custom {
    background-color: #666D1A;
    border: 1px solid #E9B400;
    color: #FFFFFF;
    border-radius: 2px;
    padding: 12px 15px;
    width: 100%;
    font-family: 'Roboto', 'Arial', sans-serif;
    font-size: 1.1rem;
}

.form-control-custom:focus {
    background-color: #666D1A;
    color: #FFFFFF;
    border-color: #E9B400;
    box-shadow: none;
    outline: none;
}

.form-control-custom::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

/* ---------- Custom dropdown (replaces native <select> to avoid the
   browser's native option-list flicker on open) ---------- */
.custom-select {
    position: relative;
    width: 100%;
}

.custom-select-toggle {
    background-color: #666D1A;
    border: 1px solid #E9B400;
    color: #FFFFFF;
    border-radius: 2px;
    padding: 12px 40px 12px 15px;
    width: 100%;
    text-align: left;
    font-family: 'Roboto', 'Arial', sans-serif;
    font-size: 1.1rem;
    cursor: pointer;
    position: relative;
}

.custom-select-toggle::after {
    content: "";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-65%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid #E9B400;
}

.custom-select-toggle.has-value {
    color: #FFFFFF;
}

.custom-select-menu {
    display: none;
    margin: 4px 0 0;
    padding: 0;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #666D1A;
    border: 1px solid #E9B400;
    border-radius: 2px;
    z-index: 20;
}

.custom-select.open .custom-select-menu {
    display: block;
}

.custom-select-search {
    border-bottom: 1px solid #E9B400;
    padding: 8px;
}

.custom-select-search-input {
    width: 100%;
    background-color: #555D00;
    border: 1px solid #E9B400;
    color: #FFFFFF;
    border-radius: 2px;
    padding: 8px 12px;
    font-family: 'Roboto', 'Arial', sans-serif;
    font-size: 1rem;
}

.custom-select-search-input::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.custom-select-options {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 420px;
    overflow-y: auto;
}

.custom-select-options li {
    padding: 10px 15px;
    color: #FFFFFF;
    font-family: 'Roboto', 'Arial', sans-serif;
    font-size: 1.1rem;
    cursor: pointer;
}

.custom-select-options li:hover,
.custom-select-options li:focus {
    background-color: #E9B400;
    color: #555D00;
}

.custom-select-options li.hidden {
    display: none;
}

.custom-select-no-results {
    display: none;
    padding: 10px 15px;
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Roboto', 'Arial', sans-serif;
    font-size: 1rem;
}

.custom-select-no-results.visible {
    display: block;
}

/* ---------- Radio options ---------- */
.radio-option {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.radio-option input[type="radio"] {
    width: 18px;
    height: 18px;
    margin-right: 12px;
    accent-color: #E9B400;
    border: 1px solid #E9B400;
    flex-shrink: 0;
}

.radio-option label {
    font-size: 1.1rem;
    margin-bottom: 0;
}

.radio-option .optional-text {
    color: rgba(255, 255, 255, 0.75);
}

/* ---------- Submit button ---------- */
.form-submit-wrap {
    text-align: center;
    margin-top: 45px;
}

.btn-submit {
    background-color: #E9B400;
    color: #555D00;
    font-family: 'Roboto', 'Arial', sans-serif;
    font-weight: 500;
    font-size: 1.3rem;
    letter-spacing: 1px;
    border: 1px solid #E9B400;
    padding: 12px 60px;
    text-decoration: none;
    display: inline-block;
    border-radius: 2px;
}

.btn-submit:hover {
    background-color: transparent;
    color: #E9B400;
    text-decoration: none;
}

/* ---------- Thank you page ---------- */
.thankyou-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 10px 20px 20px;
}

.thankyou-content h2 {
    color: #E9B400;
    font-family: 'Roboto', 'Arial', sans-serif;
    font-weight: 500;
    font-size: 2.3rem;
    margin-bottom: 8px;
}

.thankyou-content p {
    margin: 0 0 5px;
    font-size: 1.2rem;
}

.thankyou-content .contact-label {
    margin-top: 25px;
}

.thankyou-content .contact-email {
    text-decoration: underline;
    color: #FFFFFF;
    font-weight: 500;
}

.signature-block {
    text-align: center;
    padding: 10px 20px 70px;
    font-size: 1.2rem;
}

.signature-block .signoff {
    margin-bottom: 4px;
}

.signature-block .org-name {
    color: #E9B400;
    font-weight: 500;
}

/* ---------- Shared footer (footer.js) ---------- */
.site-footer {
    width: 100%;
    line-height: 0;
    margin-top: 40px;
}

.site-footer img {
    width: 100%;
    height: auto;
    display: block;
}

.custom-select-group-label {
    padding: 10px 15px 4px;
    color: #E9B400;
    font-family: 'Roboto', 'Arial', sans-serif;
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: default;
    background-color: #666D1A;
    border-top: 1px solid rgba(233, 180, 0, 0.35);
}

.custom-select-options li:first-child.custom-select-group-label {
    border-top: none;
}

.custom-select-group-label.hidden {
    display: none;
}
