/* SmartPark Terms and Conditions styles */
.tc-backdrop{display:none;position:fixed;inset:0;background:rgba(8,20,38,.68);z-index:9999;align-items:center;justify-content:center;padding:18px;backdrop-filter:blur(4px)}
.tc-modal{background:#fff;color:#1e293b;width:100%;max-width:760px;max-height:90vh;border-radius:20px;box-shadow:0 30px 70px rgba(2,12,27,.45);display:flex;flex-direction:column;overflow:hidden;animation:tcIn .22s ease}
@keyframes tcIn{from{opacity:0;transform:translateY(14px) scale(.98)}to{opacity:1;transform:none}}
.tc-head{background:linear-gradient(135deg,#003d6d 0%,#005596 55%,#1b78c2 100%);color:#fff;padding:22px 26px 18px;display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.tc-head-main{display:flex;gap:14px;align-items:center}
.tc-head-icon{width:46px;height:46px;border-radius:14px;background:rgba(255,255,255,.16);display:flex;align-items:center;justify-content:center;font-size:1.4rem;flex-shrink:0}
.tc-head h3{margin:0;font-size:1.2rem;font-weight:800;letter-spacing:.01em}
.tc-head p{margin:4px 0 0;font-size:.82rem;opacity:.88}
.tc-close{background:rgba(255,255,255,.16);border:none;color:#fff;width:34px;height:34px;border-radius:10px;font-size:1.3rem;font-weight:700;cursor:pointer;line-height:1;transition:background .15s}
.tc-close:hover{background:rgba(255,255,255,.3)}
.tc-progress{height:5px;background:#e2e8f0;flex-shrink:0}
.tc-progress-bar{height:100%;width:0;background:linear-gradient(90deg,#ffd200,#22c55e);transition:width .12s linear}
.tc-body{padding:20px 26px 8px;overflow-y:auto;max-height:420px;font-size:.9rem;line-height:1.65;color:#334155;scroll-behavior:smooth;background:#f8fafc}
.tc-intro{margin:0 0 16px;padding:14px 16px;background:#e8f2fc;border-left:4px solid #005596;border-radius:10px;color:#1e3a5f;font-size:.88rem}
.tc-key{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:18px}
.tc-key-item{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:12px;text-align:center}
.tc-key-item b{display:block;font-size:1.25rem;color:#005596;line-height:1.2}
.tc-key-item span{font-size:.72rem;color:#64748b;text-transform:uppercase;letter-spacing:.05em;font-weight:700}
.tc-sec{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:16px 18px;margin-bottom:12px}
.tc-sec h4{margin:0 0 8px;display:flex;align-items:center;gap:10px;font-size:.95rem;color:#0f2f52}
.tc-num{width:26px;height:26px;border-radius:8px;background:#005596;color:#fff;font-size:.78rem;font-weight:800;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}
.tc-sec ul{margin:0 0 0 18px;padding:0}
.tc-sec li{margin-bottom:5px}
.tc-sec ul ul{margin-top:5px}
.tc-end{text-align:center;padding:14px;margin:4px 0 12px;color:#059669;font-weight:700;font-size:.85rem}
.tc-foot{padding:14px 22px;background:#fff;border-top:1px solid #e2e8f0;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px}
.tc-hint{font-size:.8rem;font-weight:600;color:#b45309;display:flex;align-items:center;gap:6px}
.tc-actions{display:flex;gap:10px;margin-left:auto}
.tc-btn-close{padding:10px 18px;border-radius:10px;border:1px solid #cbd5e1;background:#fff;color:#334155;font-weight:700;cursor:pointer;transition:background .15s}
.tc-btn-close:hover{background:#f1f5f9}
.tc-btn-agree{padding:10px 20px;border-radius:10px;border:none;background:#94a3b8;color:#fff;font-weight:700;cursor:not-allowed;opacity:.8;transition:all .2s ease}
.tc-btn-agree:not(:disabled){background:#005596;cursor:pointer;opacity:1;box-shadow:0 6px 14px rgba(0,85,150,.3)}
.tc-btn-agree:not(:disabled):hover{background:#003d6d;transform:translateY(-1px)}
@media(max-width:560px){.tc-key{grid-template-columns:1fr}.tc-head{padding:18px}.tc-body{padding:16px}.tc-actions{width:100%}.tc-actions button{flex:1}}

/* Inline Terms and Conditions panel (About page and Registered User dashboard) */
.tc-panel{background:#fff;border:1px solid #e2e8f0;border-radius:16px;box-shadow:0 4px 20px rgba(0,90,156,.06);overflow:hidden}
.tc-panel-summary{list-style:none;cursor:pointer;display:flex;align-items:center;flex-wrap:wrap;gap:6px 14px;padding:18px 22px}
.tc-panel-summary::-webkit-details-marker{display:none}
.tc-panel-title{font-size:1.05rem;font-weight:800;color:#005a9c;display:flex;align-items:center;gap:8px}
.tc-panel-sub{flex:1;min-width:200px;font-size:.84rem;color:#64748b}
.tc-panel-toggle{display:inline-flex;align-items:center;gap:6px;padding:7px 14px;border-radius:10px;background:#e8f2fc;color:#005a9c;font-weight:700;font-size:.82rem}
.tc-panel-toggle .bi{transition:transform .2s}
.tc-panel[open] .tc-panel-toggle .bi{transform:rotate(180deg)}
.tc-panel .tc-close-label{display:none}
.tc-panel[open] .tc-open-label{display:none}
.tc-panel[open] .tc-close-label{display:inline}
.tc-panel-body{padding:6px 22px 20px;border-top:1px solid #e2e8f0;background:#f8fafc;max-height:520px;overflow-y:auto;font-size:.9rem;line-height:1.65;color:#334155}
.tc-panel-body .tc-key{margin-top:16px}
html.dark-mode .tc-panel{background:#111c2e;border-color:#243247}
html.dark-mode .tc-panel-title{color:#7cc0ff}
html.dark-mode .tc-panel-sub{color:#94a3b8}
html.dark-mode .tc-panel-toggle{background:#1b2c45;color:#9ccfff}
html.dark-mode .tc-panel-body{background:#0b1626;border-color:#243247;color:#cbd5e1}
html.dark-mode .tc-panel .tc-key-item,html.dark-mode .tc-panel .tc-sec{background:#111c2e;border-color:#243247}
html.dark-mode .tc-panel .tc-key-item b{color:#7cc0ff}
html.dark-mode .tc-panel .tc-key-item span{color:#94a3b8}
html.dark-mode .tc-panel .tc-sec h4{color:#e2e8f0}
