/* ============================================================
   BTP Public / Staff Dashboard Styles
   ============================================================ */

.btp-public-wrap { max-width:860px; margin:0 auto; font-family:inherit; }

/* ----- Header ----- */
.btp-pub-header { display:flex; justify-content:space-between; align-items:center;
    background:linear-gradient(135deg,#1e3a5f,#2271b1); color:#fff;
    padding:20px 24px; border-radius:8px; margin-bottom:20px; }
.btp-pub-header h2 { margin:0; font-size:20px; }
.btp-pub-tarih { font-size:13px; opacity:.85; }

/* ----- Sections ----- */
.btp-pub-section { margin-bottom:28px; }
.btp-pub-section-title { font-size:16px; font-weight:700; color:#1d2327;
    border-left:4px solid #2271b1; padding-left:12px; margin-bottom:14px; }
.btp-pub-empty { color:#646970; font-style:italic; padding:16px; text-align:center;
    background:#f6f7f7; border-radius:4px; }

/* ----- Task item (today) ----- */
.btp-gorev-listesi { display:flex; flex-direction:column; gap:10px; }
.btp-gorev-item { display:flex; justify-content:space-between; align-items:center;
    padding:14px 18px; border:1px solid #dcdcde; border-radius:6px; background:#fff;
    transition:background .2s; }
.btp-gorev-item.btp-durum-tamamlandi { background:#f0fdf4; border-color:#a5d6a7; }
.btp-gorev-item.btp-durum-atlandi    { background:#fef2f2; border-color:#ef9a9a; opacity:.75; }

.btp-gorev-bilgi { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.btp-gorev-bilgi strong { font-size:15px; }
.btp-kat-chip { background:#f0f0f1; padding:2px 8px; border-radius:20px; font-size:12px; color:#646970; }
.btp-sefer { font-size:11px; color:#8b8b8b; }

.btp-gorev-durum { display:flex; gap:8px; }

/* ----- Buttons ----- */
.btp-btn { display:inline-flex; align-items:center; gap:5px; padding:7px 16px;
    border:none; border-radius:4px; cursor:pointer; font-size:13px; font-weight:600;
    transition:opacity .15s; text-decoration:none; }
.btp-btn:hover { opacity:.85; }
.btp-btn-green { background:#00a32a; color:#fff; }
.btp-btn-gray  { background:#dcdcde; color:#3c434a; }
.btp-btn-blue  { background:#2271b1; color:#fff; }

/* ----- Tags ----- */
.btp-tur { display:inline-block; padding:2px 8px; border-radius:3px; font-size:11px; font-weight:600; }
.btp-tur-lab      { background:#e8f5e9; color:#1b5e20; }
.btp-tur-ofis     { background:#e3f2fd; color:#0d47a1; }
.btp-tur-mutfak   { background:#fff3e0; color:#e65100; }
.btp-tur-tuvalet  { background:#fce4ec; color:#880e4f; }
.btp-tur-seminer  { background:#f3e5f5; color:#4a148c; }
.btp-tur-diger    { background:#f5f5f5; color:#424242; }

.btp-status { display:inline-block; padding:3px 10px; border-radius:20px; font-size:11px; font-weight:600; }
.btp-status-bekliyor   { background:#fff8e1; color:#f57f17; }
.btp-status-tamamlandi { background:#e8f5e9; color:#1b5e20; }
.btp-status-atlandi    { background:#ffebee; color:#b71c1c; }

/* ----- Weekly day list ----- */
.btp-hafta-gun { margin-bottom:12px; border:1px solid #e5e5e5; border-radius:6px; overflow:hidden; }
.btp-hafta-gun.btp-bugun { border-color:#2271b1; }
.btp-hafta-gun-baslik { background:#f6f7f7; padding:10px 16px; font-weight:600; font-size:14px;
    display:flex; align-items:center; gap:10px; }
.btp-hafta-gun.btp-bugun .btp-hafta-gun-baslik { background:#2271b1; color:#fff; }
.btp-bugun-badge { background:#fff; color:#2271b1; font-size:10px; padding:2px 8px; border-radius:20px; }
.btp-hafta-gun.btp-bugun .btp-bugun-badge { background:#1a5fa8; color:#fff; }

.btp-gorev-item-mini { display:flex; align-items:center; gap:8px; padding:8px 16px;
    border-top:1px solid #f0f0f1; font-size:13px; }
.btp-gorev-item-mini.btp-durum-tamamlandi { background:#f0fdf4; }
.btp-gorev-item-mini.btp-durum-atlandi    { background:#fef2f2; opacity:.75; }

/* ----- Modal ----- */
.btp-modal { position:fixed; top:0; left:0; width:100%; height:100%;
    background:rgba(0,0,0,.5); z-index:99999; display:flex; align-items:center; justify-content:center; }
.btp-modal-inner { background:#fff; padding:24px; border-radius:8px;
    width:90%; max-width:400px; box-shadow:0 8px 32px rgba(0,0,0,.2); }
.btp-modal-inner h3 { margin:0 0 14px; }
.btp-modal-inner textarea { width:100%; box-sizing:border-box; padding:10px;
    border:1px solid #dcdcde; border-radius:4px; font-size:14px; resize:vertical; }
.btp-modal-actions { display:flex; gap:10px; margin-top:14px; }

/* ----- Nav ----- */
.btp-hafta-nav { display:flex; align-items:center; gap:10px; margin-bottom:16px; flex-wrap:wrap; }

/* ----- Public calendar ----- */
.btp-takvim-pub .btp-takvim-grid { display:grid; grid-template-columns:repeat(7,1fr); gap:6px; overflow-x:auto; }
.btp-takvim-pub .btp-gun-kolon { border:1px solid #dcdcde; border-radius:4px; }
.btp-takvim-pub .btp-gun-baslik { background:#f6f7f7; padding:6px; text-align:center; font-size:11px; border-bottom:1px solid #dcdcde; }
.btp-takvim-pub .btp-bugun .btp-gun-baslik { background:#2271b1; color:#fff; }
.btp-takvim-pub .btp-gun-kat { padding:5px; }
.btp-takvim-pub .btp-kat-baslik { font-size:9px; font-weight:700; text-transform:uppercase; color:#646970; }
.btp-takvim-pub .btp-gorev-kart { font-size:10px; padding:4px 5px; margin-bottom:3px;
    border:1px solid #e5e5e5; border-radius:2px; background:#f9f9f9; }
.btp-takvim-pub .btp-oda-ad { display:block; font-weight:600; }
.btp-takvim-pub .btp-personeller { display:flex; flex-wrap:wrap; gap:2px; margin-top:2px; }
.btp-takvim-pub .btp-p-chip { background:#e8f0fe; color:#1a56db; padding:1px 4px; border-radius:8px; font-size:9px; }
.btp-takvim-pub .btp-gun-bos { text-align:center; padding:16px; color:#a7aaad; font-size:11px; }

/* Notice */
.btp-notice { background:#fff3cd; border:1px solid #ffc107; padding:12px 16px; border-radius:4px; }

@media (max-width:600px) {
    .btp-gorev-item { flex-direction:column; align-items:flex-start; gap:10px; }
    .btp-takvim-pub .btp-takvim-grid { grid-template-columns:repeat(3,1fr); }
}
