/* ==========================================================================
   NFC Pet ID - Genel Alan Stilleri (Profesyonel Tema)
   ========================================================================== */
:root{
	--nfcpet-primary:#1f6f4f;
	--nfcpet-primary-dark:#154f38;
	--nfcpet-primary-light:#e8f4ee;
	--nfcpet-accent:#3b6fd6;
	--nfcpet-danger:#c0392b;
	--nfcpet-warn:#c07a00;
	--nfcpet-text:#22282c;
	--nfcpet-muted:#6b7680;
	--nfcpet-border:#e7eaec;
	--nfcpet-bg:#f6f8f7;
	--nfcpet-radius:12px;
	--nfcpet-shadow:0 2px 10px rgba(20,30,25,.06);
}

.nfcpet-alert{padding:13px 18px;border-radius:var(--nfcpet-radius);margin-bottom:18px;font-size:14px;border:1px solid transparent}
.nfcpet-alert-success{background:#e9f7ef;color:#1e7e42;border-color:#c7ecd6}
.nfcpet-alert-error{background:#fdecec;color:var(--nfcpet-danger);border-color:#f5c2c0}

.nfcpet-form{max-width:560px;margin-bottom:24px}
.nfcpet-field{margin-bottom:16px;display:flex;flex-direction:column;gap:5px}
.nfcpet-field label{font-weight:600;font-size:13px;color:var(--nfcpet-text)}
.nfcpet-field input,.nfcpet-field select,.nfcpet-field textarea{
	padding:11px 13px;border:1px solid var(--nfcpet-border);border-radius:9px;font-size:14px;
	background:#fff;transition:border-color .15s, box-shadow .15s;
}
.nfcpet-field input:focus,.nfcpet-field select:focus,.nfcpet-field textarea:focus{
	outline:none;border-color:var(--nfcpet-primary);box-shadow:0 0 0 3px var(--nfcpet-primary-light);
}
.nfcpet-field .description{font-size:12px;color:var(--nfcpet-muted);margin:2px 0 0}
.nfcpet-row{display:flex;gap:16px;flex-wrap:wrap}
.nfcpet-row .nfcpet-field{flex:1;min-width:160px}

.nfcpet-btn{display:inline-flex;align-items:center;gap:6px;background:var(--nfcpet-primary);color:#fff;border:none;padding:11px 20px;border-radius:9px;cursor:pointer;text-decoration:none;font-size:14px;font-weight:600;transition:background .15s, transform .1s}
.nfcpet-btn:hover{background:var(--nfcpet-primary-dark);color:#fff}
.nfcpet-btn:active{transform:translateY(1px)}
.nfcpet-btn-sm{padding:7px 14px;font-size:13px;border-radius:7px}
.nfcpet-btn-danger{background:var(--nfcpet-danger)}
.nfcpet-btn-danger:hover{background:#96291d}
.nfcpet-btn-outline{background:transparent;color:var(--nfcpet-primary);border:1px solid var(--nfcpet-primary)}
.nfcpet-btn-outline:hover{background:var(--nfcpet-primary-light);color:var(--nfcpet-primary-dark)}
.nfcpet-link-btn{background:none;border:none;color:var(--nfcpet-danger);cursor:pointer;text-decoration:none;font-size:13px;text-align:left;font-weight:600;padding:8px 10px;border-radius:7px}
.nfcpet-link-btn:hover{background:#fdecec}

/* ===================== Uygulama Kabuğu (Panel Düzeni) ===================== */
.nfcpet-app-shell{
	display:flex;max-width:1240px;margin:0 auto;min-height:560px;background:#fff;
	border:1px solid var(--nfcpet-border);border-radius:18px;overflow:hidden;box-shadow:var(--nfcpet-shadow);
	font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;color:var(--nfcpet-text);
}
.nfcpet-sidebar{
	width:250px;flex-shrink:0;background:linear-gradient(180deg,var(--nfcpet-primary-dark),var(--nfcpet-primary) 85%);
	padding:26px 16px;display:flex;flex-direction:column;color:#fff;
}
.nfcpet-sidebar-brand{font-weight:700;font-size:17px;margin-bottom:26px;padding:0 10px;display:flex;align-items:center;gap:8px;color:#fff}
.nfcpet-sidebar-brand small{display:block;font-weight:400;font-size:11px;opacity:.75;margin-top:2px}
.nfcpet-sidebar-nav{display:flex;flex-direction:column;gap:3px}
.nfcpet-sidebar-nav a{padding:11px 14px;border-radius:9px;text-decoration:none;color:rgba(255,255,255,.82);font-size:14px;font-weight:500;transition:background .12s}
.nfcpet-sidebar-nav a:hover{background:rgba(255,255,255,.10);color:#fff}
.nfcpet-sidebar-nav a.active{background:rgba(255,255,255,.18);color:#fff;font-weight:700}
.nfcpet-main{flex:1;padding:30px 34px;min-width:0;background:var(--nfcpet-bg)}
.nfcpet-main h2{margin-top:0;font-size:22px}
.nfcpet-main h3{font-size:16px;margin:28px 0 12px}
.nfcpet-section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;flex-wrap:wrap;gap:10px}

@media (max-width:900px){
	.nfcpet-app-shell{flex-direction:column;border-radius:12px;max-width:100%}
	.nfcpet-sidebar{width:100%;flex-direction:row;flex-wrap:wrap;padding:16px}
	.nfcpet-sidebar-brand{width:100%}
	.nfcpet-sidebar-nav{flex-direction:row;flex-wrap:wrap}
	.nfcpet-main{padding:20px}
}

/* ===================== İstatistik Kartları ===================== */
.nfcpet-stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:16px;margin-bottom:28px}
.nfcpet-stat-box{background:#fff;border:1px solid var(--nfcpet-border);border-radius:var(--nfcpet-radius);padding:20px;text-align:left;box-shadow:var(--nfcpet-shadow)}
.nfcpet-stat-box .num{display:block;font-size:28px;font-weight:800;color:var(--nfcpet-primary);line-height:1.2}
.nfcpet-stat-box span:last-child{font-size:12.5px;color:var(--nfcpet-muted);font-weight:600;text-transform:uppercase;letter-spacing:.02em}

/* ===================== Sekmeler ===================== */
.nfcpet-subtabs{display:flex;flex-wrap:wrap;gap:6px;margin:18px 0}
.nfcpet-subtabs a{padding:8px 15px;border:1px solid var(--nfcpet-border);border-radius:20px;text-decoration:none;color:var(--nfcpet-text);font-size:13px;font-weight:500;background:#fff}
.nfcpet-subtabs a.active{background:var(--nfcpet-primary);color:#fff;border-color:var(--nfcpet-primary)}

/* ===================== Tablolar ===================== */
.nfcpet-table{width:100%;border-collapse:separate;border-spacing:0;margin-bottom:26px;background:#fff;border:1px solid var(--nfcpet-border);border-radius:var(--nfcpet-radius);overflow:hidden;box-shadow:var(--nfcpet-shadow)}
.nfcpet-table th,.nfcpet-table td{padding:13px 16px;border-bottom:1px solid var(--nfcpet-border);text-align:left;font-size:13.5px}
.nfcpet-table th{background:#fafbfa;color:var(--nfcpet-muted);font-weight:700;text-transform:uppercase;font-size:11.5px;letter-spacing:.03em}
.nfcpet-table tr:last-child td{border-bottom:none}
.nfcpet-table tr:hover td{background:#fafcfb}

/* Durum rozetleri */
.nfcpet-status-pill{display:inline-block;padding:3px 11px;border-radius:20px;font-size:12px;font-weight:700;background:#eef1f0;color:#555}
.nfcpet-status-pill.nfcpet-status-aktif,.nfcpet-status-pill.nfcpet-status-onaylandi,.nfcpet-status-pill.nfcpet-status-tamamlandi{background:#e9f7ef;color:#1e7e42}
.nfcpet-status-pill.nfcpet-status-beklemede,.nfcpet-status-pill.nfcpet-status-odeme_bekliyor{background:#fff4e5;color:var(--nfcpet-warn)}
.nfcpet-status-pill.nfcpet-status-iptal{background:#fdecec;color:var(--nfcpet-danger)}

/* ===================== Hayvan / Kart Izgaraları ===================== */
.nfcpet-pet-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:18px;margin-bottom:26px}
.nfcpet-pet-card{background:#fff;border:1px solid var(--nfcpet-border);border-radius:var(--nfcpet-radius);padding:16px;text-align:center;box-shadow:var(--nfcpet-shadow);transition:transform .15s}
.nfcpet-pet-card:hover{transform:translateY(-2px)}
.nfcpet-pet-card img{width:100%;height:140px;object-fit:cover;border-radius:9px;margin-bottom:12px;background:#f0f0f0}
.nfcpet-badge-lost{background:var(--nfcpet-danger);color:#fff;font-size:11px;padding:2px 9px;border-radius:10px;margin-left:6px;font-weight:700}
.nfcpet-badge-ok{color:#1e7e42;font-size:12px;font-weight:600}
.nfcpet-badge-warn{color:var(--nfcpet-warn);font-size:12px;font-weight:600}

.nfcpet-panel{background:#fff;border:1px solid var(--nfcpet-border);border-radius:var(--nfcpet-radius);padding:20px;margin-bottom:22px;box-shadow:var(--nfcpet-shadow)}
.nfcpet-doc-list{list-style:none;padding:0}
.nfcpet-doc-list li{padding:8px 0;border-bottom:1px solid var(--nfcpet-border)}

.nfcpet-notif-list{list-style:none;padding:0}
.nfcpet-notif-list li{padding:14px 16px;border-radius:10px;margin-bottom:8px;background:#fff;border:1px solid var(--nfcpet-border)}
.nfcpet-notif-list li.unread{border-left:4px solid var(--nfcpet-primary)}

.nfcpet-thread{margin-bottom:16px}
.nfcpet-msg{padding:11px 15px;border-radius:10px;margin-bottom:8px;max-width:80%}
.nfcpet-msg.from-user{background:var(--nfcpet-primary-light);margin-left:auto}
.nfcpet-msg.from-admin{background:#f0f0f0}

/* ===================== Herkese Açık Profil Sayfası ===================== */
.nfcpet-profile-page{max-width:640px;margin:30px auto;padding:0 16px}
.nfcpet-lost-banner{background:var(--nfcpet-danger);color:#fff;text-align:center;padding:18px;border-radius:14px;margin-bottom:16px}
.nfcpet-lost-banner h1{margin:0 0 6px;font-size:22px;color:#fff}
.nfcpet-profile-card{border:1px solid var(--nfcpet-border);border-radius:18px;padding:22px;display:flex;gap:22px;flex-wrap:wrap;box-shadow:var(--nfcpet-shadow)}
.nfcpet-profile-photo img{width:160px;height:160px;object-fit:cover;border-radius:14px;background:#f0f0f0}
.nfcpet-profile-info{flex:1;min-width:200px}
.nfcpet-profile-sub{color:var(--nfcpet-muted);margin-top:-6px}
.nfcpet-emergency-note{background:#fff4e5;border:1px solid #ffd9a0;padding:9px 13px;border-radius:9px;margin:10px 0;font-size:14px}
.nfcpet-profile-actions{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}
.nfcpet-btn-call{background:var(--nfcpet-primary)}
.nfcpet-btn-whatsapp{background:#25D366}
.nfcpet-btn-location{background:var(--nfcpet-accent)}
.nfcpet-footer-note{text-align:center;color:#999;font-size:12px;margin-top:20px}
.is-lost .nfcpet-profile-card{border-color:var(--nfcpet-danger)}

/* ===================== Grooming: Şube listesi ve randevu alma ===================== */
.nfcpet-booking-search{margin-bottom:16px}
.nfcpet-inline-form select,.nfcpet-inline-form input{padding:9px 13px;border-radius:9px;border:1px solid var(--nfcpet-border);background:#fff}
.nfcpet-vendor-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:18px;margin-bottom:26px}
.nfcpet-vendor-card{background:#fff;border:1px solid var(--nfcpet-border);border-radius:var(--nfcpet-radius);padding:18px;text-align:center;box-shadow:var(--nfcpet-shadow)}
.nfcpet-vendor-card img{width:64px;height:64px;object-fit:cover;border-radius:50%;margin-bottom:10px}
.nfcpet-vendor-desc{color:var(--nfcpet-muted);font-size:13px}
.nfcpet-vendor-header{display:flex;gap:18px;align-items:flex-start;margin-bottom:22px;background:#fff;border:1px solid var(--nfcpet-border);border-radius:var(--nfcpet-radius);padding:20px;box-shadow:var(--nfcpet-shadow)}
.nfcpet-vendor-header img{width:80px;height:80px;object-fit:cover;border-radius:50%}
.nfcpet-service-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:14px;margin-bottom:22px}
.nfcpet-service-card{display:block;background:#fff;border:2px solid var(--nfcpet-border);border-radius:var(--nfcpet-radius);padding:16px;cursor:pointer;position:relative;transition:border-color .15s}
.nfcpet-service-card input{position:absolute;top:14px;right:14px}
.nfcpet-service-card:has(input:checked){border-color:var(--nfcpet-primary);background:var(--nfcpet-primary-light)}
.nfcpet-online-badge{display:inline-block;background:var(--nfcpet-primary-light);color:#1e7e42;font-size:11px;padding:2px 9px;border-radius:10px;margin-left:6px;font-weight:600}
.nfcpet-species-tag{display:inline-block;background:#eef3f0;color:var(--nfcpet-primary);font-size:11px;padding:2px 9px;border-radius:10px;margin:4px 0;font-weight:600}
.nfcpet-radio-inline{display:inline-flex;align-items:center;gap:5px;margin-right:18px;font-weight:500;font-size:13.5px}
.nfcpet-vet-result{background:#fff;border:1px solid var(--nfcpet-border);border-radius:10px;padding:12px 16px;margin-bottom:8px;box-shadow:var(--nfcpet-shadow)}

/* ===================== Randevu Ajandası ===================== */
.nfcpet-agenda{display:flex;flex-direction:column;gap:10px}
.nfcpet-agenda-row{display:flex;gap:16px;background:#fff;border:1px solid var(--nfcpet-border);border-radius:var(--nfcpet-radius);padding:16px 18px;box-shadow:var(--nfcpet-shadow)}
.nfcpet-agenda-time{font-weight:800;font-size:17px;color:var(--nfcpet-primary);min-width:64px}
.nfcpet-agenda-body{flex:1}
.nfcpet-agenda-body p{margin:5px 0;font-size:13px;color:var(--nfcpet-muted)}
.nfcpet-agenda-actions{display:flex;gap:6px;margin-top:10px}
