/* ---------------------------------------------------------
   CalmCalendar – Popup-optimiertes Layout (Cockpit-Look)
--------------------------------------------------------- */

/* Entfernt altes 2-Spalten-Layout */
.cc-layout,
.cc-left,
.cc-right {
    all: unset;
}

/* Kalender passt perfekt in die Popup-Box */
.cc-calendar-wrapper {
    flex: 1;                      /* nimmt alles, was nach Header/Weekdays übrig bleibt */
    overflow: hidden;
    background: rgba(255,255,255,0.45);
    backdrop-filter: blur(12px);
    border-radius: 18px;
    padding: 10px !important;
    box-shadow:
        0 4px 14px rgba(0,0,0,0.12),
        0 0 20px rgba(142,121,199,0.2) inset;
    box-sizing: border-box;
    height: min-content;
}

/* Grid: 7 Spalten, dynamische Zeilen */
.cc-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-auto-rows: 1fr;   /* gleich hohe Zeilen */
    height: auto;
    gap: 6px;
}


/* Tagesboxen quadratisch */
.cc-day {
    height: 100%;                 /* nimmt exakt den Zeilenplatz ein */
    min-height: 0;                /* verhindert Überlauf */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    overflow-y: visible;
    gap: 4px;
    padding: 6px;
    border-radius: 12px;
    background:var(--color-accent-orange-opacity-08);
    backdrop-filter: blur(6px);
}

/* Day-scrollbar */ 
.cc-day::-webkit-scrollbar, 
.cc-modal-content::-webkit-scrollbar {
    width: 5px;
}

/* Softeres Mint + Soft Glass */
.cc-day::-webkit-scrollbar-track, 
.cc-modal-content::-webkit-scrollbar-track {
    background: var(--color-primary-soft); /* sehr soft */
    border-radius: 12px;
    backdrop-filter: blur(6px);
}

.cc-day::-webkit-scrollbar-thumb,
.cc-modal-content::-webkit-scrollbar-thumb {
    background: var(--color-primary-medium); /* weiches Mint */
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(8px) saturate(160%);
}

.cc-day::-webkit-scrollbar-thumb:hover,
.cc-modal-content::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary-strong); /* etwas kräftiger beim Hover */
}

/* Heute */
.cc-day.cc-today {
    background: linear-gradient(
        135deg,
        rgba(46,196,201,0.12),
        rgba(255,153,102,0.12)
    );
    backdrop-filter: blur(6px);
    border-radius: 12px;
    padding: 6px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}


/* Wochentagszeile */
.cc-weekday-row {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    margin-bottom: 8px;
}

.cc-weekday-row > div {
    height: 32px;
    aspect-ratio: auto;
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(6px);
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    color: #4b3d63;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Header */
.cc-calendar-header {
    display: grid;
    grid-template-columns: 0.5fr 1.5fr 1fr;
    align-items: center;
    margin-bottom: 16px;
}
.cc-header-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 14px;
}

.cc-current-month {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 700;
    color: #4b3d63;
}

.cc-header-center {
    text-align: center;
}

/* Pfeile */
.cc-prev-month,
.cc-next-month {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: none;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(6px);
    font-size: 1.8rem;
    color: #4b3d63;
    cursor: pointer;
    transition: 0.2s ease;
}

.cc-next-month {
    text-align: end;
}

.cc-prev-month:hover,
.cc-next-month:hover {
    background: rgba(255,255,255,0.9);
    transform: translateY(-2px);
}

/* Heute-Button */
.cc-today-btn {
    background: var(--color-primary-opacity-40);
    border: none;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    color: #4b3d63;
    white-space: nowrap;
}

.cc-today-btn:hover {
    background: var(--color-accent-orange-opacity-35);
    color: #4b3d63;
}

.cc-day-other {
    opacity: 0.35;
}

.cc-day-number {
    text-align: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: #4b3d63;
}

.cc-day.cc-today .cc-day-number {
    color: #000;
}

