/* Emlak talep formu — soft premium 2026 */
.talep-formu-modern {
    background: #f8fafc;
}

.talep-formu-modern .container.sptb {
    max-width: 1040px;
}

.talep-formu-modern {
    font-family: "Plus Jakarta Sans", "Kanit", system-ui, sans-serif;
}

.tf-page {
    padding: clamp(1.5rem, 3vw, 2.5rem) 0 clamp(2rem, 4vw, 3rem);
}

.tf-alert {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.85rem 1rem;
    margin-bottom: 1.25rem;
    font-size: 0.9375rem;
    line-height: 1.5;
    border-radius: 14px;
}

.tf-alert--success {
    color: #065f46;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
}

.tf-choice__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1rem, 2.5vw, 1.25rem);
    margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

.tf-choice-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: clamp(1.75rem, 3vw, 2.25rem) clamp(1.25rem, 2.5vw, 1.75rem);
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 22px;
    box-shadow:
        0 4px 6px rgba(15, 23, 42, 0.03),
        0 18px 40px rgba(15, 23, 42, 0.07);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.tf-choice-card:hover {
    transform: translateY(-3px);
    border-color: rgba(13, 148, 136, 0.18);
    box-shadow:
        0 8px 16px rgba(15, 23, 42, 0.05),
        0 24px 48px rgba(15, 23, 42, 0.1);
}

.tf-choice-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4.25rem;
    height: 4.25rem;
    margin-bottom: 1.1rem;
    font-size: 1.5rem;
    color: #0f766e;
    background: linear-gradient(145deg, #f0fdfa, #ecfdf5);
    border: 1px solid rgba(13, 148, 136, 0.12);
    border-radius: 18px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.tf-choice-card__icon--plus {
    color: #fff;
    background: linear-gradient(145deg, #14b8a6 0%, #0d9488 52%, #0f766e 100%);
    border-color: transparent;
    box-shadow: 0 10px 24px rgba(13, 148, 136, 0.28);
}

.tf-choice-card__title {
    margin: 0 0 0.55rem;
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    font-weight: 700;
    line-height: 1.35;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.tf-choice-card__desc {
    margin: 0 0 1.35rem;
    max-width: 28ch;
    font-size: 0.875rem;
    line-height: 1.55;
    color: #64748b;
}

.tf-choice-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-width: 11rem;
    padding: 0.75rem 1.25rem;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    text-decoration: none !important;
    color: #0f766e !important;
    background: #fff;
    border: 1.5px solid rgba(13, 148, 136, 0.35);
    border-radius: 999px;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.tf-choice-card__btn:hover {
    color: #fff !important;
    background: linear-gradient(135deg, #14b8a6, #0d9488);
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(13, 148, 136, 0.25);
}

.tf-choice-card__btn--primary {
    color: #fff !important;
    background: linear-gradient(135deg, #14b8a6 0%, #0d9488 52%, #0f766e 100%);
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(13, 148, 136, 0.28);
}

.tf-choice-card__btn + .tf-choice-card__btn {
    margin-top: 0.65rem;
}

.tf-choice-card__btn--primary:hover {
    box-shadow: 0 12px 26px rgba(13, 148, 136, 0.34);
    transform: translateY(-1px);
}

.tf-form-head {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.4;
    color: #0f766e;
    background: #f0fdfa;
    border: 1px solid rgba(13, 148, 136, 0.15);
    border-radius: 14px;
}

.tf-form-head i {
    font-size: 1.1rem;
    opacity: 0.85;
}

/* ── Form shell ── */
.talep-formu-modern .tf-form-shell {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 22px;
    box-shadow:
        0 4px 6px rgba(15, 23, 42, 0.03),
        0 18px 40px rgba(15, 23, 42, 0.07);
    padding: clamp(1.25rem, 2.5vw, 1.75rem);
}

.talep-formu-modern .tf-form-shell > .card,
.talep-formu-modern .tf-form-shell .card {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.talep-formu-modern .tf-form-shell .card-header {
    display: none !important;
}

.talep-formu-modern .tf-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1.15rem, 2.5vw, 1.5rem);
    align-items: start;
}

.talep-formu-modern .tf-form-panel {
    padding: clamp(1.15rem, 2vw, 1.35rem);
    background: #f8fafc;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 16px;
    min-width: 0;
}

.talep-formu-modern .tf-form-panel__title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 1.1rem;
    padding-bottom: 0.7rem;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    color: #0f172a;
    border-bottom: 1px solid rgba(226, 232, 240, 0.95);
}

.talep-formu-modern .tf-form-panel__title i {
    color: #0f766e;
    font-size: 0.95rem;
}

.talep-formu-modern .tf-field {
    margin-bottom: 1rem;
}

.talep-formu-modern .tf-label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.35;
    color: #334155;
}

/* Form alanları — global .form-control yüksekliğini ezer */
.talep-formu-modern .tf-input,
.talep-formu-modern .tf-form-shell .form-control,
.talep-formu-modern .tf-form-shell select.form-control,
.talep-formu-modern .tf-form-shell input.form-control,
.talep-formu-modern .tf-form-shell textarea.form-control {
    display: block;
    width: 100%;
    min-height: 48px;
    height: 48px;
    padding: 0 0.95rem !important;
    font-size: 0.9375rem !important;
    font-weight: 500;
    line-height: 1.35 !important;
    color: #0f172a !important;
    background: #fff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

body.talep-formu-modern .tf-form-shell select.form-control:not([size]):not([multiple]),
body.talep-formu-modern .tf-form-shell select.tf-input {
    height: 48px !important;
    min-height: 48px !important;
    max-height: none !important;
    padding: 0 2.25rem 0 0.95rem !important;
    line-height: 1.35 !important;
    overflow: visible !important;
    background-color: #fff !important;
    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='%2364748b' d='M1.4.4 6 5l4.6-4.6L12 2.8 6 8.8 0 2.8z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.85rem center;
    background-size: 11px 7px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.talep-formu-modern .tf-form-shell textarea.form-control,
.talep-formu-modern .tf-input--textarea {
    min-height: 120px;
    height: auto !important;
    resize: vertical;
    padding: 0.85rem 0.95rem !important;
    line-height: 1.5 !important;
}

.talep-formu-modern .tf-input::placeholder,
.talep-formu-modern .tf-form-shell .form-control::placeholder {
    color: #64748b !important;
    opacity: 1 !important;
}

.talep-formu-modern .tf-input:focus,
.talep-formu-modern .tf-form-shell .form-control:focus,
.talep-formu-modern .tf-form-shell select.form-control:focus {
    border-color: rgba(13, 148, 136, 0.55) !important;
    box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.12) !important;
    outline: none;
}

/* Select2 — okunabilir yükseklik ve hizalama */
.talep-formu-modern .select2-container {
    width: 100% !important;
    display: block;
}

.talep-formu-modern .select2-container .select2-selection--single {
    min-height: 48px !important;
    height: 48px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 12px !important;
    background: #fff !important;
    display: flex !important;
    align-items: center !important;
}

.talep-formu-modern .select2-container--default .select2-selection--single .select2-selection__rendered {
    display: block;
    width: 100%;
    padding: 0 2.2rem 0 0.95rem !important;
    font-size: 0.9375rem !important;
    font-weight: 500;
    line-height: 48px !important;
    color: #0f172a !important;
    overflow: visible !important;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.talep-formu-modern .select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 50% !important;
    right: 10px !important;
    height: auto !important;
    transform: translateY(-50%);
}

.talep-formu-modern .select2-container--default .select2-selection--single .select2-selection__arrow b {
    margin-top: 0 !important;
}

.talep-formu-modern .select2-container--default.select2-container--focus .select2-selection--single,
.talep-formu-modern .select2-container--default.select2-container--open .select2-selection--single {
    border-color: rgba(13, 148, 136, 0.55) !important;
    box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.12) !important;
}

.talep-formu-modern .tf-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
    align-items: stretch;
}

.talep-formu-modern .tf-row--price {
    grid-template-columns: 1fr 1fr 0.9fr;
}

.talep-formu-modern .tf-form-grid--single {
    grid-template-columns: minmax(0, 1fr);
    max-width: 680px;
    margin: 0 auto;
}

.talep-formu-modern .tf-form-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(226, 232, 240, 0.95);
}

