.lead-form-logo {
    margin-bottom: 0.75em;
    text-align: center;
}

.lead-form-logo img {
    display: inline-block;
    max-width: 200px;
    max-height: 110px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.lead-form-school-name {
    margin: 0 0 0.35em;
    text-align: center;
    font-size: 1.35em;
    font-weight: 700;
    line-height: 1.3;
    color: #333745;
}

.lead-form-intro {
    margin-bottom: 1.5em;
    text-align: center;
}

.contact_form_1 .lead-form-description {
    margin-top: 0;
    margin-bottom: 1.25em;
    font-size: 0.95em;
    line-height: 1.55;
    color: rgba(51, 55, 69, 0.9);
}

.contact_form_1 .lead-form-description p {
    margin: 0 0 0.75em;
}

.contact_form_1 .lead-form-description p:last-child {
    margin-bottom: 0;
}

/* Tek sütun, ortalı form alanları */
.contact_form_1 .lead-form-fields,
.contact_form_1 .lead-form-fields .sc_form_item {
    float: none;
    width: 100%;
    max-width: 420px;
    margin-left: auto !important;
    margin-right: auto;
    text-align: left;
}

.contact_form_1 .sc_form_info.lead-form-fields {
    overflow: visible;
}

/* Tam çerçeveli inputlar */
.contact_form_1 .lead-form-fields input[type="text"],
.contact_form_1 .lead-form-fields input[type="tel"],
.contact_form_1 .lead-form-fields select,
.contact_form_1 .lead-form-fields textarea {
    width: 100%;
    box-sizing: border-box;
    text-transform: none;
    border: 1px solid #cfd4dc;
    border-radius: 6px;
    background: #fff;
    padding: 0.75em 0.9em;
    border-bottom: 1px solid #cfd4dc;
}

.contact_form_1 .lead-form-fields #lead_form_name {
    text-transform: uppercase;
}

.contact_form_1 .lead-form-fields input[type="text"]:focus,
.contact_form_1 .lead-form-fields input[type="tel"]:focus,
.contact_form_1 .lead-form-fields select:focus,
.contact_form_1 .lead-form-fields textarea:focus {
    border-color: #9aa3af;
    outline: none;
}

.contact_form_1 .lead-form-fields select {
    background-color: #fff;
    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 fill='%23666' d='M1.41 0 6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.9em center;
    padding-right: 2.2em;
    appearance: none;
    -webkit-appearance: none;
}

.contact_form_1 .lead-form-fields select:invalid {
    color: #777;
}

.lead-form-phone-wrap {
    position: relative;
}

.lead-form-phone-wrap .iti {
    width: 100%;
    display: block;
    border: 1px solid #cfd4dc;
    border-radius: 6px;
    background: #fff;
    overflow: hidden;
}

.lead-form-phone-wrap .iti:focus-within {
    border-color: #9aa3af;
}

.lead-form-phone-wrap .iti__tel-input,
.lead-form-phone-wrap input[type="tel"] {
    width: 100%;
    box-sizing: border-box;
    border: none !important;
    border-radius: 0;
    background: transparent;
    padding: 0.75em 0.9em;
}

.lead-form-phone-wrap .iti__country-container {
    background: transparent;
}

.lead-form-phone-wrap .iti__selected-country,
.lead-form-phone-wrap .iti__selected-country-primary {
    background: transparent !important;
}

.lead-form-phone-wrap .iti__selected-country:hover,
.lead-form-phone-wrap .iti__selected-country:focus,
.lead-form-phone-wrap .iti__selected-country-primary:hover,
.lead-form-phone-wrap .iti__selected-country-primary:focus {
    background: transparent !important;
}

.lead-form-phone-wrap .iti__arrow {
    border-top-color: #666;
}

.lead-form-phone-wrap .iti__search-input {
    border: 1px solid #cfd4dc !important;
    border-radius: 6px !important;
    padding: 0.55em 0.75em !important;
    margin: 0.5em !important;
    width: calc(100% - 1em) !important;
    text-transform: none;
}