/* Events */
.cc-event {
    background: linear-gradient( 180deg, color-mix(in srgb, var(--cat-color) 70%, white) 0%, 
    color-mix(in srgb, var(--cat-color) 25%, white) 100% ); 
    color: #3a2f4d;
    padding: 6px;
    border-radius: 10px;
    font-size: clamp(0.65rem, 0.55vw, 0.78rem); /* fluid */
    font-weight: 600;
    display: flex;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    transition: 0.2s ease;
}
.cc-event:hover {
    transform: translateY(-1px);
    filter: brightness(1.03);
}
.cc-event-status {
    font-size: clamp(0.55rem, 0.45vw, 0.65rem);
    padding: 2px 4px;
    border-radius: 4px;
    background: rgba(255,255,255,0.35);
    color: #3a2f4d;
    align-self: flex-end;
}
.cc-event-icon svg{
	width: 22px;
	height: 22px;
	align-items: center;
	justify-content: center;
	display: inline-flex;
}

.cc-event-icon {
    width: 22px;
    height: 22px;
}
.cc-event-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    text-align: left;
    font-size: clamp(0.6rem, 0.5vw, 0.75rem);
    line-height: 1.2;
}

/*--------------POPUP--------------------------*/
.cc-modal:not(.open) .cc-modal-content {
    display: none;
}
.cc-modal-content {
    background:  rgba(255,255,255,0.68);
    backdrop-filter: blur(14px);
    border-radius: 20px;
    padding: 32px;
    width: min(700px, 90%);
    box-shadow:
        0 8px 24px rgba(0,0,0,0.12),
        0 0 40px rgba(142,121,199,0.25) inset;
    position: relative;
    animation: cc-popup-fade 0.25s ease-out;
}
@keyframes cc-popup-fade {
    from { opacity: 0; transform: translateY(10px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
.cc-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
	background: none;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: var(--color-secondary-text);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s ease;
}
.cc-close:hover {
    color: var(--color-accent-orange);
    background: none;
}

.cc-modal-title {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #4b3d63;
    background:  rgba(255,255,255,0.35);
	border-radius: 12px;
	padding: 10px;
}

#cc-modal .cc-event-icon {
    position: relative;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#cc-modal .cc-event-icon::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: color-mix(in srgb, var(--cat-color) 60%, white);
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

#cc-modal .cc-event-icon svg {
    position: relative;
    width: 22px;
    height: 22px;
    fill: #fff;
}
.cc-modal-meta,
.cc-modal-capacity {
    font-size: 1rem;
    margin-bottom: 10px;
    color: #4b3d63;
    line-height: 1.4;
    background: linear-gradient(
    135deg,
    rgba(255, 234, 207, 0.5) 0%,
    rgba(230, 217, 255, 0.5) 100%
    );
	border-radius: 12px;
	padding: 10px;
}

.cc-modal-description {
    background: linear-gradient(
    135deg,
    rgba(255, 234, 207, 0.5) 0%,
    rgba(230, 217, 255, 0.5) 100%
    );
	border-radius: 12px; 
	padding: 10px;
	color: #4b3d63;
	font-size: 1rem;
	font-weight: 500;
}

.cc-btn {
    display: inline-block;
    padding: 12px 18px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    width: 100%;
    margin: 8px 0;
    transition: 0.2s ease;
    background: #EEE7FA;
    color: #4b3d63;
    backdrop-filter: blur(6px);
}
.cc-btn:hover { 
    background: var(--color-accent-orange); 
}

.cc-btn-book {
    background: color-mix(in srgb, #2EC4C9 40%, white);
    color: #4b3d63;
}

.cc-btn-cancel {
    background: #B9A4E0;
    color: #fff;
}

.cc-btn-ical {
    background: #E8F9F4;
    color: #5A4A6F;
}

.cc-status-wait {
    background: #f1c40f;
    color: #333;
}

#cc-popup-status .cc-status-ok {
    background: linear-gradient(135deg,rgba(216, 245, 208, 0.95) 0%, rgba(255, 255, 255, 0.43) 100%);
    border-left: 6px solid #27ae60;
    color: #5A4A6F;
    border-radius: 12px;
    padding: 8px 12px;
    margin: 10px 0;
    font-weight: 600;
}

#cc-modal span.cc-cat-icon-inline {
	display: none;
}

