/* Halı saha public consent fields; existing portal palette is preserved. */
.pau-hs-public #txtAdres {
    display: block;
    box-sizing: border-box;
    width: 100%;
    min-height: 100px;
    max-width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--hs-border-strong);
    border-radius: 6px;
    outline: 0;
    background: var(--hs-field);
    color: var(--hs-text);
    font: inherit;
    font-size: .95rem;
    line-height: 1.6;
    resize: vertical;
}

.pau-hs-public #txtAdres:focus {
    border-color: var(--hs-yellow);
}

.pau-hs-public .pau-hs-consents [hidden] {
    display: none;
}

.pau-hs-public .pau-hs-policy-link:disabled,
.pau-hs-public .pau-hs-consent input:disabled + .pau-hs-consent-copy label {
    color: var(--hs-muted);
    cursor: not-allowed;
}

.pau-hs-public #consentMessage {
    margin: 0;
    line-height: 1.6;
}

.pau-hs-public #lblAdresK,
.pau-hs-public #lblAdresS {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

/* Halı saha onay arşivi — admin list and Bootstrap modal only. */
.pau-hs-onay-admin-column,
.pau-hs-onay-admin-cell {
    text-align: center;
}

.pau-hs-onay-admin-column {
    min-width: 100px;
}

.pau-hs-onay-admin-open {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid #655b24;
    border-radius: 6px;
    background: #172536;
    color: #ffcc00;
    font-size: 19px;
    cursor: pointer;
    transition: background-color .3s ease, border-color .3s ease;
}

.pau-hs-onay-admin-open:hover,
.pau-hs-onay-admin-open:focus {
    background: #26374b;
    border-color: #ffcc00;
    color: #ffcc00;
}

.pau-hs-onay-admin-open:focus-visible,
.pau-hs-onay-admin-tabs button:focus-visible {
    outline: 2px solid #ffcc00;
    outline-offset: 3px;
}

#ModalOnayliBelgeler .modal-dialog {
    width: calc(100% - 32px);
    max-width: 1060px;
    margin: 30px auto;
}

#ModalOnayliBelgeler .modal-content {
    background: #172536;
    border: 1px solid #435064;
    color: #fff;
    font-family: Barlow, Arial, sans-serif;
}

#ModalOnayliBelgeler .modal-header,
#ModalOnayliBelgeler .modal-footer {
    border-color: #435064;
}

#ModalOnayliBelgeler .modal-title {
    color: #fff;
    font-size: 21px;
    font-weight: 800;
}

#ModalOnayliBelgeler .close {
    min-width: 44px;
    min-height: 44px;
    color: #fff;
    opacity: 1;
    text-shadow: none;
}

#ModalOnayliBelgeler .modal-body {
    max-height: calc(100vh - 190px);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
}

#ModalOnayliBelgeler [hidden] {
    display: none !important;
}

#ModalOnayliBelgeler .modal-footer .btn {
    min-height: 44px;
    white-space: normal;
    text-decoration: none;
}

.pau-hs-onay-admin-description {
    margin: 0 0 18px;
    color: #c9d1dc;
    font-size: 14px;
    line-height: 1.6;
}

.pau-hs-onay-admin-status {
    margin: 0;
    padding: 18px;
    border: 1px solid #69768a;
    border-radius: 6px;
    color: #fff;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.pau-hs-onay-admin-status.is-loading,
.pau-hs-onay-admin-status.is-empty {
    border-color: #a69237;
    color: #ffdf60;
}

.pau-hs-onay-admin-status.is-error,
.pau-hs-onay-admin-status.is-unauthorized,
.pau-hs-onay-admin-status.is-forbidden {
    border-color: #dd8f8f;
    color: #ffd0d0;
}

.pau-hs-onay-admin-details {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 14px 24px;
    margin: 0 0 22px;
}

.pau-hs-onay-admin-details > div {
    min-width: 0;
}

.pau-hs-onay-admin-details dt {
    margin: 0 0 4px;
    color: #aebbc9;
    font-size: 12px;
    font-weight: 700;
}

.pau-hs-onay-admin-details dd {
    margin: 0;
    color: #fff;
    font-size: 15px;
    line-height: 1.5;
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: pre-wrap;
}

.pau-hs-onay-admin-wide {
    grid-column: 1 / -1;
}

.pau-hs-onay-admin-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 14px;
}

.pau-hs-onay-admin-tabs button {
    min-height: 44px;
    padding: 10px 16px;
    border: 1px solid #69768a;
    border-radius: 6px;
    background: transparent;
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    line-height: 1.4;
    text-align: center;
}

.pau-hs-onay-admin-tabs button[aria-selected="true"] {
    border-color: #ffcc00;
    background: #ffcc00;
    color: #172536;
}

.pau-hs-onay-admin-panel {
    min-width: 0;
}

.pau-hs-onay-admin-frame {
    display: block;
    width: 100%;
    height: 450px;
    border: 1px solid #69768a;
    border-radius: 4px;
    background: #fff;
}

