.admin-bookings{background:#f5f8fa;min-height:100vh;padding:2rem}.page-header{margin-bottom:2rem}.page-header h1{color:#111827;margin:0 0 .5rem;font-size:1.5rem;font-weight:700}.back-link{color:#1f4876;font-size:.9rem;text-decoration:none;display:inline-flex}.back-link:hover{text-decoration:underline}.stats-grid{grid-template-columns:repeat(4,1fr);gap:1rem;margin-bottom:2rem;display:grid}.stat-card{text-align:center;background:#fff;border-radius:12px;padding:1.5rem;box-shadow:0 2px 8px #00000014}.stat-number{margin-bottom:.25rem;font-size:2rem;font-weight:700;display:block}.stat-label{color:#666;font-size:.85rem}.stat-card.total .stat-number{color:#1f4876}.stat-card.pending .stat-number{color:#e74c3c}.stat-card.contacted .stat-number{color:#f39c12}.stat-card.scheduled .stat-number{color:#27ae60}.filters{gap:1rem;margin-top:4rem;margin-bottom:1.5rem;display:flex}.filters select{cursor:pointer;background:#fff;border:1px solid #ddd;border-radius:8px;padding:.75rem 1rem;font-size:.9rem}.bookings-table-container{background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 2px 8px #00000014}.bookings-table{border-collapse:collapse;width:100%}.bookings-table th,.bookings-table td{text-align:left;border-bottom:1px solid #eee;padding:1rem}.bookings-table th{color:#444;background:#f8f9fa;font-size:.85rem;font-weight:600}.bookings-table tr:hover{background:#f8f9fa}.parent-info,.child-info{flex-direction:column;gap:.25rem;display:flex}.parent-info span,.child-info span{color:#888;font-size:.8rem}.status-badge{border-radius:20px;padding:.35rem .75rem;font-size:.8rem;font-weight:500;display:inline-block}.view-btn{color:#fff;cursor:pointer;background:#1f4876;border:none;border-radius:6px;padding:.5rem 1rem;font-size:.85rem}.view-btn:hover{background:#163a5c}.empty-message{text-align:center;color:#888;padding:3rem!important}.modal-overlay{z-index:1000;background:#00000080;justify-content:center;align-items:center;padding:2rem;display:flex;position:fixed;inset:0}.modal-content{background:#fff;border-radius:16px;width:100%;max-width:700px;max-height:90vh;padding:2rem;position:relative;overflow-y:auto}.close-btn{cursor:pointer;background:#f0f0f0;border:none;border-radius:50%;justify-content:center;align-items:center;width:36px;height:36px;font-size:1.5rem;display:flex;position:absolute;top:1rem;right:1rem}.close-btn:hover{background:#e0e0e0}.modal-content h2{color:#1f4876;border-bottom:2px solid #1f4876;margin:0 0 1.5rem;padding-bottom:1rem;font-size:1.5rem;font-weight:600}.detail-section{border-bottom:1px solid #eee;margin-bottom:1.5rem;padding-bottom:1.5rem}.detail-section:last-child{border-bottom:none;margin-bottom:0;padding-bottom:0}.detail-section h3{color:#1f4876;margin:0 0 1rem;font-size:1rem;font-weight:600}.detail-grid{grid-template-columns:repeat(3,1fr);gap:1rem;display:grid}.detail-grid>div{flex-direction:column;gap:.25rem;display:flex}.detail-grid label{color:#888;font-size:.75rem}.detail-grid span{color:#333;font-weight:500}.detail-row{margin-top:1rem}.detail-row label{color:#888;margin-bottom:.5rem;font-size:.75rem;display:block}.detail-row p{color:#333;margin:0;line-height:1.5}.tags{flex-wrap:wrap;gap:.5rem;display:flex}.tag{color:#1f4876;background:#e8f4fd;border-radius:20px;padding:.35rem .75rem;font-size:.8rem}.tag.time{color:#666;background:#f0f5f9}.tag.other{color:#e65100;background:#fff3e0}.schedule-grid-view{border:1px solid #e0eaf3;border-radius:8px;font-size:.8rem;overflow:hidden}.schedule-grid-view .schedule-header,.schedule-grid-view .schedule-row{grid-template-columns:85px repeat(7,1fr);display:grid}.schedule-grid-view .schedule-header{color:#fff;background:#1f4876}.schedule-grid-view .schedule-day{text-align:center;padding:.4rem;font-size:.75rem;font-weight:500}.schedule-grid-view .schedule-label{background:#f0f5f9;border-right:1px solid #e0eaf3;justify-content:center;align-items:center;padding:.4rem;font-size:.7rem;display:flex}.schedule-grid-view .schedule-row{border-top:1px solid #e0eaf3}.schedule-grid-view .schedule-cell{text-align:center;border-right:1px solid #e0eaf3;justify-content:center;align-items:center;height:32px;padding:.5rem;display:flex}.schedule-grid-view .schedule-cell:last-child{border-right:none}.schedule-grid-view .schedule-cell.selected{color:#fff;background:#1f4876;font-weight:600}.schedule-grid-view.editable .schedule-cell.clickable{cursor:pointer;transition:all .15s}.schedule-grid-view.editable .schedule-cell.clickable:hover{background:#e8f4fd}.schedule-grid-view.editable .schedule-cell.clickable.selected:hover{background:#163a5c}.status-section{background:#f8f9fa;border-radius:0 0 16px 16px;margin:0 -2rem -2rem;padding:1.5rem 2rem}.status-actions{flex-wrap:wrap;gap:.5rem;display:flex}.status-btn{cursor:pointer;color:#374151;background:#f3f4f6;border:none;border-radius:6px;padding:.5rem 1.25rem;font-size:.85rem;font-weight:500;transition:all .15s}.status-btn:hover{transform:translateY(-1px);box-shadow:0 2px 6px #0000001a}.status-btn:active{transform:translateY(0)}.status-btn.active{cursor:default;font-weight:600;box-shadow:0 2px 8px #00000026}.status-btn.active:hover{transform:none}.loading{color:#888;justify-content:center;align-items:center;height:100vh;font-size:1.2rem;display:flex}.edit-fields{grid-template-columns:1fr 1fr;gap:1rem;display:grid}.edit-field{flex-direction:column;gap:.35rem;display:flex}.edit-field.full-width{grid-column:1/-1}.edit-field label{color:#888;font-size:.75rem}.edit-field input,.edit-field select,.edit-field textarea{border:1px solid #ddd;border-radius:6px;padding:.6rem .75rem;font-size:.9rem}.edit-field input:focus,.edit-field select:focus,.edit-field textarea:focus{border-color:#1f4876;outline:none;box-shadow:0 0 0 2px #1f48761a}.edit-field textarea{resize:vertical;min-height:60px}.save-btn{color:#fff;cursor:pointer;background:#1f4876;border:none;border-radius:8px;grid-column:1/-1;padding:.75rem;font-size:.9rem;font-weight:500;transition:background .2s}.save-btn:hover{background:#163a5c}.location-value{color:#333;font-weight:500}@media (max-width:768px){.stats-grid,.detail-grid{grid-template-columns:repeat(2,1fr)}.status-actions{flex-wrap:wrap}}.call-console-section{background:#f8fbff;border:2px solid #e0eaf3;border-radius:12px;padding:1.5rem}.call-console-section h3{margin-bottom:1.25rem;font-size:1.1rem}.call-step{background:#fff;border:1px solid #e0eaf3;border-radius:10px;margin-bottom:1rem;padding:1.25rem}.call-step:last-child{margin-bottom:0}.call-step-header{align-items:center;gap:.75rem;margin-bottom:1rem;display:flex}.step-badge{color:#fff;background:linear-gradient(135deg,#3b82f6,#1d4ed8);border-radius:12px;padding:.3rem .6rem;font-size:.7rem;font-weight:600}.step-title{color:#1f4876;font-size:1rem;font-weight:600}.script-box{background:#f0f9ff;border-left:3px solid #3b82f6;border-radius:0 8px 8px 0;margin-bottom:1rem;padding:1rem}.script-box:last-child{margin-bottom:0}.script-label{color:#1d4ed8;margin-bottom:.5rem;font-size:.85rem;font-weight:600}.script-text{color:#374151;margin:0;font-size:.9rem;line-height:1.6}.alert-box{background:#fef9e7;border:1px solid #f5d03c;border-radius:8px;gap:.75rem;margin-top:1rem;padding:1rem;display:flex}.alert-icon{font-size:1.1rem}.alert-box strong{color:#92600e;margin-bottom:.25rem;font-size:.85rem;display:block}.alert-box span{color:#b07d12;font-size:.85rem}.info-highlight{color:#1f4876;background:#e8f4fd;border-radius:8px;margin-bottom:1rem;padding:.75rem 1rem;font-size:.9rem}.schedule-links{margin-top:1rem}.schedule-links label{color:#666;margin-bottom:.5rem;font-size:.85rem;display:block}.schedule-link-buttons{flex-wrap:wrap;gap:.5rem;display:flex}.schedule-link-btn{color:#3b82f6;background:#fff;border:1px solid #3b82f6;border-radius:6px;align-items:center;gap:.35rem;padding:.5rem 1rem;font-size:.85rem;font-weight:500;text-decoration:none;transition:all .2s;display:inline-flex}.schedule-link-btn:hover{color:#fff;background:#3b82f6}.warning-box{color:#991b1b;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;margin-top:1rem;padding:.85rem 1rem;font-size:.85rem;line-height:1.6}.warning-box strong{color:#b91c1c}.warning-box>div{display:inline}.anchor-link{color:#2563eb;cursor:pointer;text-decoration:underline}.anchor-link:hover{color:#1d4ed8}.call-notes-box{margin-top:1rem}.call-notes-box label{color:#666;margin-bottom:.5rem;font-size:.85rem;font-weight:500;display:block}.call-notes-box textarea{resize:vertical;border:1px solid #e0eaf3;border-radius:8px;width:100%;min-height:80px;padding:.75rem;font-family:inherit;font-size:.9rem;transition:border-color .15s,box-shadow .15s}.call-notes-box textarea:focus{border-color:#3b82f6;outline:none;box-shadow:0 0 0 3px #3b82f61a}.call-notes-box textarea::placeholder{color:#aaa}.inline-select{color:#1d4ed8;cursor:pointer;vertical-align:baseline;background:#fff;border:2px solid #3b82f6;border-radius:6px;margin:0 .25rem;padding:.25rem .5rem;font-size:.9rem;font-weight:600;display:inline-block}.inline-select:focus{border-color:#1d4ed8;outline:none;box-shadow:0 0 0 2px #3b82f633}.inline-input{color:#1d4ed8;vertical-align:baseline;background:#fff;border:2px solid #3b82f6;border-radius:6px;width:80px;margin:0 .25rem;padding:.25rem .5rem;font-size:.9rem;font-weight:600;display:inline-block}.inline-input:focus{border-color:#1d4ed8;outline:none;box-shadow:0 0 0 2px #3b82f633}.inline-input::placeholder{color:#93c5fd;font-weight:400}.status-section-inline{background:#fff;border:1px solid #e0eaf3;border-radius:10px;margin-top:1.25rem;padding:1rem 1.25rem}.status-section-inline h4{color:#666;text-transform:uppercase;letter-spacing:.5px;margin:0 0 .75rem;font-size:.85rem;font-weight:500}.save-btn-full{color:#fff;cursor:pointer;background:linear-gradient(135deg,#1f4876 0%,#2d5a8a 100%);border:none;border-radius:10px;width:100%;margin-top:1.25rem;padding:1rem;font-size:1rem;font-weight:600;transition:all .2s;box-shadow:0 2px 8px #1f48764d}.save-btn-full:hover{background:linear-gradient(135deg,#163a5c 0%,#1f4876 100%);transform:translateY(-1px);box-shadow:0 4px 12px #1f487666}