/* Modal sicher über allem */
.cc-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999; /* wichtig */
    background: linear-gradient(
        135deg,
        var(--color-primary-light),
        var(--color-accent-orange-opacity-25)
    );
    backdrop-filter: blur(4px);
    justify-content: center;
    align-items: center;
}

/* Wenn Modal offen: Hintergrund (Popup-Content) beruhigen & blocken */
body.cc-modal-open #cc-popup-content {
    filter: blur(3px) brightness(0.9);
    pointer-events: none;
    user-select: none;
    transition: filter 0.2s ease;
}

.cc-modal[style*="display: flex"] .cc-modal-content {
    display: block;
}

/*----------Übersichtsliste----------------------------*/
.cc-event-list {
    background: linear-gradient(
        180deg,
        rgba(255,255,255,0.75),
        var(--color-bg-item-strong)
    );
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 26px;
    box-shadow:
        0 6px 18px rgba(0,0,0,0.08),
        0 0 40px rgba(142,121,199,0.15) inset;
    width: 100%;
    box-sizing: border-box;
    max-height: calc(100dvh - 300px) !important;
    overflow-y: auto;
    transition: 0.2s ease;
}

.cc-event-list::-webkit-scrollbar {
    width: 8px;
}

.cc-event-list::-webkit-scrollbar-track {
    background: rgba(201,183,231,0.15);
    border-radius: 10px;
}

.cc-event-list::-webkit-scrollbar-thumb {
    background: rgba(142,121,199,0.35);
    border-radius: 10px;
}

.cc-event-list::-webkit-scrollbar-thumb:hover {
    background: rgba(142,121,199,0.55);
}

.cc-list-month {
    padding: 0;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-secondary-text);
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0.9;
    background: var(--color-bg-purple-light);
    border-radius: 6px;
    padding: 5px;
}

.cc-list-month::before,
.cc-list-month::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(
        90deg,
        rgba(142,121,199,0.15),
        rgba(201,183,231,0.25)
    );
}

.cc-list-item {
    background: linear-gradient(
        135deg,
        rgba(75, 220, 165, 0.10),
        rgba(201,183,231,0.12)
    );
    border-radius: 14px;
    padding: 16px 18px;
    margin-bottom: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    cursor: pointer;
    transition: 0.25s ease;
    border-left: 6px solid var(--cat-color, #5A4A6F);
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.cc-list-item:hover {
    background: linear-gradient(
        135deg,
        rgba(75, 220, 165, 0.16),
        rgba(201,183,231,0.18)
    );
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.cc-list-date {
    font-size: 0.9rem;
    font-weight: 700;
    color: #4b3d63;
    opacity: 0.9;
}
.cc-list-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
    font-weight: 600;
    color: #4b3d63;
}
.cc-list-item .cc-event-icon {
    position: relative;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cc-list-item .cc-event-icon::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: color-mix(in srgb, var(--cat-color) 60%, white);
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.cc-list-item .cc-event-icon svg {
    position: relative;
    width: 18px;
    height: 18px;
    fill: white;
}

.cc-list-status {
    font-size: 0.8rem;
    font-weight: 600;
    background: rgba(142,121,199,0.15);
    color: #4b3d63;
    padding: 4px 10px;
    border-radius: 8px;
    align-self: flex-start;
	  grid-column: 2;
    grid-row: 2;
    justify-self: end;
}

.cc-list-full .cc-list-status {
    background: var(--cat-color, #5A4A6F);
    color: white;
}


.cc-list-item {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 6px 14px;
}

.cc-list-date {
    grid-column: 1;
    grid-row: 1;
}

.cc-list-title {
    grid-column: 1;
    grid-row: 2;
}

.cc-list-time {
    grid-column: 2;
    grid-row: 1;
    text-align: right;
	font-size: 0.9rem;
	font-weight: 600;
	color: #4b3d63;
	opacity: 0.9;
}

/* ---------------------------------------------------------
   CalmCalendar – Profil-Integration
--------------------------------------------------------- */
.cc-my-bookings {
    margin-top: 0;
    width: 100%;
}

.cc-bookings-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0;
    background: transparent;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
}

.cc-bookings-table thead {
    background: transparent;
    font-weight: 600;
}

.cc-bookings-table th {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 2px solid var(--color-secondary-opacity-20);
    color: var(--color-secondary-text);
    font-size: var(--font-size-small);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cc-bookings-table td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--color-secondary-opacity-10);
    color: var(--color-secondary-text);
    font-size: var(--font-size-base);
}

.cc-bookings-table tbody tr {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    transition: background 0.2s ease;
}

.cc-bookings-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.6);
}