.lead-form-field-error {
    display: none;
    margin-top: 0.45em;
    color: #c0392b;
    font-size: 0.88em;
    text-align: left;
}

.lead-form-field-error.is-visible {
    display: block;
}

.lead-form-phone-wrap .iti.lead-form-input-error,
.lead-form-phone-wrap input.lead-form-input-error,
.contact_form_1 .lead-form-fields select.lead-form-input-error,
.contact_form_1 .lead-form-fields input.lead-form-input-error {
    border-color: #c0392b !important;
}

.contact_form_1 .sc_form_button {
    text-align: center;
}

.contact_form_1 .sc_form_button button {
    position: relative;
    min-width: 190px;
}

.contact_form_1 .sc_form_button button:disabled {
    cursor: not-allowed;
    opacity: 0.92;
}

.lead-form-submit__spinner {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1.15rem;
    height: 1.15rem;
    margin: -0.575rem 0 0 -0.575rem;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: lead-form-spin 0.7s linear infinite;
}

.contact_form_1 .sc_form_button button.is-loading .lead-form-submit__label {
    visibility: hidden;
}

.contact_form_1 .sc_form_button button.is-loading .lead-form-submit__spinner {
    display: block;
}

@keyframes lead-form-spin {
    to {
        transform: rotate(360deg);
    }
}

.contact_form_1 .lead-form-kvkk {
    margin-top: 1em;
    margin-bottom: 1em;
    text-align: center;
    font-size: 0.92em;
    line-height: 1.55;
    color: rgba(51, 55, 69, 0.85);
}

.contact_form_1 .lead-form-kvkk p {
    text-align: center;
    margin: 0 0 0.75em;
}

.contact_form_1 .lead-form-kvkk p:last-child {
    margin-bottom: 0;
}

.contact_form_1 .lead-form-kvkk-accept {
    margin-bottom: 1em;
    text-align: center;
}

.contact_form_1 .lead-form-kvkk-accept label {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.85em;
    width: 100%;
    margin: 0;
    cursor: pointer;
}

.contact_form_1 .lead-form-kvkk-accept input[type="checkbox"] {
    width: 26px;
    height: 26px;
    min-width: 26px;
    min-height: 26px;
    flex: 0 0 26px;
    margin: 0;
    padding: 0;
    cursor: pointer;
    accent-color: #333745;
    -webkit-appearance: checkbox;
    appearance: auto;
}

.contact_form_1 .lead-form-kvkk-accept label span {
    flex: 0 1 auto;
    max-width: calc(100% - 36px);
    text-align: center;
    line-height: 1.45;
}

.contact_form_1 .lead-form-turnstile {
    margin-top: 1em;
    margin-bottom: 1em;
}

.contact_form_1 .sc_form_item .cf-turnstile {
    display: flex;
    justify-content: center;
}

.lead-form-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
}

.lead-form-modal.is-open {
    display: flex;
}

.lead-form-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(17, 24, 39, 0.55);
}

.lead-form-modal__panel {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    padding: 2rem 1.75rem 1.5rem;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
    text-align: center;
}

.lead-form-modal__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: #e8f7ee;
    color: #1f8a4c;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
}

.lead-form-modal__title {
    margin: 0 0 0.75rem;
    font-size: 1.35rem;
    font-weight: 700;
    color: #333745;
}

.lead-form-modal__message {
    margin: 0 0 1.5rem;
    font-size: 1rem;
    line-height: 1.55;
    color: rgba(51, 55, 69, 0.88);
}

.lead-form-modal__button {
    display: inline-block;
    min-width: 140px;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    background: #333745;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
}

.lead-form-modal__button:hover,
.lead-form-modal__button:focus {
    background: #252833;
    outline: none;
}

body.lead-form-modal-open {
    overflow: hidden;
}
