@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&display=swap');

/* Force dark background on page containers wrapping the form */
body .oyunculuk-basvuru-wrap,
body .oyunculuk-basvuru-wrap *:not(input):not(select):not(textarea):not(button):not(option):not(label):not(span):not(p):not(h3) {
    background-color: transparent !important;
}

/* Common page builder section overrides */
.elementor-widget-container:has(.oyunculuk-basvuru-wrap),
.elementor-section:has(.oyunculuk-basvuru-wrap),
.elementor-column:has(.oyunculuk-basvuru-wrap),
.elementor-element:has(.oyunculuk-basvuru-wrap),
.wp-block-group:has(.oyunculuk-basvuru-wrap),
.entry-content:has(.oyunculuk-basvuru-wrap),
.page-content:has(.oyunculuk-basvuru-wrap),
article:has(.oyunculuk-basvuru-wrap),
.site-content:has(.oyunculuk-basvuru-wrap),
.user-content-wrapper:has(.oyunculuk-basvuru-wrap) {
    background-color: #111111 !important;
    background: #111111 !important;
}

body .oyunculuk-basvuru-wrap {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 40px 20px !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    font-family: 'Open Sans', sans-serif !important;
    color: #ffffff !important;
    background: transparent !important;
}

body .oyunculuk-basvuru-wrap > .oyunculuk-basvuru-form,
body .oyunculuk-basvuru-wrap > .oyunculuk-success {
    width: 100% !important;
    max-width: 720px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
}

body .oyunculuk-basvuru-wrap .oyunculuk-basvuru-form .oyunculuk-field-group {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 4px !important;
    padding: 28px 32px !important;
    margin-bottom: 24px !important;
    backdrop-filter: blur(5px) !important;
    box-shadow: none !important;
}

body .oyunculuk-basvuru-wrap .oyunculuk-basvuru-form h3 {
    margin: 0 0 20px 0 !important;
    padding-bottom: 12px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    background: none !important;
}

body .oyunculuk-basvuru-wrap .oyunculuk-row {
    display: flex !important;
    gap: 16px !important;
    margin-bottom: 16px !important;
}

body .oyunculuk-basvuru-wrap .oyunculuk-row:last-child {
    margin-bottom: 0 !important;
}

body .oyunculuk-basvuru-wrap .oyunculuk-col {
    flex: 1 !important;
}

body .oyunculuk-basvuru-wrap .oyunculuk-col-full {
    width: 100% !important;
}

body .oyunculuk-basvuru-wrap .oyunculuk-basvuru-form label {
    display: block !important;
    margin-bottom: 6px !important;
    font-weight: 300 !important;
    font-size: 13px !important;
    color: rgba(255, 255, 255, 0.7) !important;
    letter-spacing: 0.5px !important;
    background: none !important;
}

body .oyunculuk-basvuru-wrap .oyunculuk-basvuru-form .required {
    color: rgba(255, 255, 255, 0.4) !important;
}

body .oyunculuk-basvuru-wrap .oyunculuk-basvuru-form input[type="text"],
body .oyunculuk-basvuru-wrap .oyunculuk-basvuru-form input[type="email"],
body .oyunculuk-basvuru-wrap .oyunculuk-basvuru-form input[type="tel"],
body .oyunculuk-basvuru-wrap .oyunculuk-basvuru-form input[type="number"],
body .oyunculuk-basvuru-wrap .oyunculuk-basvuru-form input[type="date"],
body .oyunculuk-basvuru-wrap .oyunculuk-basvuru-form select,
body .oyunculuk-basvuru-wrap .oyunculuk-basvuru-form textarea {
    width: 100% !important;
    padding: 10px 14px !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 2px !important;
    font-size: 15px !important;
    font-family: 'Open Sans', sans-serif !important;
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.05) !important;
    transition: border-color 0.3s, background 0.3s !important;
    box-sizing: border-box !important;
    -webkit-appearance: none !important;
}

body .oyunculuk-basvuru-wrap .oyunculuk-basvuru-form select option {
    background: #111111 !important;
    color: #ffffff !important;
}

body .oyunculuk-basvuru-wrap .oyunculuk-basvuru-form input:focus,
body .oyunculuk-basvuru-wrap .oyunculuk-basvuru-form select:focus,
body .oyunculuk-basvuru-wrap .oyunculuk-basvuru-form textarea:focus {
    outline: none !important;
    border-color: #ffffff !important;
    background: rgba(255, 255, 255, 0.08) !important;
    box-shadow: none !important;
}

body .oyunculuk-basvuru-wrap .oyunculuk-basvuru-form input::placeholder,
body .oyunculuk-basvuru-wrap .oyunculuk-basvuru-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.3) !important;
}