.cc-bookings-table tbody td:first-child {
    border-radius: 8px 0 0 8px;
}

.cc-bookings-table tbody td:last-child {
    border-radius: 0 8px 8px 0;
}

.cc-visibility {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.cc-visibility.public {
    background: var(--color-primary-ultra-light);
    color: #2ec4c9;
}

.cc-visibility.private {
    background: rgba(255, 153, 102, 0.15);
    color: var(--color-accent-orange);
}

.cc-toggle-visibility {
    padding: 8px 14px;
    background: var(--mint);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.cc-toggle-visibility:hover:not(:disabled) {
    background: #2db4b9;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px var(--color-primary-opacity-30);
}

.cc-toggle-visibility:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}


/* -----------------------------------------
   Overlay
----------------------------------------- */
.cc-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;

    background: linear-gradient(
        135deg,
        var(--color-primary-light),
        var(--color-accent-orange-opacity-25)
    );
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    z-index: 2;
}

/* -----------------------------------------
   Popup-Box
----------------------------------------- */
.cc-popup-box {
    background: var(--white-glass-strong);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    border-radius: 22px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.18);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.35);
    width: 95%;
    max-width: 1200px;
    max-height: 95vh;
    display: flex;
    flex-direction: column;
    height: auto;
    align-self: center;
}

/* Header */
.cc-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 18px 24px;
    background: none;
    border-bottom: none;
    flex-shrink: 0;
}

.cc-popup-title {
    color: #5A4A6F;
    margin: 0;
    font-size: 28px;
}