.talep-formu-modern .tf-form-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(135deg, #14b8a6 0%, #0d9488 52%, #0f766e 100%);
    border: none;
    border-radius: 999px;
    box-shadow: 0 8px 20px rgba(13, 148, 136, 0.28);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.talep-formu-modern .tf-form-submit:hover {
    box-shadow: 0 12px 26px rgba(13, 148, 136, 0.34);
    transform: translateY(-1px);
}

.talep-formu-modern .tf-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #64748b;
    text-decoration: none !important;
}

.talep-formu-modern .tf-back-link:hover {
    color: #0f766e;
}

@media (max-width: 991px) {
    .talep-formu-modern .tf-form-grid {
        grid-template-columns: 1fr;
    }

    .talep-formu-modern .tf-row,
    .talep-formu-modern .tf-row--price {
        grid-template-columns: 1fr 1fr;
    }

    .talep-formu-modern .tf-row > :last-child,
    .talep-formu-modern .tf-row--price > :last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767px) {
    .tf-choice__grid {
        grid-template-columns: 1fr;
    }

    .talep-formu-modern .tf-row,
    .talep-formu-modern .tf-row--price {
        grid-template-columns: 1fr;
    }

    .talep-formu-modern .tf-row > :last-child,
    .talep-formu-modern .tf-row--price > :last-child {
        grid-column: auto;
    }

    .talep-formu-modern .tf-form-actions {
        justify-content: stretch;
    }

    .talep-formu-modern .tf-form-submit {
        width: 100%;
    }
}
