:root{--brand:#073b78;--brand2:#0bbfae;--bg:#f4f7fb}*{box-sizing:border-box}body{font-family:Tahoma,Arial,sans-serif;background:var(--bg);margin:0;color:#1f2937}.app{display:flex;min-height:100vh;direction:rtl}.sidebar{width:280px;background:linear-gradient(180deg,#06346d,#092b5c);color:white;position:fixed;right:0;top:0;bottom:0;overflow:auto;z-index:1000;box-shadow:-4px 0 20px #0002}.brand{text-align:center;padding:18px 12px;border-bottom:1px solid #ffffff1f}.brand img,.admin-logo{width:150px!important;height:150px!important;max-width:150px!important;max-height:150px!important;object-fit:contain;background:#fff;border-radius:8px}.brand a{color:white;text-decoration:none}.brand-title{font-weight:700;margin-top:8px}.sidebar a.nav-link{color:#eef;display:flex;justify-content:space-between;gap:8px;padding:13px 18px;text-decoration:none;border-bottom:1px solid #ffffff10;font-weight:600}.sidebar a.nav-link:hover,.sidebar a.nav-link.active{background:#0a4b91;color:white}.content{margin-right:280px;width:calc(100% - 280px);padding:22px}.topbar{background:white;border-radius:16px;box-shadow:0 8px 30px #1f29371a;padding:14px 18px;margin-bottom:22px;display:flex;align-items:center;justify-content:space-between}.page-card{background:white;border-radius:16px;box-shadow:0 8px 30px #1f293714;padding:18px;margin-bottom:18px}.btn{border-radius:10px}.form-control,.form-select{border-radius:10px;min-height:42px}.table{vertical-align:middle}.table thead th{background:#f1f5f9}.table-responsive{border-radius:14px;overflow:auto}.logo-anim{animation:float 2.4s ease-in-out infinite}@keyframes float{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}.mobile-menu{display:none}.action-btns .btn{margin:2px}.stat{border-radius:16px;background:linear-gradient(135deg,#fff,#eef6ff);padding:18px;box-shadow:0 8px 30px #1f293714}.table-success-soft{background:#dff7ea!important}@media(max-width:900px){.mobile-menu{display:block}.sidebar{transform:translateX(100%);transition:.25s}.sidebar.open{transform:translateX(0)}.content{margin-right:0;width:100%;padding:12px}.topbar{position:sticky;top:0;z-index:900}.brand img,.admin-logo{width:120px!important;height:120px!important}.table{min-width:900px}.page-card{padding:12px}.row.g-2>[class*=col]{margin-bottom:6px}}@media print{.sidebar,.topbar,.no-print,.btn{display:none!important}.content{margin:0;width:100%}.page-card{box-shadow:none}}
.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(150px,1fr));gap:10px}.calendar-head{font-weight:700;text-align:center;background:#eaf2ff;border-radius:12px;padding:10px}.calendar-day{min-height:150px;background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:10px;box-shadow:0 4px 14px #1f29370a}.calendar-day.muted{background:#f8fafc;color:#94a3b8}.calendar-date{font-weight:700;margin-bottom:8px}.meeting-item{display:block;text-decoration:none;background:#eef6ff;border-right:4px solid var(--brand);border-radius:10px;padding:7px;margin-bottom:6px;color:#0f172a;font-size:13px}.meeting-item:hover{background:#dbeafe}.meeting-time{font-weight:700;color:#073b78}.filters-card{background:#f8fafc;border-radius:14px;padding:12px}@media(max-width:1200px){.calendar-grid{grid-template-columns:repeat(7,minmax(120px,1fr))}}@media(max-width:900px){.calendar-grid{display:block}.calendar-head{display:none}.calendar-day{margin-bottom:10px;min-height:auto}}

/* Professional tables/details */
.permission-pill{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:10px 12px;font-weight:600;color:#0f172a}.details-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.details-grid>div{background:#f8fafc;border:1px solid #e5e7eb;border-radius:14px;padding:12px}.details-grid span{display:block;color:#64748b;font-size:12px;margin-bottom:5px}.details-grid b{display:block;color:#0f172a;word-break:break-word}.comment-preview{background:#f8fafc;border:1px solid #e5e7eb;border-radius:14px;padding:14px;min-height:70px}.modal-content{border:0;border-radius:18px;box-shadow:0 30px 80px #0f172a40}.modal-header{background:#f8fafc;border-radius:18px 18px 0 0}.modal-footer{background:#fff;border-radius:0 0 18px 18px}@media(max-width:992px){.details-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.details-grid{grid-template-columns:1fr}}

/* Professional calendar */
.calendar-shell{display:flex;flex-direction:column;gap:18px}.calendar-hero{background:linear-gradient(135deg,#073b78,#0a62b6 70%,#0bbfae);border-radius:24px;color:white;padding:26px;box-shadow:0 18px 45px #073b7833;display:flex;align-items:center;justify-content:space-between;gap:18px;overflow:hidden;position:relative}.calendar-hero:before{content:"";position:absolute;left:-80px;top:-80px;width:220px;height:220px;border-radius:999px;background:#ffffff18}.calendar-hero:after{content:"";position:absolute;right:30%;bottom:-110px;width:260px;height:260px;border-radius:999px;background:#ffffff10}.calendar-hero>*{position:relative;z-index:1}.calendar-hero h2{font-size:34px;font-weight:800;margin:4px 0}.calendar-hero p{margin:0;color:#eaf6ff}.eyebrow{font-size:13px;letter-spacing:.5px;color:#bff7ef;font-weight:700}.calendar-nav-actions{display:flex;gap:8px;flex-wrap:wrap}.calendar-stats{margin:0}.calendar-stat{background:white;border:1px solid #e5e7eb;border-radius:18px;padding:16px 18px;box-shadow:0 8px 28px #1f29370f;min-height:86px}.calendar-stat span{display:block;color:#64748b;font-size:13px;margin-bottom:8px}.calendar-stat b{font-size:22px;color:#073b78}.calendar-filter-panel{background:white;border:1px solid #e5e7eb;border-radius:20px;padding:16px;box-shadow:0 8px 28px #1f29370f;margin:0}.calendar-board{background:white;border:1px solid #e5e7eb;border-radius:24px;padding:14px;box-shadow:0 10px 30px #1f293714}.calendar-weekdays{display:grid;grid-template-columns:repeat(7,1fr);gap:10px;margin-bottom:10px}.calendar-weekdays div{background:#f1f5f9;border-radius:14px;text-align:center;font-weight:800;color:#334155;padding:12px}.calendar-grid-pro{display:grid;grid-template-columns:repeat(7,minmax(135px,1fr));gap:10px}.calendar-cell{min-height:178px;background:#ffffff;border:1px solid #e5e7eb;border-radius:18px;padding:10px;transition:.18s;box-shadow:0 6px 18px #0f172a08}.calendar-cell:hover{transform:translateY(-2px);box-shadow:0 12px 28px #0f172a14;border-color:#b9d4ff}.calendar-cell.is-muted{background:#f8fafc;color:#94a3b8}.calendar-cell.is-today{border:2px solid #0bbfae;background:linear-gradient(180deg,#ecfffd,#fff)}.cell-top{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;margin-bottom:10px}.day-num{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:12px;background:#eef6ff;color:#073b78;font-weight:900}.is-today .day-num{background:#0bbfae;color:white}.day-name{display:none;margin-inline-start:8px;color:#64748b;font-size:13px;font-weight:700}.count-badge{background:#073b78;color:white;border-radius:999px;padding:4px 9px;font-size:12px;font-weight:800}.appointments-list{display:flex;flex-direction:column;gap:7px}.appointment-card{width:100%;text-align:right;border:0;border-right:4px solid #0a62b6;background:#eef6ff;border-radius:12px;padding:8px 9px;color:#0f172a;cursor:pointer;transition:.15s}.appointment-card:hover{background:#dbeafe}.appointment-time{display:inline-block;font-weight:900;color:#073b78;margin-left:6px}.appointment-client{font-weight:800}.appointment-card small{display:block;color:#64748b;margin-top:2px}.more-events{background:#f8fafc;border:1px dashed #cbd5e1;border-radius:12px;padding:7px;text-align:center;color:#64748b;font-size:12px;font-weight:700}@media(max-width:1250px){.calendar-grid-pro{grid-template-columns:repeat(7,minmax(115px,1fr))}.calendar-cell{min-height:160px}}@media(max-width:900px){.calendar-hero{display:block}.calendar-nav-actions{margin-top:16px}.calendar-weekdays{display:none}.calendar-grid-pro{display:block}.calendar-cell{min-height:auto;margin-bottom:10px}.day-name{display:inline}.calendar-board{padding:10px}.calendar-hero h2{font-size:28px}}

/* Calendar refresh v3 */
.calendar-hero.clean{padding:22px 24px;border-radius:22px;align-items:center}
.calendar-hero-main{display:flex;flex-direction:column;gap:4px}
.calendar-nav-clean{display:flex;gap:10px;flex-wrap:wrap}
.calendar-nav-clean .btn{min-width:122px}
.pro-month-board{padding:18px;background:linear-gradient(180deg,#ffffff,#f8fbff)}
.calendar-weekdays.sticky-head{gap:12px;margin-bottom:12px}
.calendar-weekdays.sticky-head div{background:#eef4fb;border:1px solid #d9e5f5;color:#12385f;padding:14px 10px;font-size:14px;border-radius:16px}
.calendar-grid-pro.monthly-boxes{gap:12px;grid-template-columns:repeat(7,minmax(0,1fr))}
.calendar-cell.month-square{min-height:255px;height:255px;padding:12px;border-radius:18px;display:flex;flex-direction:column;background:#fff;border:1px solid #dde7f3;box-shadow:0 10px 24px rgba(15,23,42,.06);overflow:hidden}
.calendar-cell.month-square.is-muted{background:#f7f9fc;opacity:.9}
.calendar-cell.month-square.is-today{background:linear-gradient(180deg,#effcf8,#ffffff);border:2px solid #18b893}
.cell-top.clean{margin-bottom:10px;padding-bottom:10px;border-bottom:1px solid #edf2f7;align-items:flex-start}
.day-meta{display:flex;align-items:center;gap:10px}
.day-meta-text{display:flex;flex-direction:column;line-height:1.2}
.day-meta-text strong{font-size:14px;color:#0f172a}
.day-meta-text small{font-size:11px;color:#64748b}
.count-badge.empty{background:#e2e8f0;color:#475569}
.full-day-list{display:flex;flex-direction:column;gap:8px;overflow:auto;flex:1;padding-left:2px}
.full-day-list::-webkit-scrollbar{width:7px;height:7px}
.full-day-list::-webkit-scrollbar-thumb{background:#c7d5e5;border-radius:999px}
.appointment-card.full-info{padding:10px 10px 9px;border-right-width:5px;border-radius:14px;background:linear-gradient(180deg,#f6fbff,#ecf5ff)}
.appointment-card.full-info:hover{background:linear-gradient(180deg,#eaf4ff,#dcebff)}
.appointment-topline{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:4px}
.appointment-type{font-size:11px;font-weight:800;color:#0b8f81;background:#e8faf7;border-radius:999px;padding:3px 8px;white-space:nowrap}
.appointment-note{margin-top:5px;font-size:12px;color:#475569;line-height:1.45;background:#ffffffa8;border-radius:9px;padding:5px 7px}
.day-empty-state{display:flex;align-items:center;justify-content:center;flex:1;background:repeating-linear-gradient(135deg,#f8fafc,#f8fafc 8px,#f1f5f9 8px,#f1f5f9 16px);border-radius:14px;border:1px dashed #d2dbe6;color:#64748b;font-size:13px;font-weight:700;padding:12px;text-align:center}
.calendar-filter-panel .form-label{font-weight:700;color:#334155}
.calendar-filter-panel .btn{min-height:42px}

@media(max-width:1400px){
  .calendar-cell.month-square{min-height:235px;height:235px}
}
@media(max-width:1200px){
  .calendar-grid-pro.monthly-boxes{grid-template-columns:repeat(4,minmax(0,1fr))}
  .calendar-cell.month-square{height:250px}
}
@media(max-width:992px){
  .calendar-grid-pro.monthly-boxes{grid-template-columns:repeat(2,minmax(0,1fr))}
  .calendar-hero.clean{display:block}
  .calendar-nav-clean{margin-top:16px}
}
@media(max-width:650px){
  .calendar-weekdays.sticky-head{display:none}
  .calendar-grid-pro.monthly-boxes{grid-template-columns:1fr}
  .calendar-cell.month-square{height:auto;min-height:unset}
  .full-day-list{max-height:none;overflow:visible}
  .day-meta-text strong{font-size:13px}
  .calendar-nav-clean .btn{flex:1}
}


/* Reports page v4 */
.reports-page{overflow:hidden}
.reports-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}
.report-tabs{gap:8px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:18px;padding:8px}
.report-tabs .nav-link{border-radius:14px;font-weight:800;color:#334155;padding:11px 18px}
.report-tabs .nav-link.active{background:linear-gradient(135deg,#073b78,#0a62b6);box-shadow:0 10px 24px #073b782b}
.report-filter{background:linear-gradient(180deg,#ffffff,#f8fbff);border:1px solid #dbe7f5;border-radius:20px;padding:16px;margin-bottom:16px;box-shadow:0 10px 26px #0f172a0a}
.report-filter .form-label{font-weight:800;color:#334155;margin-bottom:6px}
.kpi-card,.analysis-card,.platform-card{background:#fff;border:1px solid #e2e8f0;border-radius:20px;padding:18px;box-shadow:0 12px 28px #0f172a0c;min-height:104px}
.kpi-card span,.analysis-card span{display:block;color:#64748b;font-size:13px;font-weight:700;margin-bottom:8px}
.kpi-card b,.analysis-card b{display:block;color:#073b78;font-size:24px;font-weight:900}
.analysis-card small{display:block;margin-top:7px;color:#475569;font-weight:800;font-size:15px}
.analysis-card.success{background:linear-gradient(180deg,#f0fdf4,#fff)}
.analysis-card.info{background:linear-gradient(180deg,#eff6ff,#fff)}
.analysis-card.warning{background:linear-gradient(180deg,#fffbeb,#fff)}
.analysis-card.danger{background:linear-gradient(180deg,#fef2f2,#fff)}
.metric-btn{border:0;background:#0bbfae;color:#fff;border-radius:12px;min-width:44px;padding:7px 11px;font-weight:900;box-shadow:0 7px 16px #0bbfae3d}
.metric-btn:hover{filter:brightness(.95)}
.metric-btn.sales{background:#0a62b6;box-shadow:0 7px 16px #0a62b63d}
.metric-btn.product{background:#8b5cf6;box-shadow:0 7px 16px #8b5cf63d}
.fancy-table{border:1px solid #e2e8f0;border-radius:18px;background:white;box-shadow:0 12px 28px #0f172a0c}
.fancy-table table{margin-bottom:0}
.fancy-table thead th{background:linear-gradient(180deg,#eef4fb,#e7eff8)!important;color:#0f172a;font-weight:900;white-space:nowrap}
.fancy-table tbody td{white-space:nowrap}
.report-wide-table{min-width:2200px}
.timeline-list{display:flex;flex-direction:column;gap:14px}
.timeline-item{display:grid;grid-template-columns:150px 1fr;gap:14px;background:#fff;border:1px solid #e2e8f0;border-radius:18px;padding:14px;box-shadow:0 8px 20px #0f172a08}
.timeline-date{background:#eef6ff;border-radius:15px;padding:12px;text-align:center;color:#073b78}
.timeline-date b{display:block;font-size:16px}
.timeline-date span{display:block;color:#64748b;margin-top:4px}
.timeline-content p{margin:10px 0 0;background:#f8fafc;border-radius:14px;padding:12px;color:#334155;line-height:1.8}
.detail-tags{display:flex;flex-wrap:wrap;gap:8px}
.detail-tags span{background:#eef2ff;color:#334155;border-radius:999px;padding:5px 10px;font-size:12px;font-weight:800}
.report-section-title{font-weight:900;font-size:18px;margin:24px 0 12px;color:#0f172a}
.platform-card{display:flex;align-items:center;justify-content:space-between;min-height:84px}
.platform-card b{font-size:18px;color:#073b78}
.platform-card span{background:#eef6ff;color:#0a62b6;border-radius:999px;padding:6px 12px;font-weight:900}
.empty-report{background:#f8fafc;border:1px dashed #cbd5e1;border-radius:18px;padding:18px;text-align:center;color:#64748b;font-weight:800}
.calendar-report-list{display:flex;flex-direction:column;gap:16px}
.calendar-report-day{background:#fff;border:1px solid #e2e8f0;border-radius:22px;padding:16px;box-shadow:0 12px 28px #0f172a0c}
.calendar-day-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;padding-bottom:12px;border-bottom:1px solid #edf2f7}
.calendar-day-head span{display:block;color:#64748b;font-size:12px;font-weight:800}
.calendar-day-head b{font-size:22px;color:#073b78}
.calendar-day-head strong{background:#073b78;color:white;border-radius:999px;padding:7px 14px}
.calendar-meeting-card{width:100%;text-align:right;border:1px solid #dbe7f5;background:linear-gradient(180deg,#f8fbff,#fff);border-radius:18px;padding:14px;box-shadow:0 8px 18px #0f172a08;transition:.15s}
.calendar-meeting-card:hover{transform:translateY(-2px);box-shadow:0 12px 24px #0f172a12}
.calendar-meeting-card .time{display:inline-flex;align-items:center;justify-content:center;background:#0bbfae;color:white;border-radius:999px;padding:4px 10px;font-weight:900;margin-bottom:8px}
.calendar-meeting-card b{display:block;color:#0f172a;font-size:16px}
.calendar-meeting-card small{display:block;color:#64748b;margin-top:4px}
@media(max-width:768px){
  .timeline-item{grid-template-columns:1fr}
  .report-tabs .nav-link{width:100%;text-align:center}
}

/* Reports page v5: exports, charts and polished calendar report */
.report-filter .btn-success{background:linear-gradient(135deg,#0bbf7a,#079862);border:0;font-weight:900;box-shadow:0 10px 22px rgba(7,152,98,.22)}
.followup-table-wrap{overflow-x:auto!important;overflow-y:hidden;max-width:100%;padding-bottom:8px;scrollbar-width:thin;scrollbar-color:#9fb4cc #edf3f8}
.followup-table-wrap::-webkit-scrollbar{height:12px}.followup-table-wrap::-webkit-scrollbar-track{background:#edf3f8;border-radius:999px}.followup-table-wrap::-webkit-scrollbar-thumb{background:#9fb4cc;border-radius:999px}
.report-wide-table{min-width:2900px!important;table-layout:auto}.report-wide-table th,.report-wide-table td{white-space:nowrap!important;word-break:keep-all!important;overflow-wrap:normal!important;padding-inline:16px!important}.report-wide-table thead th{position:sticky;top:0;z-index:3;min-width:145px;line-height:1.2;text-align:center}.report-wide-table td:first-child,.report-wide-table th:first-child{position:sticky;right:0;z-index:2;background:#fff;min-width:135px}.report-wide-table th:first-child{background:linear-gradient(180deg,#eef4fb,#e7eff8)!important;z-index:4}
.charts-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:8px}.chart-card{background:linear-gradient(180deg,#ffffff,#f8fbff);border:1px solid #dbe7f5;border-radius:24px;padding:20px;box-shadow:0 14px 34px rgba(15,23,42,.10);min-height:255px}.chart-card.big-chart{min-height:285px}.chart-title{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:18px;padding-bottom:14px;border-bottom:1px solid #edf2f7}.chart-title span{font-size:18px;font-weight:900;color:#073b78}.chart-title b{background:#eef6ff;color:#0a62b6;border-radius:999px;padding:6px 12px;font-size:12px}.hbar-row{display:grid;grid-template-columns:210px 1fr 120px;gap:12px;align-items:center;margin:14px 0}.hbar-label{font-weight:800;color:#334155;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hbar-track{height:17px;background:#eaf1f9;border-radius:999px;overflow:hidden;position:relative}.hbar-fill{height:100%;border-radius:999px;background:linear-gradient(90deg,#073b78,#0a62b6,#0bbfae);box-shadow:inset 0 0 0 1px rgba(255,255,255,.25)}.hbar-row.employee .hbar-fill{background:linear-gradient(90deg,#0a62b6,#8b5cf6)}.hbar-row.problems.p1 .hbar-fill{background:linear-gradient(90deg,#10b981,#0bbfae)}.hbar-row.problems.p2 .hbar-fill{background:linear-gradient(90deg,#ef4444,#f97316)}.hbar-row.platforms .hbar-fill{background:linear-gradient(90deg,#8b5cf6,#0a62b6)}.hbar-row strong{font-weight:900;color:#0f172a;text-align:left;white-space:nowrap}.report-calendar-shell{margin-top:8px}.report-calendar-hero h2{font-size:28px}.report-days-board{padding:18px!important}.calendar-days-only-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.report-day-only{height:315px!important;min-height:315px!important}.report-day-only .full-day-list{max-height:none}.report-day-only .appointment-card.full-info{min-height:auto}.report-day-only .appointment-note{max-height:56px;overflow:hidden}.calendar-stat{transition:.15s}.calendar-stat:hover{transform:translateY(-2px);box-shadow:0 14px 28px rgba(15,23,42,.12)}
@media(max-width:1200px){.charts-grid{grid-template-columns:1fr}.calendar-days-only-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hbar-row{grid-template-columns:170px 1fr 105px}}
@media(max-width:700px){.calendar-days-only-grid{grid-template-columns:1fr}.report-day-only{height:auto!important;min-height:unset!important}.hbar-row{grid-template-columns:1fr}.hbar-row strong{text-align:right}.charts-grid{gap:12px}.chart-card{padding:14px}}

/* Dashboard 7-day calendar */
.dashboard-week-calendar .mini-day-card{
    height:100%;
    background:#fff;
    border:1px solid rgba(15,23,42,.08);
    border-radius:18px;
    padding:14px;
    box-shadow:0 10px 25px rgba(15,23,42,.06);
}
.dashboard-week-calendar .mini-day-card.today{
    border-color:#0d6efd;
    box-shadow:0 10px 28px rgba(13,110,253,.12);
}
.dashboard-week-calendar .mini-day-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:10px;
    padding-bottom:10px;
    border-bottom:1px solid rgba(15,23,42,.08);
}
.dashboard-week-calendar .mini-day-head small{
    display:block;
    color:#64748b;
    margin-top:3px;
    direction:ltr;
    text-align:right;
}
.dashboard-week-calendar .mini-day-head span{
    background:#eef5ff;
    color:#0d6efd;
    border-radius:999px;
    padding:4px 9px;
    font-size:12px;
    white-space:nowrap;
}
.dashboard-week-calendar .mini-day-body{
    margin-top:10px;
    display:grid;
    gap:8px;
}
.dashboard-week-calendar .mini-event{
    background:#f8fafc;
    border:1px solid rgba(15,23,42,.07);
    border-radius:12px;
    padding:9px;
    font-size:13px;
}
.dashboard-week-calendar .mini-event small{
    display:block;
    color:#64748b;
    margin-top:4px;
}


/* Dashboard calendar premium animated UI */
.dashboard-calendar-pro{position:relative;overflow:hidden;background:linear-gradient(135deg,#ffffff 0%,#f8fbff 48%,#eef8ff 100%);border:1px solid #dbeafe;border-radius:28px;padding:22px;box-shadow:0 22px 55px rgba(15,23,42,.10);animation:dashFadeUp .55s ease both}
.dashboard-calendar-pro:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 82% 18%,rgba(11,191,174,.16),transparent 28%),radial-gradient(circle at 10% 4%,rgba(7,59,120,.12),transparent 26%);pointer-events:none}
.dashboard-calendar-pro>*:not(.dash-calendar-glow){position:relative;z-index:2}.dash-calendar-glow{position:absolute;border-radius:999px;filter:blur(12px);opacity:.65;animation:dashFloat 5.5s ease-in-out infinite}.dash-calendar-glow.glow-one{width:180px;height:180px;left:-70px;top:-55px;background:rgba(11,191,174,.18)}.dash-calendar-glow.glow-two{width:230px;height:230px;right:36%;bottom:-145px;background:rgba(10,98,182,.12);animation-delay:1.2s}.dash-calendar-top{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:16px}.dash-eyebrow{display:inline-flex;background:#e8fff9;color:#058b7f;border:1px solid #bdf4e9;border-radius:999px;padding:6px 12px;font-size:12px;font-weight:900;margin-bottom:8px}.dash-title-area h4{margin:0;color:#073b78;font-size:26px;font-weight:900}.dash-title-area p{margin:7px 0 0;color:#64748b;font-weight:700}.dash-title-area p b{color:#0f172a;direction:ltr;display:inline-block}.dash-actions-area{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.dash-scope-badge{background:#073b78;color:white;border-radius:999px;padding:9px 14px;font-weight:900;box-shadow:0 12px 24px rgba(7,59,120,.20)}.dash-open-calendar{background:#fff;color:#0a62b6;border:1px solid #b9d7ff;font-weight:900;box-shadow:0 10px 22px rgba(10,98,182,.10)}.dash-open-calendar:hover{background:#0a62b6;color:#fff;transform:translateY(-2px)}.dash-calendar-summary{display:grid;grid-template-columns:1fr 1.4fr 1.6fr;gap:12px;margin-bottom:18px}.dash-summary-card{background:rgba(255,255,255,.82);border:1px solid #dbe7f5;border-radius:20px;padding:14px 16px;box-shadow:0 12px 28px rgba(15,23,42,.07);backdrop-filter:blur(8px);transition:.2s}.dash-summary-card:hover{transform:translateY(-3px);box-shadow:0 18px 34px rgba(15,23,42,.11)}.dash-summary-card span{display:block;color:#64748b;font-size:12px;font-weight:900;margin-bottom:6px}.dash-summary-card b{display:block;color:#073b78;font-size:18px;font-weight:900;line-height:1.4}.dash-summary-card small{display:block;color:#0bbfae;font-weight:900;margin-top:3px}.dash-calendar-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.dash-day-card{position:relative;min-height:270px;background:rgba(255,255,255,.88);border:1px solid #dbe7f5;border-radius:24px;padding:15px;box-shadow:0 14px 32px rgba(15,23,42,.08);overflow:hidden;transition:.25s cubic-bezier(.2,.8,.2,1);animation:dashFadeUp .55s ease both;animation-delay:calc(var(--i) * 70ms)}.dash-day-card:before{content:"";position:absolute;inset:auto -35px -60px auto;width:130px;height:130px;border-radius:999px;background:rgba(10,98,182,.055);transition:.25s}.dash-day-card:hover{transform:translateY(-7px) scale(1.01);border-color:#9dccff;box-shadow:0 22px 44px rgba(15,23,42,.14)}.dash-day-card:hover:before{transform:scale(1.25);background:rgba(11,191,174,.10)}.dash-day-card.today{border:2px solid #0bbfae;background:linear-gradient(180deg,#effffb,#ffffff);box-shadow:0 18px 42px rgba(11,191,174,.18)}.dash-day-card.today .dash-date-bubble{background:linear-gradient(135deg,#0bbfae,#0a62b6);color:#fff;box-shadow:0 12px 24px rgba(11,191,174,.25);animation:todayPulse 2.2s ease-in-out infinite}.dash-card-head{display:flex;align-items:center;gap:10px;padding-bottom:12px;border-bottom:1px solid #edf2f7}.dash-date-bubble{width:54px;height:54px;border-radius:18px;background:#eef6ff;color:#073b78;display:flex;flex-direction:column;align-items:center;justify-content:center;flex:0 0 auto}.dash-date-bubble strong{font-size:21px;line-height:1;font-weight:900}.dash-date-bubble span{font-size:11px;font-weight:900;margin-top:3px}.dash-day-info{min-width:0;flex:1}.dash-day-info strong{display:block;color:#0f172a;font-size:16px;font-weight:900}.dash-day-info small{display:block;color:#64748b;font-size:11px;direction:ltr;text-align:right;margin-top:3px}.dash-count-pill{background:#e2ecf7;color:#334155;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:900;white-space:nowrap}.dash-day-card.has-events .dash-count-pill{background:#073b78;color:#fff}.dash-progress-line{height:4px;background:#edf2f7;border-radius:999px;overflow:hidden;margin:13px 0 12px}.dash-progress-line i{display:block;height:100%;width:calc((var(--count) / 4) * 100%);min-width:30px;background:linear-gradient(90deg,#0bbfae,#0a62b6);border-radius:999px;animation:shineMove 1.7s ease-in-out infinite}.dash-events-list{display:flex;flex-direction:column;gap:9px}.dash-event-card{display:grid;grid-template-columns:58px 1fr;gap:10px;align-items:start;background:linear-gradient(180deg,#f8fbff,#ffffff);border:1px solid #dbe7f5;border-right:5px solid #0a62b6;border-radius:17px;padding:11px;box-shadow:0 8px 18px rgba(15,23,42,.06);animation:eventSlide .38s ease both;animation-delay:calc((var(--i) * 55ms) + (var(--n) * 75ms));transition:.2s}.dash-event-card:hover{transform:translateX(-4px);background:#eef7ff}.dash-event-time{background:#0bbfae;color:#fff;border-radius:14px;text-align:center;padding:7px 6px;font-weight:900;direction:ltr;box-shadow:0 8px 16px rgba(11,191,174,.18)}.dash-event-main b{display:block;color:#0f172a;font-size:14px;font-weight:900;margin-bottom:2px}.dash-event-main span{display:inline-flex;background:#e8fff9;color:#05786f;border-radius:999px;padding:3px 8px;font-size:11px;font-weight:900;margin-bottom:5px}.dash-event-main small{display:block;color:#64748b;font-size:11px;font-weight:700;line-height:1.5}.dash-empty-state{min-height:145px;border:1px dashed #cfe0f2;border-radius:18px;background:repeating-linear-gradient(135deg,#f8fbff,#f8fbff 10px,#f1f7ff 10px,#f1f7ff 20px);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#64748b;padding:18px;animation:softBreathe 3s ease-in-out infinite}.dash-empty-state span{width:40px;height:40px;border-radius:15px;background:#e8fff9;color:#0bbfae;display:flex;align-items:center;justify-content:center;font-weight:900;margin-bottom:10px}.dash-empty-state b{color:#334155;font-size:14px;margin-bottom:3px}.dash-empty-state small{font-size:12px}@keyframes dashFadeUp{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}@keyframes eventSlide{from{opacity:0;transform:translateX(-14px)}to{opacity:1;transform:translateX(0)}}@keyframes dashFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-16px)}}@keyframes shineMove{0%,100%{filter:saturate(1);opacity:.85}50%{filter:saturate(1.35);opacity:1}}@keyframes todayPulse{0%,100%{box-shadow:0 12px 24px rgba(11,191,174,.25)}50%{box-shadow:0 16px 32px rgba(11,191,174,.38)}}@keyframes softBreathe{0%,100%{background-position:0 0}50%{background-position:24px 0}}@media(max-width:1350px){.dash-calendar-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:992px){.dash-calendar-top{display:block}.dash-actions-area{margin-top:14px}.dash-calendar-summary{grid-template-columns:1fr}.dash-calendar-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.dashboard-calendar-pro{padding:14px;border-radius:22px}.dash-calendar-grid{grid-template-columns:1fr}.dash-day-card{min-height:auto}.dash-title-area h4{font-size:22px}.dash-event-card{grid-template-columns:1fr}.dash-event-time{width:max-content}}
