.doctor-calendar-container{padding:16px}.doctor-info,.calendar-header-right{display:flex;align-items:center}.current-date-display{font-size:14px;font-weight:600;color:#1d1d1f;min-width:180px;text-align:center}.calendar-grid{background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 2px 8px #0000000a}.calendar-week{display:grid;grid-template-columns:repeat(7,1fr);border-bottom:1px solid #e5e5e7}.calendar-week:last-child{border-bottom:none}.calendar-day{min-height:100px;padding:6px;border-right:1px solid #e5e5e7;background:#fff;position:relative;transition:background-color .2s}.day-number{font-size:13px;font-weight:500;margin-bottom:6px;color:#1d1d1f}.day-schedules{display:flex;flex-direction:column;gap:4px}.schedule-item{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:4px 6px;border-radius:6px;font-size:10px;cursor:pointer;transition:transform .2s,box-shadow .2s;position:relative;margin-bottom:3px}.schedule-item:hover{transform:translateY(-1px);box-shadow:0 4px 12px #667eea66}.schedule-item:nth-child(2n){background:linear-gradient(135deg,#f093fb,#f5576c)}.schedule-item:nth-child(3n){background:linear-gradient(135deg,#4facfe,#00f2fe)}.schedule-item:nth-child(4n){background:linear-gradient(135deg,#43e97b,#38f9d7)}.schedule-time{font-weight:600;font-size:10px;margin-bottom:2px}.schedule-location{font-size:9px;opacity:.9}.delete-schedule-btn{position:absolute;top:4px;right:4px;padding:2px 4px;min-width:auto;height:auto;opacity:0;transition:opacity .2s}.schedule-item:hover .delete-schedule-btn{opacity:1}.delete-schedule-btn:hover{background:#fff3}@media (max-width: 768px){.calendar-controls{flex-direction:column;gap:16px}.calendar-header-right{flex-wrap:wrap;justify-content:center}.calendar-day{min-height:80px}.schedule-item{font-size:10px;padding:4px 6px}}.history-scroll-container{height:100%;overflow-y:auto}.a4-page{width:794px;min-height:1123px;background:#fff;padding:40px;margin:20px auto;box-shadow:0 4px 20px #00000026}.rx-header{text-align:center;border-bottom:2px solid #000;padding-bottom:10px;margin-bottom:15px}.clinic-info h2{margin:0}.rx-patient-info{display:grid;grid-template-columns:repeat(3,1fr);margin-bottom:15px;font-size:13px}.section{margin-bottom:10px}.note{color:red}.medicine-table{width:100%;border-collapse:collapse}.medicine-table th,.medicine-table td{border:1px solid #000;padding:6px}.rx-footer{margin-top:40px;display:flex;justify-content:flex-end}.signature{text-align:center}.sign-line{width:200px;border-top:1px solid #000;margin-bottom:5px}.loader{text-align:center;padding:20px}.rx-patient-details{display:grid;grid-template-columns:2fr 1fr 1fr;gap:10px;margin-bottom:15px;font-size:14px;border-bottom:1px solid #000;padding-bottom:8px}.medicine-table{width:100%;border-collapse:collapse;margin-top:10px}.medicine-table th,.medicine-table td{border:none;padding:8px 6px;text-align:left;font-size:14px}.medicine-table thead{border-top:2px dashed #000;border-bottom:2px dashed #000}.medicine-table th{font-weight:700}.medicine-table tbody tr{border-bottom:1px dashed #999}.medicine-table tbody tr:last-child{border-bottom:2px dashed #000}.medicine-table td{height:28px}@media print{body{margin:0;background:#fff}.latterpad-header{height:150px;display:block!important;width:100%}.no-print,.ant-drawer-header,.ant-drawer-extra{display:none!important}@page{size:A4 portrait;margin:10mm}.a4-page{width:210mm;min-height:297mm;margin:0 auto;box-shadow:none;border:none;page-break-after:always}.a4-page:last-child{page-break-after:auto}.rx-footer{position:absolute;bottom:20mm;right:20mm}tr{page-break-inside:avoid}}.appointment-calendar-container{padding:16px;display:flex;flex-direction:column}.appointment-calendar-container.week-view-full-height{height:calc(100vh - 200px);min-height:600px}.calendar-controls{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;padding:12px 16px;background:#f8f9fa;border-radius:8px}.calendar-header-left{display:flex;align-items:center;gap:16px}.calendar-header-left h2{margin:0;font-size:20px;font-weight:600;color:#1d1d1f}.calendar-header-right{display:flex;align-items:center}.current-date-display{font-size:14px;font-weight:600;color:#1d1d1f;min-width:200px;text-align:center}.calendar-grid{background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 2px 8px #0000000a;flex:1;display:flex;flex-direction:column;min-height:0}.week-view-full-height .calendar-grid{height:100%}.calendar-weekdays{display:grid;grid-template-columns:repeat(7,1fr);background:#f8f9fa;border-bottom:1px solid #e5e5e7}.weekday-header{padding:12px;text-align:center;font-weight:600;font-size:13px;color:#6e6e73;text-transform:uppercase;letter-spacing:.5px}.calendar-week{display:grid;grid-template-columns:repeat(7,1fr);border-bottom:1px solid #e5e5e7;flex:1;min-height:0}.week-view-full-height .calendar-week{height:100%}.calendar-day{min-height:150px;padding:8px;border-right:1px solid #e5e5e7;background:#fff;position:relative;transition:background-color .2s;display:flex;flex-direction:column;overflow:hidden}.week-view-full-height .calendar-day{min-height:0;height:100%}.calendar-day:last-child{border-right:none}.calendar-day:hover{background:#f8f9fa}.calendar-day.today{background:#e8f4f8}.calendar-day.today .day-number{background:#007aff;color:#fff;border-radius:50%;width:28px;height:28px;display:flex;align-items:center;justify-content:center;font-weight:600}.day-number{font-size:14px;font-weight:600;margin-bottom:8px;color:#1d1d1f;display:inline-block}.day-appointments{display:flex;flex-direction:column;gap:6px;flex:1;overflow-y:auto;overflow-x:hidden;min-height:0;padding-right:2px}.day-appointments::-webkit-scrollbar{width:4px}.day-appointments::-webkit-scrollbar-track{background:transparent}.day-appointments::-webkit-scrollbar-thumb{background:#d1d1d6;border-radius:2px}.day-appointments::-webkit-scrollbar-thumb:hover{background:#a1a1a6}.calendar-day.other-month{background:#fafafa;color:#8e8e93}.calendar-day.other-month .day-number{color:#8e8e93}.calendar-day.other-month .appointment-item{opacity:.7}.appointment-item{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:6px 8px;border-radius:6px;font-size:12px;cursor:pointer;transition:transform .2s,box-shadow .2s}.appointment-item:hover{transform:translateY(-2px);box-shadow:0 4px 8px #667eea4d}.appointment-time{font-weight:600;font-size:11px;margin-bottom:2px}.appointment-patient{font-size:11px;opacity:.95;margin-bottom:2px}.appointment-doctor{font-size:10px;opacity:.85}@media (max-width: 1200px){.calendar-day{min-height:120px}.appointment-item{font-size:11px;padding:4px 6px}}@media (max-width: 768px){.calendar-controls{flex-direction:column;gap:12px}.calendar-header-right{flex-wrap:wrap;justify-content:center}.current-date-display{min-width:auto;width:100%;margin-top:8px}}*{margin:0;padding:0;box-sizing:border-box}@media print{#root{display:none!important;height:0;width:0}}.hidden{display:none}:root{--ios-blue: #007aff;--ios-blue-dark: #0051d5;--ios-gray: #8e8e93;--ios-gray-light: #f2f2f7;--ios-gray-medium: #c7c7cc;--ios-gray-dark: #48484a;--ios-background: #f7f8fa;--ios-surface: #ffffff;--ios-text-primary: #1d1d1f;--ios-text-secondary: #6e6e73;--ios-separator: #e5e7eb;--ios-red: #ff3b30;--ios-green: #34c759;--ios-orange: #ff9500;--ios-purple: #af52de;--ios-pink: #ff2d55;--ios-yellow: #ffcc00;--ios-shadow-sm: 0 1px 2px rgba(0, 0, 0, .04);--ios-shadow-md: 0 4px 10px rgba(0, 0, 0, .06);--ios-shadow-lg: 0 8px 20px rgba(0, 0, 0, .08);--ios-radius-sm: 8px;--ios-radius-md: 12px;--ios-radius-lg: 16px;--ios-radius-xl: 20px;--ios-radius-full: 9999px}body{font-family:-apple-system,BlinkMacSystemFont,SF Pro Display,Segoe UI,Roboto,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;background-color:var(--ios-background);color:var(--ios-text-primary);font-size:16px}.ant-layout{background:var(--ios-background)!important}.ant-layout-content{background:var(--ios-background)!important;padding:24px!important}.ant-layout-sider{background:#fff!important;border-right:1px solid var(--ios-separator)!important}.ant-layout-sider-trigger{background:#fff!important;color:var(--ios-text-secondary)!important;border-top:1px solid var(--ios-separator)!important}.ant-layout-sider-trigger:hover{background:var(--ios-gray-light)!important}.ant-menu{background:transparent!important;border:none!important}.ant-menu-item{color:var(--ios-text-secondary)!important;margin:4px 8px!important;border-radius:var(--ios-radius-sm)!important;height:40px!important;line-height:40px!important}.ant-menu-item:hover{background:var(--ios-gray-light)!important;color:var(--ios-text-primary)!important}.ant-menu-item-selected{background:#007aff1a!important;color:var(--ios-blue)!important;font-weight:600!important}.ant-menu-item-icon{color:var(--ios-gray)!important}.ant-menu-item-selected .ant-menu-item-icon{color:var(--ios-blue)!important}.ant-btn{border-radius:var(--ios-radius-sm)!important;font-weight:500!important;height:32px!important;box-shadow:var(--ios-shadow-sm)!important}.ant-btn-primary{background:var(--ios-blue)!important;color:#fff!important}.ant-btn-primary:hover{background:var(--ios-blue-dark)!important}.ant-card{border-radius:var(--ios-radius-lg)!important;border:none!important;box-shadow:var(--ios-shadow-md)!important}.ant-table{border-radius:var(--ios-radius-lg)!important;overflow:hidden}.ant-table-thead>tr>th{background:var(--ios-gray-light)!important;font-size:12px!important;color:var(--ios-text-secondary)!important}.ant-table-tbody>tr:hover>td{background:var(--ios-gray-light)!important}.ant-modal-content{border-radius:var(--ios-radius-xl)!important;box-shadow:var(--ios-shadow-lg)!important}.ant-tabs-ink-bar{background:var(--ios-blue)!important}::-webkit-scrollbar{width:6px}::-webkit-scrollbar-thumb{background:var(--ios-gray-medium);border-radius:10px}