/* Chrome autofill override for dark theme */
body .oyunculuk-basvuru-wrap .oyunculuk-basvuru-form input:-webkit-autofill,
body .oyunculuk-basvuru-wrap .oyunculuk-basvuru-form input:-webkit-autofill:hover,
body .oyunculuk-basvuru-wrap .oyunculuk-basvuru-form input:-webkit-autofill:focus {
    -webkit-text-fill-color: #ffffff !important;
    -webkit-box-shadow: 0 0 0px 1000px #1a1a1a inset !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

body .oyunculuk-basvuru-wrap .oyunculuk-basvuru-form input[type="file"] {
    padding: 14px !important;
    border: 1px dashed rgba(255, 255, 255, 0.25) !important;
    border-radius: 2px !important;
    background: rgba(255, 255, 255, 0.03) !important;
    width: 100% !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
    color: rgba(255, 255, 255, 0.6) !important;
    font-family: 'Open Sans', sans-serif !important;
}

body .oyunculuk-basvuru-wrap .oyunculuk-basvuru-form input[type="file"]:hover {
    border-color: rgba(255, 255, 255, 0.5) !important;
    background: rgba(255, 255, 255, 0.06) !important;
}

body .oyunculuk-basvuru-wrap .oyunculuk-help {
    margin: 6px 0 0 !important;
    font-size: 12px !important;
    color: rgba(255, 255, 255, 0.4) !important;
}

body .oyunculuk-basvuru-wrap .oyunculuk-basvuru-form textarea {
    resize: vertical !important;
    min-height: 80px !important;
}

/* Radio & checkbox groups */
body .oyunculuk-basvuru-wrap .oyunculuk-radio-group,
body .oyunculuk-basvuru-wrap .oyunculuk-checkbox-group {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin-top: 4px !important;
}

body .oyunculuk-basvuru-wrap .oyunculuk-radio,
body .oyunculuk-basvuru-wrap .oyunculuk-checkbox {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 9px 14px !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 2px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    font-size: 14px !important;
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 300 !important;
    cursor: pointer !important;
    transition: border-color 0.2s, background 0.2s !important;
    margin: 0 !important;
}

body .oyunculuk-basvuru-wrap .oyunculuk-radio:hover,
body .oyunculuk-basvuru-wrap .oyunculuk-checkbox:hover {
    border-color: rgba(255, 255, 255, 0.5) !important;
    background: rgba(255, 255, 255, 0.08) !important;
}

body .oyunculuk-basvuru-wrap .oyunculuk-radio input[type="radio"],
body .oyunculuk-basvuru-wrap .oyunculuk-checkbox input[type="checkbox"] {
    accent-color: #ffffff !important;
    margin: 0 !important;
    cursor: pointer !important;
    width: auto !important;
}

body .oyunculuk-basvuru-wrap .oyunculuk-submit {
    text-align: center !important;
    margin-top: 12px !important;
}

body .oyunculuk-basvuru-wrap .oyunculuk-submit button {
    background: transparent !important;
    color: #ffffff !important;
    border: 1px solid #ffffff !important;
    padding: 14px 56px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    font-family: 'Open Sans', sans-serif !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    border-radius: 0 !important;
    cursor: pointer !important;
    transition: background 0.3s, color 0.3s !important;
}

body .oyunculuk-basvuru-wrap .oyunculuk-submit button:hover {
    background: #ffffff !important;
    color: #111111 !important;
}

body .oyunculuk-basvuru-wrap .oyunculuk-submit button:active {
    opacity: 0.9 !important;
}

body .oyunculuk-basvuru-wrap .oyunculuk-errors {
    background: rgba(220, 38, 38, 0.1) !important;
    border: 1px solid rgba(220, 38, 38, 0.3) !important;
    border-radius: 2px !important;
    padding: 16px 20px !important;
    margin-bottom: 20px !important;
}

body .oyunculuk-basvuru-wrap .oyunculuk-errors p {
    margin: 4px 0 !important;
    color: #fca5a5 !important;
    font-size: 13px !important;
    font-weight: 300 !important;
}

body .oyunculuk-basvuru-wrap .oyunculuk-success {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 2px !important;
    padding: 40px 32px !important;
    text-align: center !important;
}

body .oyunculuk-basvuru-wrap .oyunculuk-success h3 {
    color: #ffffff !important;
    margin: 0 0 10px !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    border: none !important;
}

body .oyunculuk-basvuru-wrap .oyunculuk-success p {
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 15px !important;
    font-weight: 300 !important;
    margin: 0 !important;
}

/* Responsive */
@media (max-width: 600px) {
    body .oyunculuk-basvuru-wrap .oyunculuk-row {
        flex-direction: column !important;
        gap: 12px !important;
    }

    body .oyunculuk-basvuru-wrap .oyunculuk-basvuru-form .oyunculuk-field-group {
        padding: 20px 16px !important;
    }

    body .oyunculuk-basvuru-wrap {
        padding: 20px 10px !important;
    }

    body .oyunculuk-basvuru-wrap .oyunculuk-submit button {
        width: 100% !important;
        padding: 14px 20px !important;
    }
}
