/* Seattle Event Calendar Styles */

/* CSS Reset for Calendar Elements */
.sec-calendar * {
    box-sizing: border-box;
}

.sec-calendar a {
    text-decoration: none;
    color: inherit;
}

.sec-calendar a:focus {
    outline: none;
    box-shadow: none;
}

.sec-calendar a:focus-visible {
    outline: none;
    box-shadow: none;
}

.sec-calendar a:active {
    outline: none;
    box-shadow: none;
}

.sec-calendar button {
    margin: 0;
    padding: 0;
    border: none;
    background: none;
    font: inherit;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.sec-calendar button:focus {
    outline: none;
}

:root {
    --sec-primary: #449AAA;
    --sec-accent: #cc9933;
    --sec-text: #333333;
    --sec-bg: #ffffff;
    --sec-gray-100: #f7f7f9;
    --sec-gray-200: #e5e7eb;
    --sec-gray-300: #d1d5db;
    --sec-gray-400: #9ca3af;
    --sec-gray-500: #6b7280;
    --sec-gray-600: #4b5563;
    --sec-gray-700: #374151;
    --sec-gray-800: #1f2937;
    --sec-gray-900: #111827;
    --sec-selected-date: #cc9933;
    --sec-current-date: #449AAA;
    --sec-event-dot: #cc9933;
    --sec-event-bg: #449AAA;
    --sec-event-text: #ffffff;
    --sec-event-bg-normal: #449AAA;
    --sec-event-bg-hover: #3a8a9a;
    --sec-event-text-normal: #ffffff;
    --sec-event-text-hover: #ffffff;
    --sec-tab-bg-normal: transparent;
    --sec-tab-text-normal: #6b7280;
    --sec-tab-border-normal: transparent;
    --sec-tab-bg-hover: #e5e7eb;
    --sec-tab-text-hover: #333333;
    --sec-tab-border-hover: transparent;
    --sec-tab-bg-active: #449AAA;
    --sec-tab-text-active: #ffffff;
    --sec-tab-border-active: transparent;
}

.sec-calendar {
    display: flex;
    height: 80vh;
    background: var(--sec-bg);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: var(--sec-text);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Sidebar Styles */
.sec-sidebar {
    width: 300px;
    background: var(--sec-gray-100);
    border-right: 1px solid var(--sec-gray-200);
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.sec-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.sec-month-year {
    font-size: clamp(16px, 4vw, 18px);
    font-weight: 600;
    color: var(--sec-text);
    margin: 0;
    line-height: 1.2;
}

.sec-nav-arrows {
    display: flex;
    gap: 8px;
}

.sec-nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--sec-bg);
    border: 1px solid var(--sec-gray-200);
    border-radius: 2px;
    width: 32px;
    height: 32px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--sec-gray-600);
    text-decoration: none;
}

.sec-nav-btn:hover {
    background: var(--sec-gray-200);
    color: var(--sec-text);
    border-color: var(--sec-gray-300);
    text-decoration: none;
}

.sec-nav-btn:focus {
    background: var(--sec-bg);
    color: var(--sec-gray-600);
    border-color: var(--sec-gray-200);
    outline: none;
    text-decoration: none;
}

.sec-nav-btn:active {
    background: var(--sec-gray-200);
    color: var(--sec-text);
    text-decoration: none;
}

.sec-nav-btn svg {
    width: 16px;
    height: 16px;
}

/* Mini Calendar */
.sec-mini-calendar {
    margin-bottom: 20px;
}

.sec-mini-calendar-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0;
    margin-bottom: 8px;
}

.sec-day-header {
    text-align: center;
    font-size: 12px;
    font-weight: 500;
    color: var(--sec-gray-600);
    padding: 8px 4px;
}

.sec-mini-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0;
}

.sec-mini-date {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
    position: relative;
    border-radius: 2px;
    margin: 1px;
    transition: all 0.2s ease;
}

.sec-mini-date:hover {
    background: var(--sec-gray-200);
}

.sec-mini-date.other-month {
    color: var(--sec-gray-400);
}