.cc-popup-header-buttons {
    grid-column: 2;
    justify-self: center;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Inhalt */
.cc-popup-content {
    flex: 1;
    overflow-y: hidden;
    padding: 0;
    flex-wrap: wrap;
    display: flex;
    align-self: center;
    height: auto;
    padding: 20px;
    padding-top: 0;
    width: -webkit-fill-available;
}

/* -----------------------------------------
   Innere Shell (Kalender + Übersicht)
----------------------------------------- */

.cc-shell {
    position: relative;
    height: auto;
    display: flex;
    flex: 1;
    max-height: -webkit-fill-available;
}

/* Umschalt-Buttons im Calm-/Cockpit-Look */
.cc-switch-btn {
    background: color-mix(in srgb, #2EC4C9 40%, white);
    color: #5A4A6F;
    backdrop-filter: blur(10px);
    border-radius: 14px;
    border: none;
    padding: 8px 14px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    transition: background 0.2s ease, transform 0.2s ease;
    white-space: nowrap;     
}

.cc-switch-btn:hover {
    background: var(--color-accent-orange);
    transform: translateY(-1px);
    color: #5A4A6F;
}

/* Views: weiches Umschalten */
.cc-view {
    display: none;
    opacity: 0;
    pointer-events: none;
}

.cc-view.active {
    display: flex;
    opacity: 1;
    overflow: hidden;
    padding: 0;
    flex: 1;
    pointer-events: auto;
}

.cc-view-calendar,
.cc-view-list {
    padding-top: 10px;
}

.cc-month-tabs {
    color: var(--color-secondary-text);
    padding: 0 10px 0 0;
}

.cc-month-tab {
    background: rgba(255,255,255,0.6);
    border: none;
    border-radius: 12px;
    padding: 6px 14px;
    margin-bottom: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.cc-month-tab:hover {
    background: rgba(255,255,255,0.85);
}

.cc-month-tab .active {
    background: var(--color-secondary-text);
    color: white;
}
/* -----------------------------------------
   Kalender & Liste im Glass-Look einbetten
----------------------------------------- */

.cc-calendar-wrapper {
    background: rgba(255,255,255,0.45);
    backdrop-filter: blur(12px);
    border-radius: 18px;
    padding: 0;
    box-shadow:
        0 4px 14px rgba(0,0,0,0.12),
        0 0 20px rgba(142,121,199,0.2) inset;
    flex: 1;
    position: relative;
    height: auto;
    width: auto;
}

/* Listenansicht ähnlich */
.cc-event-list {
    background: transparent;
    backdrop-filter: blur(12px);
    border-radius: 18px;
    padding: 10px;
    box-shadow:
        0 4px 14px rgba(0,0,0,0.12),
        0 0 20px rgba(142,121,199,0.2) inset;
    flex: 1;
}
/*-----------MOBILE ANSICHT--------------*/
@media (max-width: 900px) {
    .cc-popup-box {
        height: calc(100vh - 80px);
        align-self: end;
        margin: 10px;
    }

    #cc-list-view {
        flex-direction: column;
    }
    .cc-popup-title {
        font-size: 1.2rem;
    }

    .cc-event-list {
        padding-right: 5px;
        border-radius: 14px;
        flex: 1;
        max-height: none !important;
        pointer-events: auto;
    }

    .cc-list-item {
        padding: 5px 10px;
        gap: 1px; 
        border-radius: 12px;
        margin-bottom: 10px;
    }

    .cc-list-date {
        font-size: 0.8rem;
        font-weight: 500;
        background: var(--white-glass-strong);
        padding: 2px 5px;
        border-radius: 6px;
        width: fit-content;
        box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    }

    .cc-list-title {
        font-size: 0.9rem;
        gap: 6px;
        font-weight: 400;
    }

    .cc-list-time {
        font-size: 0.8rem;
        font-weight: 500;
    }

    .cc-list-status {
        font-size: 0.6rem;
        padding: 3px 6px;
        border-radius: 5px;
    }

    .cc-list-item .cc-event-icon {
        width: 22px;
        height: 22px;
    }

    .cc-list-item .cc-event-icon svg {
        width: 14px;
        height: 14px;
    }

    /* Event-Container bleibt sichtbar, aber extrem klein */
    .cc-event {
        position: relative !important;
        width: 12px !important;
        height: 12px !important;
        padding: 0 !important;
        margin: 2px auto !important;
        border: none !important;
        background: none !important;
        box-shadow: none !important;
    }

    /* Inhalt unsichtbar machen, aber Element bleibt */
    .cc-event * {
        opacity: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
    }

    .cc-event::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--cat-color, #7A68B8);
        pointer-events: none;
    }

    .cc-day,
    .cc-calendar-day,
    td {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2px;
    }

    .cc-today-btn {
		font-size: 0.7rem;
	}
	.cc-switch-btn, 
    .cc-btn {
		font-size: 0.75rem !important;
		padding: 6px 12px !important; 
	}
    .cc-header-center h2 {
        font-size: smaller;
    }
	.cc-btn {
		font-size: 0.75rem;
	}

    .cc-modal[style*="display: flex"] .cc-modal-content {
        height: calc(100vh - 80px);
        overflow-y: auto;
        flex-direction: column;
        padding: 10px;
    }
	
    .cc-close {
        padding: 5px;
    }

	.cc-modal-title {
		font-size: 1.1rem;
		gap: 10px;
		padding: 5px;
        margin-top: 0 !important;
	}

    #cc-modal-meta > p, 
    #cc-modal-content > p {
        margin-bottom: 10px !important;
    }
	
	#cc-modal .cc-event-icon {
    position: relative;
    width: 34px;
    height: 34px;
	}	
	
	.cc-modal-meta,
	.cc-modal-capacity{
		font-size: smaller;
		line-height: 1;
	}
	
	.cc-modal-description {
		font-size: smaller;
		font-weight: 400;
	}	

    .cc-popup-title h2 {
        font-size: 1.2rem;
        margin: 0.2rem 0 !important;
    }

    .cc-month-tabs {
        padding: 0 5px 0 0;
        gap: 10px;
        display: flex;
        overflow-wrap: normal;
        flex-wrap: wrap;
    }

    .cc-month-tab {
        padding: 6px;
        text-align: center;
        font-size: 0.75rem;
    }

}



