/* Handifesten - Collect tilmeldingsside */
* { box-sizing: border-box; }
body {
    margin: 0;
    background: #111827;
    color: #202638;
    font: 16px/1.5 Arial, sans-serif;
}
.outerContainer { width: min(830px, calc(100% - 24px)); margin: auto; }
.topHeader {
    background: #111827;
    color: white;
    text-align: center;
    padding: 24px 12px 10px;
}
#topLogoContainer { display: block; text-align: center; margin-bottom: 0px; }
.topLogo { max-height: 150px; max-width: 90%; width: auto; height: auto; }
.topEventName h1 { margin: 0; font-size: 30px; line-height: 1.2; }
.inputIntroTextDiv {
    display: table;
    margin: 20px auto 28px;
    padding: 14px 28px;
    background: #e94383;
    color: white !important;
    border-radius: 10px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
}
.inputIntroTextDiv * { color: white !important; }
#TotalOuterPanel {
    margin: 0 auto 40px;
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,.15);
}
.inputMasterTitle h1, .inputMasterTitle h2, .inputMasterTitle h3 { margin-top: 0; }
.field-container { margin-bottom: 18px; }
.masterDataInputField, .webQuestionInputField, select[id^='ddlSP'], input[id^='tbSP'], textarea {
    max-width: 100%;
    min-height: 44px;
    padding: 9px 12px;
    background: white;
    color: #202638;
    border: 1px solid #b8c4d6;
    border-radius: 7px;
    font: inherit;
}
.masterDataInputField { width: 100%; }
.webQuestionInputField { width: 100%; max-width: 400px; }
input[id^='tbSP'] { height: auto !important; }
textarea { height: auto !important; }
input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible {
    outline: 3px solid #ffca57;
    outline-offset: 2px;
}
.navButton {
    min-width: 200px;
    min-height: 46px;
    padding: 10px 20px;
    background: #e94383;
    color: white;
    border: 0;
    border-radius: 8px;
    font: 700 16px Arial, sans-serif;
    text-transform: uppercase;
    cursor: pointer;
}
.navButton:hover { background: #c72d68; }
.navPlaceRight { float: right; }
.bottomDiv { padding: 12px; margin-top: 12px; text-align: center; color: white; }
.bottomDiv a { color: white; }
.errorContainer { padding: 12px; margin-bottom: 20px; background: #fff2f2; border: 1px solid #b42318; border-radius: 7px; color: #a51d19; }
.error { color: #a51d19; }
.inputLineSpacer { display: block; height: 8px; }
.input { display: none; }
.iframeNoBorder { box-shadow: none !important; }
#PanelAccept { margin-bottom: 20px; }
.completeOverlay { position: fixed; inset: 0; background: rgba(0,0,0,.6); }
.termsWindow { position: fixed; inset: 3%; padding: 12px; background: white; color: black; z-index: 20000; overflow-y: auto; }
.choicesHeading, .multipleNameCurrent { font-weight: 700; }
.addMembersTable, table[id^='ddlSP'] { width: 100%; }
.right-align { text-align: right; }
@media (max-width: 767px) {
    .topLogo { max-height: 105px; }
    .topEventName h1 { font-size: 23px; }
    #TotalOuterPanel { padding: 20px 16px; }
    .inputIntroTextDiv { padding: 12px 16px; font-size: 15px; }
    .navButton { max-width: 100%; }
    .phoneSearchBtn { margin-left: 0; }
}
/* Spørgsmål og svarfelter på hver sin linje */
.inputSPDiv .field-container label,
.inputSPDiv span[id^="lbSP"] {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 0 8px 0 !important;
}

/* Svarfelter under spørgsmålene */
.inputSPDiv select[id^="ddlSP"],
.inputSPDiv input[id^="tbSP"],
.inputSPDiv textarea {
    display: block !important;
    width: 100% !important;
    max-width: 500px !important;
    margin: 0 0 20px 0 !important;
    box-sizing: border-box;
}

/* Ekstra afstand mellem spørgsmål */
.inputSPDiv .field-container {
    margin-bottom: 24px;
}

/* Handifesten - gradientbaggrund */
body {
    background: linear-gradient(
        135deg,
        #111827 0%,
        #30204f 52%,
        #872958 100%
    ) fixed !important;
    min-height: 100vh;
}

/* Lad baggrunden fortsætte bag logo og overskrift */
.topHeader {
    background: transparent !important;
}