.sec-mini-date.today {
    background: var(--sec-current-date);
    color: white;
    font-weight: 600;
}

.sec-mini-date.selected {
    background: var(--sec-selected-date);
    color: white;
    font-weight: 600;
}

/* Event dots based on count */
.sec-mini-date[data-event-count="1"]::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--sec-event-dot);
    border-radius: 50%;
}

.sec-mini-date[data-event-count="2"]::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--sec-event-dot);
    border-radius: 50%;
    box-shadow: -6px 0 0 var(--sec-event-dot);
}

.sec-mini-date[data-event-count="3"]::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--sec-event-dot);
    border-radius: 50%;
    box-shadow: -6px 0 0 var(--sec-event-dot), 6px 0 0 var(--sec-event-dot);
}

.sec-mini-date[data-event-count="4"]::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--sec-event-dot);
    border-radius: 50%;
    box-shadow: -6px 0 0 var(--sec-event-dot), 6px 0 0 var(--sec-event-dot), 0 -6px 0 var(--sec-event-dot);
}

.sec-mini-date[data-event-count="5"]::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--sec-event-dot);
    border-radius: 50%;
    box-shadow: -6px 0 0 var(--sec-event-dot), 6px 0 0 var(--sec-event-dot), 0 -6px 0 var(--sec-event-dot), -3px -3px 0 var(--sec-event-dot);
}

.sec-mini-date[data-event-count="6"]::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--sec-event-dot);
    border-radius: 50%;
    box-shadow: -6px 0 0 var(--sec-event-dot), 6px 0 0 var(--sec-event-dot), 0 -6px 0 var(--sec-event-dot), -3px -3px 0 var(--sec-event-dot), 3px -3px 0 var(--sec-event-dot);
}

/* For more than 6 events, show a different indicator */
.sec-mini-date[data-event-count]:not([data-event-count="1"]):not([data-event-count="2"]):not([data-event-count="3"]):not([data-event-count="4"]):not([data-event-count="5"]):not([data-event-count="6"])::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--sec-event-dot);
    border-radius: 50%;
    box-shadow: 0 0 0 2px var(--sec-bg), 0 0 0 3px var(--sec-event-dot);
}

/* Today Section */
.sec-today-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--sec-gray-200);
    margin-bottom: 16px;
}

.sec-today-label {
    font-weight: 600;
    color: var(--sec-text);
}

.sec-today-date {
    font-size: 12px;
    color: var(--sec-gray-600);
}

/* Today Events */
.sec-today-events {
    flex: 1;
}

.sec-event-item {
    margin-bottom: 12px;
    cursor: pointer;
}

.sec-event-category {
    display: inline-block;
    background: var(--sec-event-bg-normal);
    color: var(--sec-event-text-normal);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    margin-bottom: 8px;
    transition: all 0.2s ease;
}

.sec-event-category:hover {
    background: var(--sec-event-bg-hover);
    color: var(--sec-event-text-hover);
}

.sec-event-time {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--sec-text);
    margin-bottom: 4px;
}

.sec-event-time::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--sec-accent);
    border-radius: 50%;
}

.sec-event-title {
    font-size: 13px;
    font-weight: 500;
    color: var(--sec-text);
    margin-bottom: 4px;
    line-height: 1.4;
}

.sec-event-location {
    display: inline-block;
    background: var(--sec-event-bg-normal);
    color: var(--sec-event-text-normal);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    margin-bottom: 4px;
    transition: all 0.2s ease;
}

.sec-event-location:hover {
    background: var(--sec-event-bg-hover);
    color: var(--sec-event-text-hover);
}

.sec-event-item .sec-event-meeting-type {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--sec-gray-600);
    margin-bottom: 4px;
}

.sec-event-item .sec-event-meeting-type svg {
    flex-shrink: 0;
    opacity: 0.7;
}

.sec-event-item .sec-event-meeting-type.virtual {
    color: #3b82f6;
}

.sec-event-item .sec-event-meeting-type.physical {
    color: #059669;
}

/* Main Content */
.sec-main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: var(--sec-bg);
}

