/* Smart Events Calendar Styles - Modern Minimalist Design */
@import url('front-design.css');

.se-calendar-wrapper {
    max-width: 100%;
    margin: 0px auto 20px auto;
    font-family: inherit;
    box-sizing: border-box;
    width: 100%;
    position: relative;
    min-height: auto;
    display: block;
    background: #ffffff;
    border: 1px solid var(--se-border);
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

/* Force mobile layout in narrow containers */
@media (max-width: 700px) {
    .se-calendar-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        border-radius: 12px;
        box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.1);
    }
}

.se-calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0;
    padding: 24px 28px;
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
    gap: 16px;
}

.se-calendar-header-left {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.se-calendar-header-center {
    flex: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.se-calendar-header-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.se-calendar-title {
    margin: 0;
    padding: 0;
    font-size: 1.375rem;
    font-weight: 600;
    color: #0f172a;
    text-transform: capitalize;
    letter-spacing: -0.025em;
}

.se-calendar-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: color 0.2s ease;
    position: relative;
}

.se-calendar-title-wrapper:hover {
    color: var(--se-primary);
}

.se-calendar-title-clickable {
    cursor: pointer;
    transition: color 0.2s ease;
    position: relative;
}

.se-calendar-title-clickable:hover {
    color: var(--se-primary);
}

.se-calendar-title-icon {
    font-size: 0.75rem;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.se-calendar-title-wrapper:hover .se-calendar-title-icon {
    opacity: 1;
}

.se-calendar-title-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.se-calendar-nav {
    background: #ffffff;
    color: #64748b;
    border: 1px solid #e2e8f0;
    padding: 10px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
    box-shadow: none;
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.se-calendar-nav:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #334155;
    transform: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Navigacijos mygtukų grupė */
.se-calendar-nav-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Dropdown stiliai */
.se-calendar-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    min-width: 280px;
    margin-top: 8px;
    overflow: hidden;
}

.se-calendar-dropdown-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.se-calendar-dropdown-year {
    font-size: 1.125rem;
    font-weight: 600;
    color: #0f172a;
}

.se-calendar-dropdown-year-prev,
.se-calendar-dropdown-year-next {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    transition: all 0.2s ease;
    min-width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.se-calendar-dropdown-year-prev:hover,
.se-calendar-dropdown-year-next:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #334155;
}

.se-calendar-dropdown-months {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: #e2e8f0;
    padding: 1px;
}

.se-calendar-dropdown-month {
    background: #ffffff;
    border: none;
    padding: 12px 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #334155;
    transition: all 0.2s ease;
    text-align: center;
}

.se-calendar-dropdown-month:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.se-calendar-dropdown-month-current {
    background: var(--se-primary);
    color: #ffffff;
    font-weight: 600;
}

.se-calendar-dropdown-month-current:hover {
    background: var(--se-primary-dark);
    color: #ffffff;
}

.se-calendar-today {
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #e2e8f0;
    padding: 10px 18px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
    box-shadow: none;
    margin-bottom: 0;
}

.se-calendar-today:hover {
    background: #e2e8f0;
    border-color: #cbd5e1;
    color: #1e293b;
    transform: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Šiandien mygtukas kalendoriaus header */
.se-calendar-today-btn {
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #e2e8f0;
    padding: 10px 18px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    white-space: nowrap;
}

.se-calendar-today-btn:hover {
    background: #e2e8f0;
    border-color: #cbd5e1;
    color: #1e293b;
    transform: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.se-calendar {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    table-layout: fixed;
    height: auto;
    position: relative;
    margin-bottom: 0;
}

.se-calendar thead {
    background: #f8fafc;
    color: #64748b;
    border-bottom: 1px solid #f1f5f9;
    height: 25px;
}

.se-calendar th {
    padding: 8px 4px;
    text-align: center;
    font-weight: 700;
    font-size: 12px;
    border: none;
    width: 14.28%; /* 100% / 7 days */
    box-sizing: border-box;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.se-calendar td {
    padding: 8px 4px;
    text-align: center;
    border: none;
    border-right: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: top;
    height: 120px;
    position: relative;
    width: 14.28%; /* 100% / 7 days */
    box-sizing: border-box;
    background: #ffffff;
}

.se-calendar td:last-child {
    border-right: none;
}

.se-calendar-day {
    background: #ffffff;
    transition: background-color 0.15s ease;
    position: relative;
}

.se-calendar-day.se-calendar-day-has-events {
    cursor: pointer;
    background: #1db9b11a;
}

.se-calendar-day:hover {
    background: #1db9b11a;
}

.se-calendar-day.se-calendar-day-has-events:hover {
    background: #1db9b11a;
}

/* Šiandienos diena kalendoriuje */
.se-calendar-day.se-calendar-today {
    position: relative;
    border: 2px solid var(--se-border) !important;
    background: #f8fafc !important;
}

.se-calendar-day.se-calendar-today .se-calendar-day-number {
    color: var(--se-primary) !important;
    font-weight: 700;
}

/* Šiandienos diena be renginių neturi cursoriaus */
.se-calendar-day.se-calendar-today:not(.se-calendar-day-has-events) {
    cursor: default !important;
}

/* Šiandienos diena su renginiu turi pointer */
.se-calendar-day.se-calendar-today.se-calendar-day-has-events {
    cursor: pointer !important;
}

/* Šiandienos dienos hover efektas */
.se-calendar-day.se-calendar-today:hover {
    transform: none !important;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2) !important;
    border: 2px solid var(--se-primary) !important;
    background: #f1f5f9 !important;
}

.se-calendar-empty {
    background: #fafbfc;
}

/* Užtikriname, kad visų dienų numeriai būtų vienodo dydžio */
.se-calendar-day-number {
    font-size: 15px !important;
    line-height: 1.2 !important;
    font-weight: 600 !important;
    transition: all 0.2s ease;
    color: #334155;
    display: block;
    margin-bottom: 6px;
}

/* Šiandienos dienos numeris */
.se-calendar-day.se-calendar-today .se-calendar-day-number,
.se-calendar-day:active .se-calendar-day-number {
    color: #3b82f6;
}

.se-calendar-day.se-calendar-today:hover .se-calendar-day-number {
    color: #2563eb;
}

/* Hover efektas dienų su renginiais - padidina skaičių */
.se-calendar-day.se-calendar-day-has-events:hover .se-calendar-day-number {
    color: #1e293b;
    font-weight: 700 !important;
    transform: scale(1.15);
    transform-origin: center;
}

.se-calendar-events {
    margin-top: 6px;
}

.se-calendar tbody {
    background: #ffffff;
}

.se-calendar tr {
    border-bottom: 1px solid #f1f5f9;
}

@media (max-width: 768px) {
    .se-calendar tr {
        border-bottom: 1px solid #f1f5f9;
    }
    
    .se-calendar td {
        padding: 8px 2px;
        height: 100px;
    }
    
    .se-calendar-header {
        padding: 20px 24px;
    }
    
    .se-calendar-title {
        font-size: 1.25rem;
    }
}

.se-calendar-wrapper.narrow .se-calendar tr {
    border-bottom: 1px solid #f1f5f9;
}

.se-calendar-wrapper.narrow .se-calendar td {
    padding: 6px 2px;
    height: 50px;
}

.se-calendar-event {
    margin-bottom: 3px;
}

.se-calendar-event-link {
    display: block;
    text-decoration: none;
    color: #334155;
    font-size: 12px;
    line-height: 1.4;
    padding: 4px 6px;
    border-radius: 6px;
    background: #f8fafc;
    border-left: 4px solid #64748b;
    transition: all 0.2s ease;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 600;
}

.se-calendar-event-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    z-index: -1;
    transition: background-color 0.2s ease;
}

.se-calendar-event-link:hover {
    background: #f1f5f9;
    color: #1e293b;
    transform: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Past events styling */
.se-calendar-event-link-past {
    opacity: 0.6;
    background: #f8fafc !important;
    border-left-color: #94a3b8 !important;
    cursor: pointer !important;
}

.se-calendar-event-link-past:hover {
    background: #f8fafc !important;
    color: #64748b !important;
    transform: none !important;
    box-shadow: none !important;
}

.se-calendar-event-link-past .se-calendar-event-title {
    color: #64748b !important;
    font-weight: 500 !important;
}

.se-calendar-event-link-past .se-calendar-event-time {
    color: #94a3b8 !important;
    font-size: 11px !important;
}

/* Past events in calendar - gray color */
.se-calendar-event-past .se-calendar-event-link {
    background: #f8fafc !important;
    border-left-color: #94a3b8 !important;
    opacity: 0.6;
    cursor: default !important;
    pointer-events: none;
}

.se-calendar-event-past .se-calendar-event-link:hover {
    background: #f8fafc !important;
    color: #64748b !important;
    transform: none !important;
    box-shadow: none !important;
}

.se-calendar-event-past .se-calendar-event-title {
    color: #64748b !important;
    font-weight: 500 !important;
}

.se-calendar-event-past .se-calendar-event-time {
    color: #94a3b8 !important;
    font-size: 11px !important;
}

.se-calendar-event-time {
    display: block;
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
    margin-bottom: 2px;
}

.se-calendar-event-title {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #334155;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .se-calendar-wrapper {
        margin: 10px auto;
    }
    
    .se-calendar th,
    .se-calendar td {
        padding: 6px 2px;
        font-size: 12px;
    }
    
    .se-calendar-event-link {
        font-size: 11px;
        padding: 3px 5px;
    }
    
    .se-calendar-event-time,
    .se-calendar-event-title {
        font-size: 11px;
    }
    
    .se-calendar-title {
        font-size: 1.125rem;
    }
    
    .se-calendar-dropdown {
        min-width: 260px;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .se-calendar-dropdown-months {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .se-calendar-dropdown-month {
        padding: 10px 6px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .se-calendar th,
    .se-calendar td {
        padding: 4px 1px;
        font-size: 11px;
    }
    
    .se-calendar-event-link {
        font-size: 10px;
        padding: 2px 4px;
    }
    
    .se-calendar-event-time,
    .se-calendar-event-title {
        font-size: 10px;
    }
    
    .se-calendar-day-number {
        font-size: 13px !important;
    }
    
    .se-calendar-day.se-calendar-today {
        background: #ffffff;
    }
    
    .se-calendar-dropdown {
        min-width: 240px;
    }
    
    .se-calendar-dropdown-month {
        padding: 8px 4px;
        font-size: 12px;
    }
    
    .se-calendar-dropdown-header {
        padding: 12px 16px;
    }
    
    .se-calendar-dropdown-year {
        font-size: 1rem;
    }
}

/* Mobile narrow layout - show only dots */
.se-calendar-wrapper.narrow .se-calendar-event-link {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    padding: 0;
    margin: 2px auto;
    border-left: none;
    background: #64748b !important;
    position: relative;
    display: block;
}

.se-calendar-wrapper.narrow .se-calendar-event-link:not([data-category-color]) {
    background: #64748b !important;
}

.se-calendar-wrapper.narrow .se-calendar-event-link-past {
    background: #94a3b8 !important;
    opacity: 0.6;
}

.se-calendar-wrapper.narrow .se-calendar-event-time,
.se-calendar-wrapper.narrow .se-calendar-event-title {
    display: none;
}

.se-calendar-wrapper.narrow .se-calendar-events {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    margin-top: 4px;
}

.se-calendar-wrapper.narrow .se-calendar-event {
    margin: 0;
}

/* Events list for mobile */
.se-calendar-events-list {
    display: none;
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
    padding: 20px 24px;
    margin-top: 0;
    min-height: auto;
    height: auto;
}

.se-calendar-events-list.active {
    display: block;
}

.se-calendar-events-list-item {
    display: flex;
    flex-direction: column;
    padding: 16px;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #64748b;
    border-radius: 8px;
    margin-bottom: 12px;
    background: #f8fafc;
    transition: all 0.2s ease;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.se-calendar-events-list-item:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.se-calendar-events-list-item:last-child {
    margin-bottom: 0;
}

.se-calendar-events-list-item-title {
    font-size: 16px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 4px;
    line-height: 1.3;
}

.se-calendar-events-list-item-time {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}

.se-calendar-events-list-item-details {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 6px;
    font-size: 11px;
    color: #64748b;
}

.se-calendar-events-list-item-format,
.se-calendar-events-list-item-category {
    background: #f1f5f9;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 500;
    color: #475569;
}

/* No events message */
.se-calendar-events-list h4 {
    margin: 0 0 16px 0;
    font-size: 16px;
    font-weight: 600;
    color: #334155;
    text-align: center;
}

/* Past events header message */
.se-calendar-events-list-header {
    padding: 16px 20px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 16px;
    text-align: center;
}

.se-calendar-events-list-header h4 {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
    color: #64748b;
}

.se-calendar-events-list-header p {
    margin: 0;
    font-size: 14px;
    color: #94a3b8;
    font-weight: 500;
}

/* Tabs styles */
.se-calendar-events-tabs {
    display: flex;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 16px;
    background: #ffffff;
}

.se-calendar-tab {
    flex: 1;
    padding: 12px 16px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.se-calendar-tab:hover {
    color: var(--se-primary);
    background: #f8fafc;
}

.se-calendar-tab.se-calendar-tab-active {
    color: var(--se-primary);
    border-bottom-color: var(--se-primary);
    background: #f8fafc;
}

.se-calendar-tab-content {
    display: none;
}

.se-calendar-tab-content.se-calendar-tab-content-active {
    display: block;
}

/* Past events styling */
.se-calendar-events-list-item.past-event {
    background: #f8fafc !important;
    border-left-color: #94a3b8 !important;
    cursor: pointer !important;
}

.se-calendar-events-list-item.past-event:hover {
    transform: none !important;
    box-shadow: none !important;
    background: #f8fafc !important;
}

.se-calendar-events-list-item.past-event .se-calendar-events-list-item-title {
    color: #64748b;
    font-weight: 500;
}

.se-calendar-events-list-item.past-event .se-calendar-events-list-item-time {
    color: #94a3b8;
    font-size: 12px;
}

/* Back to all events button */
.se-calendar-events-back {
    padding: 16px 20px;
    border-top: 1px solid #f1f5f9;
    background: #f8fafc;
    text-align: center;
}

.se-calendar-events-back-btn {
    background: #ffffff;
    color: #64748b;
    border: 1px solid #e2e8f0;
    padding: 10px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.se-calendar-events-back-btn:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #334155;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Loading state */
.se-calendar-loading {
    position: relative;
    opacity: 0.7;
    pointer-events: none;
}

.se-calendar-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    margin: -12px 0 0 -12px;
    border: 3px solid #f1f5f9;
    border-top: 3px solid #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 1000;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Modal styles - modern and clean */
.se-calendar-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(8px);
    animation: modalFadeIn 0.3s ease;
}

.se-calendar-modal {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    max-width: 550px;
    width: 90%;
    max-height: 85vh;
    overflow: hidden;
    animation: modalSlideIn 0.4s ease;
}

.se-calendar-modal-header {
    padding: 16px 28px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
}

.se-calendar-modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.4;
}

.se-calendar-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #64748b;
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    transition: all 0.2s ease;
    line-height: 1;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.se-calendar-modal-close:hover {
    background: #f1f5f9;
    color: #334155;
}

.se-calendar-modal-content {
    padding: 24px 28px;
}

.se-calendar-modal-info {
    margin-bottom: 24px;
}

.se-calendar-modal-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.se-modal-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #f8fafc;
}

.se-modal-row:last-child {
    border-bottom: none;
}

.se-modal-label {
    font-size: 15px;
    font-weight: 600;
    color: #64748b;
    min-width: 90px;
    flex-shrink: 0;
}

.se-modal-value {
    font-size: 15px;
    color: #334155;
    line-height: 1.6;
    flex: 1;
}

.se-modal-description .se-modal-value {
    line-height: 1.7;
}

.se-calendar-modal-actions {
    display: flex;
    gap: 16px;
    margin-top: 24px;
    border-top: 1px solid #f1f5f9;
}

.se-calendar-modal-btn {
    flex: 1;
    padding: 14px 20px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #334155;
}

.se-calendar-modal-btn-primary {
    background: var(--se-primary);
    color: #ffffff;
    border-color: var(--se-primary);
}

.se-calendar-modal-btn-primary:hover {
    background: var(--se-primary-dark);
    border-color: var(--se-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px -8px rgba(var(--se-primary), 0.5);
}

.se-calendar-modal-btn-secondary {
    background: #ffffff;
    color: #64748b;
    border-color: #e2e8f0;
}

.se-calendar-modal-btn-secondary:hover {
    background: #f8fafc;
    color: #334155;
    border-color: #cbd5e1;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@media (max-width: 768px) {
    .se-calendar-modal {
        width: 95%;
        margin: 20px;
        max-height: 90vh;
    }
    
    .se-calendar-modal-header {
        padding: 20px 24px;
    }
    
    .se-calendar-modal-content {
        padding: 20px 24px;
    }
    
    .se-calendar-modal-header h3 {
        font-size: 1.125rem;
    }
    
    .se-calendar-modal-actions {
        flex-direction: column;
    }
    
    .se-calendar-modal-btn {
        width: 100%;
    }
}

/* Calendar header styles */
.se-calendar thead th {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 8px 4px;
    border: none;
    background: #f8fafc;
}

/* Add to calendar buttons */
.se-add-to-calendar {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.se-add-to-calendar a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: #ffffff;
    color: #334155;
    text-decoration: none;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.2s ease;
    min-width: 140px;
    justify-content: center;
}

.se-add-to-calendar a:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #1e293b;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.se-add-to-calendar a:last-child {
    background: #000000;
    color: #ffffff;
    border-color: #000000;
}

.se-add-to-calendar a:last-child:hover {
    background: #1e293b;
    border-color: #1e293b;
}

.se-add-to-calendar img {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
} 