/* ============================================================
   KALENDARZ GD MILANÓWEK
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: sans-serif;
    background: transparent;
    margin: 0;
    padding: 0;
    color: #333;
    overflow-x: hidden;
    transition: background 0.3s, color 0.3s;
    min-height: 100vh;
}

/* ── LAYOUT SHELL ── */
.app-shell {
    display: flex;
    min-height: 100vh;
    gap: 16px;
    padding: 0px;
    box-sizing: border-box;
}

/* ── SIDEBAR ── */
.cal-sidebar {
    width: 240px;
    flex-shrink: 0;
    background: #fff;
    border: 1px solid #e8eaed;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: calc(100vh - 16px);
    margin: 0;
    overflow-y: auto;
    overflow-x: hidden;
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 14px 10px;
    border-bottom: 1px solid #f0f0f0;
    flex-shrink: 0;
}
.sidebar-logo {
    font-size: 13px;
    font-weight: bold;
    color: #2c3e50;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sidebar-header-btns { display: flex; gap: 4px; }
.sidebar-icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 5px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1;
    transition: background 0.15s;
}
.sidebar-icon-btn:hover { background: #f0f2f5; }

/* ── MINI KALENDARZ ── */
.mini-cal {
    padding: 14px 12px 10px;
    flex-shrink: 0;
}
.mini-cal-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.mini-cal-nav span {
    font-size: 12px;
    font-weight: bold;
    color: #2c3e50;
}
.mini-cal-nav button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 4px;
    color: #666;
    font-size: 14px;
    line-height: 1;
}
.mini-cal-nav button:hover { background: #f0f2f5; }
.mini-cal-grid {
    display: grid;
    grid-template-columns: 18px repeat(7, 1fr);
    gap: 1px;
    align-items: center;
}
.mini-cal-wk {
    text-align: center;
    font-size: 9px;
    font-weight: bold;
    color: #bbb;
    padding: 3px 0;
    line-height: 18px;
}
.mini-cal-wk-hdr {
    color: #ccc;
    font-size: 8px;
    text-transform: uppercase;
}
.mini-cal-dow {
    text-align: center;
    font-size: 9px;
    font-weight: bold;
    color: #aaa;
    padding: 2px 0 4px;
}
.mini-cal-day {
    text-align: center;
    font-size: 11px;
    padding: 3px 0;
    border-radius: 50%;
    cursor: pointer;
    color: #555;
    line-height: 18px;
    width: 22px;
    height: 22px;
    margin: auto;
    position: relative;
}
.mini-cal-day:hover { background: #f0f2f5; }
.mini-cal-day.today {
    background: #3498db;
    color: #fff;
    font-weight: bold;
}
.mini-cal-day.other { color: #ccc; }
.mini-cal-day.active-month {
    font-weight: bold;
    color: #2c3e50;
}
.mini-cal-day.has-ev::after {
    content: '';
    position: absolute;
    bottom: 1px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #3498db;
}
.mini-cal-day.today.has-ev::after { background: #fff; }

/* ── SIDEBAR DIVIDER ── */
.sidebar-divider {
    height: 1px;
    background: #f0f0f0;
    margin: 0 12px;
    flex-shrink: 0;
}

/* ── SIDEBAR PEOPLE ── */
.sidebar-people {
    padding: 12px 14px;
    flex: 1;
    overflow-y: auto;
}
.sidebar-people-hdr {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.sidebar-people-hdr span {
    font-size: 10px;
    font-weight: bold;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.sidebar-add-btn {
    background: none;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    color: #888;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}
.sidebar-add-btn:hover { background: #f0f2f5; }

.sidebar-person {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
    border-bottom: 1px solid #f5f5f5;
    cursor: pointer;
}
.sidebar-person:last-child { border-bottom: none; }
.sidebar-person:hover { opacity: 0.8; }

.sidebar-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    flex-shrink: 0;
    border: 2px solid transparent;
}
.sidebar-person-info { flex: 1; min-width: 0; }
.sidebar-person-name {
    font-size: 12px;
    font-weight: 500;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sidebar-person-role { font-size: 10px; color: #aaa; }

.sidebar-toggle {
    width: 30px;
    height: 17px;
    border-radius: 9px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    padding: 2px;
    cursor: pointer;
    border: none;
    transition: background 0.2s;
    position: relative;
}
.sidebar-toggle.on  { background: #3498db; justify-content: flex-end; }
.sidebar-toggle.off { background: #d0d5dd; justify-content: flex-start; }
.sidebar-toggle-knob {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #fff;
    flex-shrink: 0;
}

/* ── ROLA ── */
.sidebar-role-bar {
    padding: 10px 14px;
    border-top: 1px solid #f0f0f0;
    flex-shrink: 0;
}

/* ── MAIN ── */
.cal-main {
    flex: 1;
    min-width: 0;
    padding: 0 0 10px 0;
    overflow-x: hidden;
    overflow-y: hidden;
    /* +20px u dołu = dokładnie tyle, ile zabiera padding-bottom powyżej — dzięki temu
       obszar TREŚCI (po odjęciu paddingu) wychodzi identyczny jak wysokość sidebar
       (calc(100vh - 16px)), a karta kończy się na tej samej wysokości co sidebar.
       Dodatkowe 20px to wyłącznie miejsce PONIŻEJ treści na cień karty. */
    height: calc(100vh - 16px + 10px);
    min-height: 0;
    display: flex;
    flex-direction: column;
}

#calendarView {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}
.cal-card-shadow {
    box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.05);
}
body.dark-theme .cal-card-shadow {
    box-shadow: 0 1px 3px rgba(0,0,0,0.3), 0 4px 16px rgba(0,0,0,0.25) !important;
}

/* ── MODAL ── */
.modal-overlay {
    position: fixed !important;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: transparent;
    backdrop-filter: blur(3px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease-out, visibility 0.2s ease-out;
}
.modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    width: calc(100% - 30px);
    max-width: 520px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    max-height: 90vh;
    overflow-y: auto;
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 15px;
}
.modal-header h3 { margin: 0; color: #2c3e50; font-size: 16px; }
.modal-close { background: none; border: none; font-size: 20px; cursor: pointer; color: #888; }

.form-group { margin-bottom: 15px; }
.form-group label { display: block; margin-bottom: 5px; font-size: 13px; font-weight: bold; color: #555; }
.form-group input:not([type="checkbox"]) { width: 100%; padding: 8px; border: 1px solid #ccc; border-radius: 6px; box-sizing: border-box; }
.form-group textarea { width: 100%; max-width: 100%; padding: 8px; border: 1px solid #ccc; border-radius: 6px; box-sizing: border-box; resize: vertical; }
.form-group select   { width: 100%; padding: 8px; border: 1px solid #ccc; border-radius: 6px; box-sizing: border-box; }

.modal-footer { display: flex; justify-content: flex-end; gap: 10px; border-top: 1px solid #eee; padding-top: 15px; margin-top: 10px; }
.modal-footer button { padding: 9px 16px; border: none; border-radius: 6px; cursor: pointer; font-weight: bold; }
.btn-save         { background: #3498db; color: white; }
.btn-cancel       { background: #ecf0f1; color: #333; }
.btn-delete-modal { background: #e74c3c; color: white; padding: 9px 16px; border: none; border-radius: 6px; cursor: pointer; font-weight: bold; }

/* TYP WYDARZENIA */
.cal-type-btn { background: #f4f7f6; color: #555; transition: background 0.15s, color 0.15s; }
.cal-type-btn.cal-type-active { background: #3498db; color: #fff; }

/* DRAG & DROP */
.cal-drag-over { position: relative !important; outline: none !important; background-color: transparent !important; }
.cal-drag-over::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: #3498db;
    border-radius: 2px;
    pointer-events: none;
    z-index: 10;
}
.cal-event-dragging {
    opacity: 0.5 !important;
    filter: grayscale(20%);
    z-index: 90;
}

/* PAINT SELECT */
.cal-paint-selected { background-color: rgba(52,152,219,0.18) !important; outline: 2px solid rgba(52,152,219,0.5) !important; outline-offset: -1px; user-select: none; }

/* SPOTLIGHT */
#calSpotlight {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: transparent;
    backdrop-filter: blur(3px);
    z-index: 1200;
    display: flex; flex-direction: column; align-items: center;
    padding-top: 72px;
    animation: calSpotlightIn 0.18s ease;
}
@keyframes calSpotlightIn { from { opacity:0; } to { opacity:1; } }
#calSpotlightBox {
    width: calc(100% - 40px);
    max-width: 640px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.28);
    overflow: hidden;
    animation: calSpotlightSlide 0.18s ease;
}
@keyframes calSpotlightSlide { from { transform:translateY(-16px);opacity:0; } to { transform:translateY(0);opacity:1; } }
#calSpotlightInput {
    width: 100%; padding: 16px 20px 16px 52px;
    font-size: 18px; border: none; outline: none;
    background: transparent; box-sizing: border-box;
}
#calSpotlightResults {
    max-height: 60vh; overflow-y: auto;
    border-top: 1px solid #eee;
}

/* ============================================================
   DARK THEME
   ============================================================ */

/* Główne tło — identyczne jak OPD (#121212) */
body.dark-theme { background: #121212 !important; color: #e0e0e0 !important; }

/* ── SIDEBAR ── */
body.dark-theme .cal-sidebar {
    background: #1e1e1e !important;
    border-color: #333 !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.4), 0 4px 16px rgba(0,0,0,0.35) !important;
    color: #e0e0e0 !important;
}
body.dark-theme .sidebar-header  { border-bottom-color: #333 !important; }
body.dark-theme .sidebar-logo    { color: #e0e0e0 !important; }
body.dark-theme .sidebar-icon-btn            { color: #94a3b8 !important; }
body.dark-theme .sidebar-icon-btn:hover      { background: #2d2d2d !important; }
body.dark-theme .sidebar-divider             { background: #333 !important; }
body.dark-theme .sidebar-people-hdr span    { color: #94a3b8 !important; }
body.dark-theme .sidebar-add-btn            { border-color: #444 !important; color: #94a3b8 !important; }
body.dark-theme .sidebar-add-btn:hover      { background: #2d2d2d !important; }
body.dark-theme .sidebar-person             { border-bottom-color: #333 !important; }
body.dark-theme .sidebar-person:hover       { opacity: 0.85; }
body.dark-theme .sidebar-person-name        { color: #e0e0e0 !important; }
body.dark-theme .sidebar-role-bar           { border-top-color: #333 !important; }
body.dark-theme .sidebar-toggle.off         { background: #444 !important; }
body.dark-theme ._cal-drag-handle           { color: #555 !important; }
body.dark-theme ._cal-drag-handle:hover     { color: #3498db !important; }

/* ── MINI KALENDARZ ── */
body.dark-theme .mini-cal-nav span          { color: #e0e0e0 !important; }
body.dark-theme .mini-cal-nav button        { color: #94a3b8 !important; }
body.dark-theme .mini-cal-nav button:hover  { background: #2d2d2d !important; }
body.dark-theme .mini-cal-dow               { color: #64748b !important; }
body.dark-theme .mini-cal-wk               { color: #555 !important; }
body.dark-theme .mini-cal-wk-hdr           { color: #444 !important; }
body.dark-theme .mini-cal-day              { color: #94a3b8 !important; }
body.dark-theme .mini-cal-day.active-month { color: #e0e0e0 !important; }
body.dark-theme .mini-cal-day.other        { color: #555 !important; }
body.dark-theme .mini-cal-day:hover        { background: #2d2d2d !important; }

/* ── MODAL ── */
body.dark-theme .modal-content            { background: #1e1e1e !important; color: #e0e0e0 !important; border-color: #333 !important; }
body.dark-theme .modal-header             { border-bottom-color: #333 !important; }
body.dark-theme .modal-header h3          { color: #e0e0e0 !important; }
body.dark-theme .modal-footer             { border-top-color: #333 !important; }
body.dark-theme .modal-close              { color: #94a3b8 !important; }
body.dark-theme .modal-close:hover        { color: #e0e0e0 !important; }
body.dark-theme .form-group label         { color: #94a3b8 !important; }
body.dark-theme .form-group input::placeholder,
body.dark-theme .form-group textarea::placeholder { color: #64748b !important; }
body.dark-theme input:not([type="color"]):not([type="checkbox"]):not([type="radio"]),
body.dark-theme textarea,
body.dark-theme select {
    background: #2d2d2d !important;
    color: #e0e0e0 !important;
    border-color: #444 !important;
}
body.dark-theme .modal-content input,
body.dark-theme .modal-content textarea,
body.dark-theme .modal-content select     { background: #2d2d2d !important; color: #e0e0e0 !important; border-color: #444 !important; }
body.dark-theme .modal-content [style*="border:1px solid #ccc"],
body.dark-theme .modal-content [style*="border: 1px solid #ccc"] { border-color: #444 !important; }
body.dark-theme .modal-footer [style],
body.dark-theme .modal-header + * [style] { background: #1e1e1e !important; color: #e0e0e0 !important; }
body.dark-theme .btn-save         { background: #2980b9 !important; color: #fff !important; }
body.dark-theme .btn-save:hover   { background: #3498db !important; }
body.dark-theme .btn-cancel       { background: #2d2d2d !important; color: #e0e0e0 !important; border: 1px solid #444 !important; }
body.dark-theme .btn-delete-modal { background: #c0392b !important; color: #fff !important; }
body.dark-theme .btn-delete-modal:hover { background: #e74c3c !important; }
body.dark-theme .btn-cancel:hover         { background: #3d3d3d !important; }
body.dark-theme .cal-type-btn             { background: #2d2d2d !important; color: #94a3b8 !important; border-color: #444 !important; }
body.dark-theme .cal-type-btn.cal-type-active { background: #2980b9 !important; color: #fff !important; border-color: #2980b9 !important; }

/* ── SPOTLIGHT ── */
body.dark-theme #calSpotlightBox          { background: #1e1e1e !important; border-color: #333 !important; }
body.dark-theme #calSpotlightInput        { color: #e0e0e0 !important; background: transparent !important; }
body.dark-theme #calSpotlightResults      { border-top-color: #333 !important; }

/* ── GŁÓWNA SIATKA KALENDARZA ── */
/* Nadpisanie białych teł inline renderowanych przez JS */
body.dark-theme [style*="background: #fff"],
body.dark-theme [style*="background:#fff"],
body.dark-theme [style*="background: #f9f9f9"],
body.dark-theme [style*="background: #f4f4f4"],
body.dark-theme [style*="background: #ecf0f1"],
body.dark-theme [style*="background: #fafafa"] {
    background-color: #1e1e1e !important;
    border-color: #333 !important;
    color: #e0e0e0 !important;
}
/* Komórki spoza bieżącego miesiąca */
body.dark-theme [style*="background: #191b24"],
body.dark-theme [style*="background:#191b24"] {
    background-color: #161616 !important;
}
/* Teksty ciemne inline — rozjaśnienie do czytelnych wartości */
body.dark-theme [style*="color: #2c3e50"],
body.dark-theme [style*="color:#2c3e50"]  { color: #e0e0e0 !important; }
body.dark-theme [style*="color: #333"],
body.dark-theme [style*="color:#333"]     { color: #e0e0e0 !important; }
body.dark-theme [style*="color: #555"]    { color: #94a3b8 !important; }
body.dark-theme [style*="color: #666"]    { color: #94a3b8 !important; }
body.dark-theme [style*="color: #888"]    { color: #64748b !important; }
body.dark-theme [style*="color: #70757a"] { color: #64748b !important; }
body.dark-theme [style*="color: #bbb"],
body.dark-theme [style*="color:#bbb"]     { color: #555 !important; }
/* Linie siatki i bordery inline */
body.dark-theme [style*="border-bottom: 1px solid #e8eaed"],
body.dark-theme [style*="border-bottom:1px solid #e8eaed"],
body.dark-theme [style*="border-right: 1px solid #e8eaed"],
body.dark-theme [style*="border-right:1px solid #e8eaed"]  { border-color: #333 !important; }
/* Toolbar kalendarza */
body.dark-theme [style*="background: #f0f1f3"],
body.dark-theme [style*="background:#f0f1f3"] { background-color: #2d2d2d !important; color: #94a3b8 !important; }

/* ── HOVER PRZYCISKÓW NAWIGACJI ── */
body.dark-theme .cal-hover-btn:hover {
    background: #2980b9 !important;
    border-color: #2980b9 !important;
    color: #fff !important;
}

/* ── HOVER WYDARZEŃ ── */
body.dark-theme .cal-ev-hover:hover,
body.dark-theme .cal-ev-allday:hover,
body.dark-theme .cal-month-timed:hover    { box-shadow: inset 0 0 0 2px #94a3b8; }

body.dark-theme .cal-side-flip:hover {
    border-left-color: #94a3b8 !important;
    box-shadow:
        inset 0  2px 0 0 #94a3b8,
        inset 0 -2px 0 0 #94a3b8,
        inset -2px 0 0 0 #94a3b8;
}
body.dark-theme .cal-side-flip.cal-ev-hl {
    border-left-color: #94a3b8 !important;
    box-shadow:
        inset 0  2px 0 0 #94a3b8,
        inset 0 -2px 0 0 #94a3b8,
        inset -2px 0 0 0 #94a3b8;
}
body.dark-theme .cal-ev-allday.cal-ev-hl  { filter: brightness(0.82); }

/* ── DRAG & DROP ── */
body.dark-theme .cal-drag-over::after     { background: #3498db; }
body.dark-theme .sidebar-person._cal-dnd-over { box-shadow: inset 0 -2px 0 0 #3498db; }

/* ── PRZYCISKI AKCJI W SIDEBARZE ── */
.sidebar-action-top    { padding: 12px 12px 0;  flex-shrink: 0; }
.sidebar-action-search { padding: 0 12px 12px; flex-shrink: 0; }

/* ── HOVER NIEBIESKI (sidebar + widoki + nawigacja) ── */
.cal-hover-btn { transition: background 0.15s, color 0.15s, border-color 0.15s; }
.cal-hover-btn:hover {
    background: #3498db !important;
    color: #fff !important;
    border-color: #3498db !important;
}

/* ── HOVER WSPÓLNY: ramka dla wszystkich wydarzeń ── */
.cal-month-timed { border-radius: 4px; padding: 1px 3px; margin-left: -3px; margin-right: -3px; }
.cal-ev-hover, .cal-ev-allday, .cal-month-timed { transition: box-shadow 0.12s, border-left-color 0.12s; }

.cal-ev-hover:hover,
.cal-ev-allday:hover,
.cal-month-timed:hover { box-shadow: inset 0 0 0 2px #3498db; }

/* Dzień/tydzień: lewy border + ramka inset bez lewej strony */
.cal-side-flip { transition: box-shadow 0.12s, border-left-color 0.12s; }
.cal-side-flip:hover {
    border-left-color: #3498db !important;
    box-shadow: inset 0 2px 0 0 #3498db, inset 0 -2px 0 0 #3498db, inset -2px 0 0 0 #3498db;
}

/* ── MINI KALENDARZ ── */
.mini-cal { padding: 14px 12px 10px; flex-shrink: 0; }

.cal-ev-allday { transition: filter 0.12s, box-shadow 0.12s, border-left-color 0.12s; }
.cal-ev-allday.cal-ev-hl { filter: brightness(0.88); }

.cal-side-flip.cal-ev-hl {
    border-left-color: #3498db !important;
    box-shadow: inset 0 2px 0 0 #3498db, inset 0 -2px 0 0 #3498db, inset -2px 0 0 0 #3498db;
}
body.dark-theme .cal-side-flip.cal-ev-hl {
    border-left-color: #94a3b8 !important;
    box-shadow: inset 0 2px 0 0 #94a3b8, inset 0 -2px 0 0 #94a3b8, inset -2px 0 0 0 #94a3b8;
}
body.dark-theme .cal-ev-allday.cal-ev-hl { box-shadow: inset 0 0 0 2px #94a3b8; }

/* ── DRAG & DROP KOLEJNOŚCI PRACOWNIKÓW W SIDEBARZE ── */
._cal-drag-handle:hover { color: #3498db !important; }
.sidebar-person[draggable="true"] { cursor: default; }
.sidebar-person._cal-dnd-over { box-shadow: inset 0 -2px 0 0 #3498db; border-radius: 4px; }
/* ── PRZYCISKI MODALA — muszą być na końcu żeby bić [style*=] ── */
body.dark-theme .btn-save,
body.dark-theme .modal-footer .btn-save         { background: #2980b9 !important; color: #fff !important; border: none !important; }
body.dark-theme .btn-save:hover,
body.dark-theme .modal-footer .btn-save:hover   { background: #3498db !important; }
body.dark-theme .btn-cancel,
body.dark-theme .modal-footer .btn-cancel       { background: #2d2d2d !important; color: #e0e0e0 !important; border: 1px solid #444 !important; }
body.dark-theme .btn-cancel:hover,
body.dark-theme .modal-footer .btn-cancel:hover { background: #3d3d3d !important; }
body.dark-theme .btn-delete-modal,
body.dark-theme .modal-footer .btn-delete-modal         { background: #c0392b !important; color: #fff !important; border: none !important; }
body.dark-theme .btn-delete-modal:hover,
body.dark-theme .modal-footer .btn-delete-modal:hover   { background: #e74c3c !important; }
/* ── PRZYCISK RESETUJ FILTRY ── */
.cal-filter-reset-btn:hover {
    background: #e74c3c !important;
    color: #fff !important;
    border-color: #e74c3c !important;
}
body.dark-theme .cal-filter-reset-btn {
    border-color: #c0392b !important;
    color: #e57373 !important;
}
body.dark-theme .cal-filter-reset-btn:hover {
    background: #c0392b !important;
    color: #fff !important;
    border-color: #c0392b !important;
}
/* ============================================================
   IKONY SVG — spójne wyrównanie (moduł kalendarza)
   ============================================================ */
.cal-type-btn svg,
.btn-cancel svg,
.btn-save svg,
.btn-delete-modal svg { display: block; }

.btn-cancel,
.btn-save,
.btn-delete-modal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