.pau-hs-onay-admin-hash {
    margin: 10px 0 0;
    color: #b7c3d1;
    font-size: 11px;
    line-height: 1.5;
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* Applies only inside the isolated archival iframe, not the portal body. */
body.pau-hs-onay-document {
    margin: 20px;
    background: #fff;
    color: #172536;
    font: 16px/1.7 Arial, sans-serif;
    overflow-wrap: anywhere;
}

.pau-hs-onay-document img,
.pau-hs-onay-document table {
    max-width: 100%;
}

.pau-hs-onay-document a {
    color: #172536;
    text-decoration: none;
}

@media (max-width: 768px) {
    #ModalOnayliBelgeler .modal-dialog {
        margin: 12px auto;
    }

    #ModalOnayliBelgeler .modal-body {
        max-height: calc(100vh - 160px);
        padding: 16px;
    }

    .pau-hs-onay-admin-frame {
        height: 390px;
    }
}

@media (max-width: 480px) {
    #ModalOnayliBelgeler .modal-dialog {
        width: calc(100% - 16px);
        margin: 8px auto;
    }

    .pau-hs-onay-admin-details {
        grid-template-columns: minmax(0, 1fr);
    }

    .pau-hs-onay-admin-tabs button {
        flex: 1 1 100%;
    }

    .pau-hs-onay-admin-frame {
        height: 350px;
    }

    #ModalOnayliBelgeler .modal-footer {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 8px;
    }

    #ModalOnayliBelgeler .modal-footer .btn {
        margin: 0;
    }
}

/* =====================================================================
   HAVA DURUMU (2026-10-30) — saat dugmesindeki yagis olasiligi, %20 ve
   ustu icin onay kutusu (HaliSaha/Index) ve admin Kiralamalar rozeti.
   Zemin opak: arka plan fotografi metnin altindan gecmesin.
   ===================================================================== */
.pau-hs-slots .time-btn .hava-etiket {
    display: block;
    margin-top: 2px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #7dd3fc;
}
.pau-hs-slots .time-btn.yagis-riskli .hava-etiket { color: #fbbf24; }
.pau-hs-slots .time-btn.available.selected .hava-etiket { color: #0b3b5c; }

/* Yagis olasiligi olan saatlerde silik yagmur deseni (sahip, 2026-10-30): yazinin okunmasini
   engellemesin diye cok dusuk opaklik; %20+ (yagis-riskli) biraz daha belirgin. Secili dugmede yok. */
.pau-hs-slots .time-btn.available.yagisli:not(.selected),
.pau-hs-slots .time-btn.available.yagisli:not(.selected):hover {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Cg stroke='%237dd3fc' stroke-opacity='0.11' stroke-width='1.2' stroke-linecap='round'%3E%3Cline x1='6' y1='2' x2='3' y2='9'/%3E%3Cline x1='20' y1='9' x2='17' y2='16'/%3E%3Cline x1='11' y1='17' x2='8' y2='24'/%3E%3Cline x1='25' y1='21' x2='22' y2='28'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: repeat;
}
.pau-hs-slots .time-btn.available.yagis-riskli:not(.selected),
.pau-hs-slots .time-btn.available.yagis-riskli:not(.selected):hover {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cg stroke='%237dd3fc' stroke-opacity='0.19' stroke-width='1.3' stroke-linecap='round'%3E%3Cline x1='5' y1='1' x2='2' y2='8'/%3E%3Cline x1='17' y1='7' x2='14' y2='14'/%3E%3Cline x1='10' y1='15' x2='7' y2='22'/%3E%3Cline x1='22' y1='18' x2='19' y2='25'/%3E%3C/g%3E%3C/svg%3E");
}

.pau-hs-public .pau-hs-hava,
.pau-hs-hava {
    margin: 16px 0 4px;
    padding: 14px 16px;
    border: 1px solid #ef4444;
    border-radius: 0;
    background: #7f1d1d;   /* opak kirmizi: goze carpsin (sahip, 2026-10-30) */
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
    color: #fff;
}
.pau-hs-hava .pau-hs-consent label,
.pau-hs-hava .pau-hs-hava-metin { color: #fff !important; }
.pau-hs-hava[hidden] { display: none !important; }
.pau-hs-hava-baslik {
    margin: 0 0 6px;
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
}
.pau-hs-hava-baslik .fa { color: #fde68a; margin-right: 6px; }
.pau-hs-hava-baslik b { color: #fde68a; }
.pau-hs-hava-metin {
    margin: 0 0 10px;
    font-size: 0.9rem;
    line-height: 1.55;
    color: #e5e7eb;
}
.pau-hs-hava-metin b { color: #fde68a; }
.pau-hs-hava .pau-hs-consent { margin: 0; }

/* admin Kiralamalar: hava onayi sutunu */
.pau-hs-hava-rozet {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 8px;
    border: 1px solid rgba(251, 191, 36, 0.55);
    border-radius: 3px;
    background: rgba(251, 191, 36, 0.12);
    color: #fde68a;
    font-size: 0.78rem;
    font-weight: 800;
    white-space: nowrap;
}
.pau-hs-hava-rozet small {
    display: block;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
}
.pau-hs-hava-yok { color: rgba(255, 255, 255, 0.35); }