.sec-main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--sec-gray-200);
    background: var(--sec-bg);
}

.sec-main-nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sec-period-title {
    font-size: clamp(14px, 3.5vw, 16px);
    font-weight: 600;
    color: var(--sec-text);
    margin: 0;
    min-width: 0;
    text-align: center;
    line-height: 1.2;
    flex: 1;
    padding: 0 8px;
}

.sec-view-tabs {
    display: flex;
    background: var(--sec-gray-100);
    border-radius: 6px;
    padding: 4px;
    gap: 0;
}

.sec-tab-btn {
    display: inline-block;
    background: var(--sec-tab-bg-normal, transparent) !important;
    border: 1px solid var(--sec-tab-border-normal, transparent) !important;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--sec-tab-text-normal, #6b7280) !important;
    min-width: 60px;
    text-decoration: none !important;
    text-align: center;
    outline: none;
    box-shadow: none;
}

.sec-tab-btn:hover {
    background: var(--sec-tab-bg-hover, #e5e7eb) !important;
    color: var(--sec-tab-text-hover, #333333) !important;
    border-color: var(--sec-tab-border-hover, transparent) !important;
    text-decoration: none !important;
}

.sec-tab-btn.active {
    background: var(--sec-tab-bg-active, #449AAA) !important;
    color: var(--sec-tab-text-active, #ffffff) !important;
    border-color: var(--sec-tab-border-active, transparent) !important;
    text-decoration: none !important;
}

.sec-tab-btn.active:focus,
.sec-tab-btn.active:focus-visible,
.sec-tab-btn.active:active {
    background: var(--sec-tab-bg-active, #449AAA) !important;
    color: var(--sec-tab-text-active, #ffffff) !important;
    border-color: var(--sec-tab-border-active, transparent) !important;
    text-decoration: none !important;
    outline: none;
    box-shadow: none;
}

.sec-tab-btn:focus {
    background: var(--sec-tab-bg-normal, transparent) !important;
    color: var(--sec-tab-text-normal, #6b7280) !important;
    border-color: var(--sec-tab-border-normal, transparent) !important;
    outline: none;
    text-decoration: none !important;
    box-shadow: none;
}

.sec-tab-btn:focus-visible {
    outline: none;
    box-shadow: none;
}

.sec-tab-btn:active {
    background: var(--sec-tab-bg-hover, #e5e7eb) !important;
    color: var(--sec-tab-text-hover, #333333) !important;
    border-color: var(--sec-tab-border-hover, transparent) !important;
    text-decoration: none !important;
}

/* Additional focus reset for links */
.sec-calendar a:visited {
    color: inherit;
    text-decoration: none;
}

/* Calendar Content */
.sec-calendar-content {
    flex: 1;
    padding: 20px;
    overflow: auto;
}

/* Day View */
.sec-day-view {
    display: flex;
    flex-direction: column;
}

.sec-day-timeline {
    display: flex;
    flex-direction: column;
}

.sec-time-slot {
    display: flex;
    min-height: 60px;
    border-bottom: 1px solid var(--sec-gray-200);
    padding: 8px 0;
}

.sec-time-label {
    width: 80px;
    font-size: 12px;
    color: var(--sec-gray-500);
    padding-right: 16px;
    flex-shrink: 0;
}

.sec-time-content {
    flex: 1;
    position: relative;
}

.sec-day-event {
    background: var(--sec-event-bg-normal);
    color: var(--sec-event-text-normal);
    padding: 8px 12px;
    border-radius: 4px;
    margin-bottom: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-left: 4px solid var(--sec-accent);
}

.sec-day-event:hover {
    background: var(--sec-event-bg-hover);
    color: var(--sec-event-text-hover);
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Day view event text elements */
.sec-day-event .sec-event-time,
.sec-day-event .sec-event-title {
    color: inherit;
}

.sec-day-event:hover .sec-event-time,
.sec-day-event:hover .sec-event-title {
    color: inherit;
}

/* Week View */
.sec-week-view {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.sec-week-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0;
    border: 1px solid var(--sec-gray-200);
    border-radius: 4px;
    overflow: hidden;
    flex: 1;
}

.sec-week-day-column {
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--sec-gray-200);
}

.sec-week-day-column:last-child {
    border-right: none;
}

.sec-week-day-header {
    background: var(--sec-gray-100);
    padding: 12px 8px;
    text-align: center;
    font-weight: 600;
    font-size: 12px;
    color: var(--sec-text);
    border-bottom: 1px solid var(--sec-gray-200);
}

.sec-week-day-header.today {
    background: var(--sec-primary);
    color: white;
}

.sec-week-day {
    min-height: 120px;
    padding: 8px;
    position: relative;
    flex: 1;
}

.sec-week-event {
    background: var(--sec-event-bg-normal);
    color: var(--sec-event-text-normal);
    padding: 6px 8px;
    border-radius: 4px;
    margin-bottom: 4px;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1.3;
}

.sec-week-event:hover {
    background: var(--sec-event-bg-hover);
    color: var(--sec-event-text-hover);
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.sec-week-event-time {
    font-weight: 500;
    margin-bottom: 2px;
}

.sec-week-event-title {
    font-size: 12px;
    opacity: 0.9;
    margin-bottom: 2px;
}

.sec-week-event-location {
    font-size: 9px;
    opacity: 0.8;
    display: block;
    margin-top: 2px;
}

.sec-event-location,
.sec-event-meeting-type {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 9px;
    opacity: 0.8;
    margin-top: 2px;
}

.sec-event-location {
    display: inline-block;
    gap: 0;
}

.sec-event-meeting-type svg {
    flex-shrink: 0;
    opacity: 0.7;
}

.sec-event-meeting-type.virtual {
    color: #3b82f6;
}

.sec-event-meeting-type.physical {
    color: #059669;
}

.sec-week-event:hover .sec-event-location,
.sec-week-event:hover .sec-event-meeting-type {
    opacity: 1;
}

.sec-week-event:hover .sec-event-meeting-type.virtual {
    color: #2563eb;
}

.sec-week-event:hover .sec-event-meeting-type.physical {
    color: #047857;
}

/* Month View */
.sec-month-view {
    display: flex;
    flex-direction: column;
}

.sec-month-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0;
    border: 1px solid var(--sec-gray-200);
    border-radius: 4px;
    overflow: hidden;
}

.sec-month-day-header {
    background: var(--sec-gray-100);
    padding: 12px 8px;
    text-align: center;
    border-right: 1px solid var(--sec-gray-200);
    font-weight: 600;
    font-size: 12px;
    color: var(--sec-text);
}

.sec-month-day-header:last-child {
    border-right: none;
}

.sec-month-day {
    min-height: 100px;
    padding: 8px;
    border-right: 1px solid var(--sec-gray-200);
    border-bottom: 1px solid var(--sec-gray-200);
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.sec-month-day:last-child {
    border-right: none;
}

.sec-month-day:hover {
    background: var(--sec-gray-100);
}

.sec-month-day.other-month {
    background: var(--sec-gray-100);
    color: var(--sec-gray-400);
}

.sec-month-day.today {
	border: 2px solid var(--sec-accent);
	color: var(--sec-accent);
}

.sec-month-day-number {
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 14px;
    flex-shrink: 0;
}

.sec-month-events-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    overflow: hidden;
}

.sec-month-event {
    background: var(--sec-event-bg-normal);
    color: var(--sec-event-text-normal);
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex-shrink: 0;
}

.sec-month-event:hover {
    background: var(--sec-event-bg-hover);
    color: var(--sec-event-text-hover);
    transform: translateY(-1px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.sec-month-more {
    font-size: 9px;
    color: var(--sec-gray-500);
    text-align: center;
    margin-top: 2px;
}

/* Year View */
.sec-year-view {
    display: flex;
    flex-direction: column;
}

.sec-year-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.sec-year-month {
    background: var(--sec-bg);
    border: 1px solid var(--sec-gray-200);
    border-radius: 4px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sec-year-month:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.sec-year-month-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.sec-year-month-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--sec-text);
}

.sec-year-month-count {
    background: var(--sec-primary);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
}

.sec-year-month-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.sec-year-day-header {
    text-align: center;
    font-size: 10px;
    font-weight: 500;
    color: var(--sec-gray-600);
    padding: 4px 0;
}

.sec-year-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    cursor: pointer;
    border-radius: 4px;
    position: relative;
    transition: all 0.2s ease;
}

.sec-year-day:hover {
    background: var(--sec-gray-200);
}

.sec-year-day.other-month {
    color: var(--sec-gray-400);
}

.sec-year-day.today {
    background: var(--sec-accent);
    color: white;
    font-weight: 600;
}

.sec-year-day.has-events::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 3px;
    background: var(--sec-primary);
    border-radius: 50%;
}

/* Loading States */
.sec-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    color: var(--sec-gray-500);
    font-size: 14px;
}

.sec-loading::before {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid var(--sec-gray-200);
    border-top: 2px solid var(--sec-primary);
    border-radius: 50%;
    animation: sec-spin 1s linear infinite;
    margin-right: 8px;
}

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

/* Error States */
.sec-error {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    color: #dc2626;
    font-size: 14px;
    text-align: center;
    flex-direction: column;
    gap: 8px;
}

.sec-error::before {
    content: '⚠️';
    font-size: 24px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .sec-sidebar {
        display: none;
    }
    
    .sec-main-content {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .sec-calendar {
        flex-direction: column;
        height: auto;
        overflow-y: auto;
    }
    
    .sec-calendar-content {
        overflow-y: auto;
        max-height: 70vh;
    }
    
    .sec-sidebar {
        width: 100%;
        order: 1;
    }
    
    .sec-main-content {
        order: 2;
    }
    
    .sec-main-header {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }
    
    .sec-month-year {
        font-size: 16px;
        text-align: center;
    }
    
    .sec-main-nav {
        /* flex-direction: column; */
        gap: 8px;
    }
    
    .sec-nav-arrows {
        order: 2;
        justify-content: center;
    }
    
    .sec-view-tabs {
        justify-content: center;
    }
    
    .sec-week-grid,
    .sec-month-grid {
        font-size: 12px;
    }
    
    .sec-year-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

@media (max-width: 650px) {
    .sec-week-grid {
        display: flex;
        flex-direction: column;
        height: auto;
    }
    
    .sec-week-day-column {
        display: flex;
        flex-direction: row;
        border-right: none;
        border-bottom: 1px solid var(--sec-gray-200);
        min-height: 60px;
    }
    
    .sec-week-day-column:last-child {
        border-bottom: none;
    }
    
    .sec-week-day-header {
        min-width: 80px;
        width: 80px;
        flex-shrink: 0;
        border-right: 1px solid var(--sec-gray-200);
        border-bottom: none;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
        padding: 8px 4px;
    }
    
    .sec-week-day {
        flex: 1;
        min-height: auto;
        padding: 8px;
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        gap: 8px;
    }
    
    .sec-week-event {
        flex-shrink: 0;
        min-width: 120px;
        white-space: nowrap;
        font-size: 11px;
        padding: 4px 6px;
    }
}

@media (max-width: 480px) {
    .sec-year-grid {
        grid-template-columns: 1fr;
    }
    
    .sec-week-grid,
    .sec-month-grid {
        font-size: 10px;
    }
    
    .sec-week-day,
    .sec-month-day {
        min-height: 80px;
        padding: 4px;
    }
    
    .sec-month-day-number {
        font-size: 12px;
        margin-bottom: 2px;
    }
    
    .sec-month-year {
        font-size: 14px;
    }
    
    .sec-period-title {
        font-size: 12px;
        padding: 0 2px;
    }
    
    .sec-month-event {
        font-size: 9px;
        padding: 1px 4px;
    }
}

/* Print Styles */
@media print {
    .sec-calendar {
        box-shadow: none;
        border: 1px solid var(--sec-gray-300);
    }
    
    .sec-nav-btn,
    .sec-tab-btn {
        display: none;
    }
    
    .sec-sidebar {
        background: white;
    }
}