*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}body{font-family:Arial,sans-serif;background:#f4f4f4;color:#222;min-height:100vh}.top-bar{background:#bb0e10;color:#fff;padding:12px 24px;display:flex;align-items:center;gap:16px}.top-bar h1{font-size:18px;font-weight:700}.top-bar a{color:#fffc;font-size:13px;text-decoration:none;margin-left:auto}.top-bar a:hover{color:#fff}#login-section{display:flex;align-items:center;justify-content:center;min-height:calc(100vh - 48px)}.login-card{background:#fff;border-radius:8px;padding:40px 48px;box-shadow:0 2px 20px #0000001a;width:100%;max-width:360px}.login-card h2{font-size:22px;font-weight:700;margin-bottom:8px}.login-card p{font-size:13px;color:#666;margin-bottom:24px}.login-card input[type=password]{width:100%;padding:10px 12px;border:1px solid #ccc;border-radius:4px;font-size:14px;margin-bottom:12px;outline:none}.login-card input[type=password]:focus{border-color:#bb0e10}.login-card button{width:100%;padding:11px;background:#bb0e10;color:#fff;border:none;border-radius:4px;font-size:15px;font-weight:600;cursor:pointer}.login-card button:hover{background:#a00d0f}.login-card button:disabled{opacity:.6;cursor:not-allowed}#login-error{color:#bb0e10;font-size:13px;margin-top:10px;display:none}#dashboard-section{display:none;padding:24px;max-width:1200px;margin:0 auto}.dash-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;gap:12px;flex-wrap:wrap}.dash-header-left h2{font-size:20px;font-weight:700}.dash-header-left p{font-size:13px;color:#666;margin-top:2px}.dash-header-right{display:flex;align-items:center;gap:10px;flex-wrap:wrap}#logout-btn{background:none;border:1px solid #ccc;border-radius:4px;padding:6px 14px;font-size:13px;cursor:pointer;color:#555}#logout-btn:hover{background:#eee}.date-row{display:flex;align-items:center;gap:8px;font-size:13px;color:#555}.date-row input[type=date]{padding:5px 8px;border:1px solid #ccc;border-radius:4px;font-size:13px}.date-row button{padding:5px 14px;background:#bb0e10;color:#fff;border:none;border-radius:4px;font-size:13px;cursor:pointer}.date-row button:hover{background:#a00d0f}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:24px}.card{background:#fff;border-radius:8px;padding:20px 24px;box-shadow:0 1px 6px #00000012}.card__label{font-size:12px;color:#888;text-transform:uppercase;letter-spacing:.06em;margin-bottom:6px}.card__value{font-size:36px;font-weight:700;color:#bb0e10;line-height:1}.card__sub{font-size:12px;color:#666;margin-top:4px}.card--combined{border-top:3px solid #BB0E10}.charts-row{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:24px}.chart-box{background:#fff;border-radius:8px;padding:20px 24px;box-shadow:0 1px 6px #00000012}.chart-box h3{font-size:14px;font-weight:700;margin-bottom:16px;color:#333}.bar-row{display:flex;align-items:center;gap:10px;margin-bottom:8px;font-size:13px}.bar-label{width:180px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#444;flex-shrink:0}.bar-track{flex:1;background:#f0f0f0;border-radius:3px;height:18px;overflow:hidden}.bar-fill{height:100%;background:#bb0e10;border-radius:3px}.bar-fill.blue{background:#1a56db}.bar-count{width:32px;text-align:right;font-weight:600;color:#333;flex-shrink:0}.section-label{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:#bb0e10;margin-bottom:10px;margin-top:28px}.table-box{background:#fff;border-radius:8px;box-shadow:0 1px 6px #00000012;overflow:hidden;margin-bottom:24px}.table-box-header{padding:14px 20px;border-bottom:1px solid #eee;display:flex;align-items:center;justify-content:space-between}.table-box-header h3{font-size:14px;font-weight:700}.table-box-header span{font-size:13px;color:#888}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:13px}thead th{background:#f7f7f7;padding:10px 12px;text-align:left;font-weight:600;color:#555;border-bottom:1px solid #e8e8e8;white-space:nowrap}tbody tr:hover{background:#fafafa}tbody td{padding:9px 12px;border-bottom:1px solid #f0f0f0;vertical-align:top}.loading{padding:40px;text-align:center;color:#888;font-size:14px}.empty{padding:32px;text-align:center;color:#aaa;font-size:13px}.badge{display:inline-block;padding:2px 8px;border-radius:12px;font-size:11px;font-weight:600}.badge-answered{background:#e8f5e9;color:#2e7d32}.badge-missed{background:#fde8e9;color:#a00}.badge-voicemail{background:#fff3e0;color:#e65100}.badge-pkg{background:#f3e5f5;color:#6a1b9a}.btn-details{background:none;border:1px solid #b0c4de;border-radius:4px;color:#1a56db;font-size:11px;padding:3px 8px;cursor:pointer}.btn-details:hover{background:#e8f0fe}#details-modal{display:none;position:fixed;inset:0;z-index:1000;background:#00000080;align-items:center;justify-content:center;padding:16px}#details-modal.open{display:flex}.modal-card{background:#fff;border-radius:12px;box-shadow:0 16px 56px #0000003d;width:100%;max-width:540px;max-height:88vh;display:flex;flex-direction:column}.modal-header{display:flex;align-items:center;justify-content:space-between;padding:20px 24px 18px;border-bottom:1px solid #e8e8e8;flex-shrink:0}.modal-header h3{font-size:16px;font-weight:700}.modal-close{background:none;border:none;width:30px;height:30px;border-radius:50%;cursor:pointer;color:#aaa;font-size:20px;line-height:30px;text-align:center;padding:0}.modal-close:hover{background:#f0f0f0;color:#333}.modal-body{overflow-y:auto;padding:4px 24px 28px}.modal-section{padding-top:20px}.modal-section+.modal-section{border-top:1px solid #f0f0f0}.modal-section-title{font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.12em;color:#bb0e10;margin-bottom:12px}.modal-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px 20px}.modal-fields.single{grid-template-columns:1fr}.modal-field{display:flex;flex-direction:column;gap:3px}.modal-field-label{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:#aaa}.modal-field-value{font-size:14px;font-weight:600;color:#111;word-break:break-word;line-height:1.4}.modal-field-value.empty{color:#ccc;font-weight:400}.modal-field-value a{color:#bb0e10;text-decoration:none}@media(max-width:768px){.cards{grid-template-columns:1fr 1fr}.charts-row{grid-template-columns:1fr}}@media(max-width:480px){.cards{grid-template-columns:1fr}#dashboard-section{padding:16px}.modal-fields{grid-template-columns:1fr}}
