/* ===========================================================================
   Provizyon arayüzü ortak stilleri (DNS paneli + provizyon durum ekranı).
   İnline CSS yerine bu dosya kullanılır. header.php'de include edilir.
   =========================================================================== */

/* ---- Genel yardımcılar ---- */
.txt-right{text-align:right;}
.dns-hidden{display:none;}
.dns-plus{font-size:16px;line-height:1;}

/* ===================== DNS PANELİ ===================== */
.dns-panel{margin-top:64px;max-width:1080px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;color:#1d2733;padding-bottom:90px;}
.dns-panel *{box-sizing:border-box;}

.dns-topbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-bottom:18px;}
.dns-topbar h3{margin:0;font-size:20px;font-weight:600;color:#1d2733;}
.dns-topbar .dns-sub{margin:4px 0 0;font-size:13px;color:#6b7684;}
.dns-topbar .dns-sub .dns-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#f6821f;margin-right:6px;vertical-align:middle;}

.dns-btn{display:inline-flex;align-items:center;gap:7px;border:0;border-radius:7px;padding:9px 16px;font-size:14px;font-weight:600;cursor:pointer;text-decoration:none;line-height:1;transition:background .15s,box-shadow .15s;}
.dns-btn-primary{background:#f6821f;color:#fff;box-shadow:0 1px 2px rgba(0,0,0,.12);}
.dns-btn-primary:hover{background:#e0740f;color:#fff;text-decoration:none;}
.dns-btn-ghost{background:#fff;color:#38434f;border:1px solid #d6dbe1;}
.dns-btn-ghost:hover{background:#f4f6f8;color:#38434f;text-decoration:none;}

.dns-card{background:#fff;border:1px solid #e4e8ec;border-radius:10px;box-shadow:0 1px 3px rgba(20,30,45,.05);margin-bottom:18px;overflow:hidden;}

.dns-add{border:1px solid #f3d3ad;background:#fffdfa;}
.dns-add-head{display:flex;align-items:center;gap:8px;padding:14px 18px;font-size:14px;font-weight:600;color:#b4600a;border-bottom:1px solid #f3e3cd;}
.dns-add-body{padding:16px 18px;}
.dns-add-grid{display:grid;grid-template-columns:150px 1fr 1fr;gap:14px;align-items:end;}
.dns-field label{display:block;font-size:12px;font-weight:600;color:#54606d;margin:0 0 6px;text-transform:uppercase;letter-spacing:.03em;}
.dns-prio-field{margin-top:14px;max-width:200px;}
.dns-hint{margin-top:12px;font-size:12.5px;color:#8a94a0;}
.dns-add-actions{margin-top:16px;display:flex;gap:10px;}

.dns-input,.dns-select{width:100%;height:38px;border:1px solid #d6dbe1;border-radius:7px;padding:0 11px;font-size:14px;color:#1d2733;background:#fff;transition:border-color .15s,box-shadow .15s;}
.dns-input:focus,.dns-select:focus{outline:none;border-color:#f6821f;box-shadow:0 0 0 3px rgba(246,130,31,.14);}
.dns-select{appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6'><path d='M0 0l5 6 5-6z' fill='%236b7684'/></svg>");background-repeat:no-repeat;background-position:right 12px center;padding-right:30px;}

.dns-table-head{display:flex;align-items:center;justify-content:space-between;padding:14px 18px;border-bottom:1px solid #eef1f4;}
.dns-table-head h4{margin:0;font-size:14px;font-weight:600;color:#1d2733;}
.dns-count{font-size:12px;color:#6b7684;background:#f1f4f7;border-radius:20px;padding:3px 10px;font-weight:600;}

.dns-table-scroll{overflow-x:auto;}
.dns-table{width:100%;border-collapse:collapse;font-size:13.5px;min-width:760px;}
.dns-table thead th{text-align:left;font-size:11px;font-weight:700;color:#8a94a0;text-transform:uppercase;letter-spacing:.04em;padding:11px 14px;border-bottom:1px solid #eef1f4;background:#fafbfc;white-space:nowrap;}
.dns-table tbody td{padding:10px 14px;border-bottom:1px solid #f1f4f7;vertical-align:middle;}
.dns-table tbody tr:last-child td{border-bottom:0;}
.dns-table tbody tr:hover{background:#fafbfc;}

.dns-type-badge{display:inline-block;min-width:52px;text-align:center;color:#fff;font-weight:700;font-size:11px;letter-spacing:.03em;border-radius:5px;padding:4px 8px;margin-bottom:6px;background:#5a6570;}
.dns-type-badge.type-A,.dns-type-badge.type-AAAA{background:#2f7ed8;}
.dns-type-badge.type-CNAME{background:#16a085;}
.dns-type-badge.type-MX{background:#8e44ad;}
.dns-type-badge.type-TXT{background:#7f8c8d;}
.dns-type-badge.type-NS{background:#d35400;}
.dns-type-badge.type-SRV{background:#c0392b;}
.dns-type-badge.type-CAA{background:#27ae60;}

.dns-cell-type{width:150px;}
.dns-cell-type .dns-select{height:34px;font-weight:600;}
.dns-cell-name{min-width:200px;}
.dns-cell-content{min-width:230px;}
.dns-mx-prio{display:flex;gap:8px;align-items:center;margin-top:6px;}
.dns-mx-prio span{font-size:11px;color:#8a94a0;font-weight:600;}
.dns-mx-prio input{width:80px;height:32px;}
.dns-table .dns-input{height:34px;}

.dns-pill{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:600;border-radius:20px;padding:4px 11px;white-space:nowrap;}
.dns-pill-proxied{background:#fdeede;color:#c96a0b;}
.dns-pill-dns{background:#eef1f4;color:#66707b;}
.dns-pill .dns-cloud{width:7px;height:7px;border-radius:50%;}
.dns-pill-proxied .dns-cloud{background:#f6821f;}
.dns-pill-dns .dns-cloud{background:#9aa4af;}
.dns-ttl{font-size:13px;color:#495562;}

.dns-del{display:inline-flex;align-items:center;gap:5px;color:#c0392b;font-size:13px;font-weight:600;text-decoration:none;padding:5px 9px;border-radius:6px;transition:background .15s;}
.dns-del:hover{background:#fdecea;color:#a5281b;text-decoration:none;}

.dns-empty{padding:40px 20px;text-align:center;color:#8a94a0;}
.dns-empty strong{display:block;color:#54606d;font-size:15px;margin-bottom:4px;}

.dns-savebar{position:sticky;bottom:0;left:0;background:rgba(255,255,255,.92);backdrop-filter:blur(4px);border-top:1px solid #e4e8ec;padding:12px 4px;display:flex;justify-content:flex-end;align-items:center;gap:14px;margin-top:4px;}
.dns-savebar .dns-savehint{font-size:12.5px;color:#8a94a0;margin-right:auto;}

@media (max-width:720px){
  .dns-add-grid{grid-template-columns:1fr;}
}

/* ===================== PROVİZYON DURUM EKRANI ===================== */
.pz{margin-top:64px;max-width:900px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;color:#1d2733;padding-bottom:60px;}
.pz *{box-sizing:border-box;}
.pz-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-bottom:18px;}
.pz-head h3{margin:0;font-size:19px;font-weight:600;}
.pz-head .sub{margin:4px 0 0;font-size:13px;color:#6b7684;}
.pz-durum{font-size:13px;font-weight:700;padding:6px 14px;border-radius:20px;color:#fff;background:#555;}
.pz-durum.d-kuyrukta,.pz-durum.d-iptal{background:#8a94a0;}
.pz-durum.d-calisiyor{background:#2f6fdb;}
.pz-durum.d-bekliyor{background:#c96a0b;}
.pz-durum.d-tamam{background:#1f9d55;}
.pz-durum.d-hata{background:#c0392b;}
.pz-card{background:#fff;border:1px solid #e4e8ec;border-radius:10px;box-shadow:0 1px 3px rgba(20,30,45,.05);overflow:hidden;}
.pz-step{display:flex;align-items:flex-start;gap:14px;padding:16px 18px;border-bottom:1px solid #f1f4f7;}
.pz-step:last-child{border-bottom:0;}
.pz-no{flex:0 0 28px;height:28px;border-radius:50%;background:#f1f4f7;color:#66707b;font-weight:700;font-size:13px;display:flex;align-items:center;justify-content:center;}
.pz-step.tamam .pz-no{background:#e3f6ec;color:#1f9d55;}
.pz-step.calisiyor .pz-no{background:#e6f0ff;color:#2f6fdb;}
.pz-step.hata .pz-no{background:#fdecea;color:#c0392b;}
.pz-body{flex:1;min-width:0;}
.pz-adi{font-size:14.5px;font-weight:600;}
.pz-badge{display:inline-block;font-size:11.5px;font-weight:700;border-radius:12px;padding:2px 10px;margin-left:8px;vertical-align:middle;color:#555;background:#eee;}
.pz-badge.s-pending,.pz-badge.s-atlandi{color:#8a94a0;background:#eef1f4;}
.pz-badge.s-calisiyor{color:#2f6fdb;background:#e6f0ff;}
.pz-badge.s-tamam{color:#1f9d55;background:#e3f6ec;}
.pz-badge.s-hata{color:#c0392b;background:#fdecea;}
.pz-log{margin-top:8px;font-size:12px;color:#54606d;background:#fafbfc;border:1px solid #eef1f4;border-radius:6px;padding:8px 10px;white-space:pre-wrap;word-break:break-word;max-height:180px;overflow:auto;font-family:Consolas,monospace;}
.pz-actions{margin-top:18px;display:flex;gap:10px;align-items:center;}
.pz-btn{display:inline-flex;align-items:center;border:0;border-radius:7px;padding:9px 16px;font-size:14px;font-weight:600;cursor:pointer;text-decoration:none;}
.pz-btn-primary{background:#f6821f;color:#fff;} .pz-btn-primary:hover{background:#e0740f;color:#fff;text-decoration:none;}
.pz-btn-ghost{background:#fff;color:#38434f;border:1px solid #d6dbe1;} .pz-btn-ghost:hover{background:#f4f6f8;color:#38434f;text-decoration:none;}
.pz-hata{margin-top:12px;background:#fdecea;border:1px solid #f5c6c0;color:#a5281b;border-radius:8px;padding:10px 12px;font-size:13px;}
.pz-canli{font-size:12px;color:#2f6fdb;}
.pz-komut{margin-bottom:16px;background:#fff8e6;border:1px solid #f3d98a;border-radius:8px;padding:12px 14px;font-size:13px;color:#7a5a12;}
.pz-komut code{display:block;margin-top:8px;background:#2b2b2b;color:#e6e6e6;padding:9px 11px;border-radius:6px;font-family:Consolas,monospace;font-size:12.5px;word-break:break-all;user-select:all;}

/* ===================== DOMAINLERİM (kendi alan adlarım) ===================== */
.dom-ekle .form-control{margin:0 8px 8px 0;}
.dom-ekle .dom-domain{min-width:260px;}
.dom-ekle .dom-not{min-width:220px;}
.dom-tablo td{vertical-align:middle;}
.dom-tablo th.dom-lbl{width:190px;color:#54606d;font-weight:600;}
.dom-ns .form-control{width:100%;max-width:440px;margin-bottom:8px;}

/* ===================== SUNUCU SVN GÜNCELLE ===================== */
.svn-form{display:inline;}
.svn-cikti{max-height:320px;overflow:auto;margin:0;}

/* ===================== YENİ SİTE FORMU — Cloudflare domain durumu ===================== */
.cf-durum{margin-top:6px;font-size:12.5px;min-height:16px;}
.cf-durum.cf-bekliyor{color:#8a94a0;}
.cf-durum.cf-var{color:#1f9d55;}
.cf-durum.cf-yok{color:#c96a0b;}
