/*
 * Politics Today — sayfa formu (sayfa türü "Form")
 * Alanların HTML'i libs/form-olustur (eleman()) üretir: .el > .tit (.ques, .des) + .in (input / .radios / .checkboxes / .selectbox),
 * bölüm başlığı .sec. Gönderim, hata ve teşekkür kutuları views/sayfa.php'de.
 */
.pt-sf-section {
    padding-top: 0;
}

.pt-sf-kutu {
    /* sayfa metniyle (.pt-page-content-body) aynı sütun */
    max-width: 920px;
    margin: 10px auto 70px;
    font-family: Tiempos, "Times New Roman", Times, Georgia, serif;
    color: #333;
}

.pt-sf-baslik {
    margin: 0 0 10px;
    font-family: Tiempos, "Times New Roman", Times, Georgia, serif;
    font-size: 31px;
    line-height: 40px;
    font-weight: 600;
    color: #000;
}

.pt-sf-aciklama {
    margin: 0 0 26px;
    font-size: 16px;
    line-height: 28px;
}

/* Soru kutuları */
.pt-sf .el {
    position: relative;
    margin: 0 0 16px;
    padding: 20px 22px;
    border: 1px solid #ddd;
    border-left: 3px solid #000;
    background: #fff;
}

.pt-sf .el .here {
    display: none;
}

.pt-sf .ques {
    font-size: 18px;
    line-height: 26px;
    font-weight: 600;
    color: #111;
}

.pt-sf .des {
    margin-top: 4px;
    font-size: 14px;
    line-height: 22px;
    color: #666;
}

.pt-sf .in {
    margin-top: 14px;
}

.pt-sf input[type=text],
.pt-sf input[type=email],
.pt-sf input[type=number],
.pt-sf textarea,
.pt-sf select {
    width: 100%;
    box-sizing: border-box;
    padding: 8px 2px;
    border: 0;
    border-bottom: 1px solid #999;
    border-radius: 0;
    background: transparent;
    font-family: inherit;
    font-size: 16px;
    line-height: 24px;
    color: #111;
}

.pt-sf textarea {
    min-height: 120px;
    padding: 10px 12px;
    border: 1px solid #ccc;
    resize: vertical;
}

.pt-sf select {
    padding: 9px 10px;
    border: 1px solid #ccc;
    background: #fff;
}

.pt-sf input:focus,
.pt-sf textarea:focus,
.pt-sf select:focus {
    outline: 2px solid #dff44f;
    outline-offset: 2px;
    border-color: #000;
}

/* Telefon: ülke kodu / +90 önekiyle yan yana */
.pt-sf .input.in {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pt-sf .cep_kod {
    flex: 0 0 auto;
    font-weight: 600;
}

.pt-sf .ulke_kod {
    flex: 0 0 auto;
}

.pt-sf .ulke_kod select {
    width: auto;
    min-width: 170px;
}

/* Seçenekler */
.pt-sf .checkbox,
.pt-sf .radio {
    margin: 6px 0;
}

.pt-sf .checkbox label,
.pt-sf .radio label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 16px;
    line-height: 24px;
    cursor: pointer;
}

.pt-sf .box {
    flex: 0 0 auto;
    margin-top: 3px;
}

.pt-sf .box #tik {
    display: none;
}

.pt-sf .box input {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: #000;
    cursor: pointer;
}

.pt-sf .radio_secim_sil {
    font-size: 13px;
    color: #666;
    text-decoration: underline;
    cursor: pointer;
}

/* Tablo soruları: her satır bir başlık + seçenekler */
.pt-sf .scnk {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 20px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.pt-sf .scnk > div:first-child {
    flex: 1 1 100%;
    font-weight: 600;
}

.pt-sf .scnk .radio,
.pt-sf .scnk .checkbox {
    margin: 0;
}

/* Bölüm başlığı */
.pt-sf .sec {
    margin: 34px 0 14px;
}

.pt-sf .sec h2 {
    margin: 0 0 6px;
    font-size: 24px;
    line-height: 32px;
    font-weight: 600;
    color: #000;
}

/* Hatalar */
.pt-sf .el.hatali {
    border-left-color: #d90505;
}

.pt-sf-hata {
    margin-top: 10px;
    font-family: Solido, sans-serif;
    font-size: 13px;
    line-height: 18px;
    font-weight: 600;
    color: #d90505;
}

/* Gizlilik onayı */
.pt-sf-onay {
    margin: 22px 0 6px;
    font-size: 15px;
    line-height: 22px;
}

.pt-sf-onay label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.pt-sf-onay input {
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    accent-color: #000;
    flex: 0 0 auto;
}

.pt-sf-onay a {
    color: #0075f8;
}

.pt-sf-onay.hatali label {
    color: #d90505;
}

/* Bot tuzağı alanı: ekranda ve ekran okuyucuda görünmez */
.pt-sf-tuzak {
    position: absolute !important;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.pt-sf-mesaj {
    min-height: 1px;
    margin: 14px 0;
    font-family: Solido, sans-serif;
    font-size: 14px;
    font-weight: 600;
}

.pt-sf-mesaj.hata {
    color: #d90505;
}

.pt-sf-gonder {
    padding: 13px 36px;
    border: 2px solid #000;
    background: #000;
    color: #fff;
    font-family: Solido, sans-serif;
    font-size: 14px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: .12em;
    cursor: pointer;
    transition: background-color .2s, color .2s, border-color .2s;
}

.pt-sf-gonder:hover,
.pt-sf-gonder:focus-visible {
    border-color: #dff44f;
    background: #dff44f;
    color: #000;
}

.pt-sf-gonder:disabled {
    opacity: .6;
    cursor: default;
}

.pt-sf-tamam {
    padding: 22px 24px;
    border-left: 4px solid #9cb900;
    background: #f5f9e3;
    font-size: 18px;
    line-height: 26px;
    font-weight: 600;
    color: #111;
}

.pt-sf-kapali {
    padding: 18px 22px;
    border-left: 4px solid #999;
    background: #f5f5f5;
    font-size: 16px;
    line-height: 24px;
}

/* Dosya yükleme: .files.in > a.add_file + input[type=file] (gizli) + .info, seçilenler .selected_files */
.pt-sf .files input[type=file] {
    display: none;
}

.pt-sf .add_file {
    display: inline-block;
    padding: 9px 22px;
    border: 2px solid #000;
    font-family: Solido, sans-serif;
    font-size: 13px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #000;
    cursor: pointer;
    transition: background-color .2s, border-color .2s;
}

.pt-sf .add_file:hover,
.pt-sf .add_file:focus-visible {
    border-color: #dff44f;
    background: #dff44f;
}

.pt-sf .files .info {
    margin-top: 10px;
    font-size: 13px;
    line-height: 20px;
    color: #666;
}

.pt-sf .selected_files:not(:empty) {
    margin-top: 12px;
}

.pt-sf-dosya {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 6px 0;
    border-bottom: 1px solid #eee;
    font-size: 15px;
    line-height: 22px;
    word-break: break-all;
}

.pt-sf-dosya-sil {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    border: 1px solid #ccc;
    background: #fff;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}

.pt-sf-dosya-sil:hover {
    border-color: #d90505;
    color: #d90505;
}

@media (max-width: 767px) {
    .pt-sf .el {
        padding: 16px;
    }

    .pt-sf-baslik {
        font-size: 26px;
        line-height: 34px;
    }

    .pt-sf .input.in {
        flex-wrap: wrap;
    }
}
