/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */
@import url('https://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/toastr.min.css');
@import 'sweetalert_custom.css';

/* Alpine.js - Hide elements until Alpine initializes */
[x-cloak] {
    display: none !important;
}

/* Mobile menu button - updated for Lucide icons */
.md\:hidden button[aria-expanded] {
    min-height: 48px;
    min-width: 48px;
    position: relative;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 2px solid !important;
    z-index: 10;
}

/* Ensure Lucide icons inherit the button's text color */
.md\:hidden button[aria-expanded] svg {
    color: inherit !important;
    stroke: currentColor !important;
    width: 24px !important;
    height: 24px !important;
    stroke-width: 2 !important;
}

/* Force visibility and proper styling */
.mobile-menu-button {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.dark .md\:hidden button[aria-expanded] {
    background-color: rgba(30, 41, 59, 0.9) !important;
    border-color: rgba(71, 85, 105, 1) !important;
}

/* Enhanced mobile menu button styling */
.mobile-menu-button:hover {
    transform: scale(1.05) !important;
    transition: all 0.2s ease !important;
}

.mobile-menu-button:active {
    transform: scale(0.95) !important;
}



/* Advanced Search Transitions */
.advanced-search-form {
    transition: opacity 150ms ease-in-out, transform 150ms ease-in-out;
}

.advanced-search-form.hidden {
    opacity: 0;
    transform: scale(0.95);
    pointer-events: none;
}

/* Animation classes */
@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translateX(-5px);
    }

    20%,
    40%,
    60%,
    80% {
        transform: translateX(5px);
    }
}

.animate-shake {
    animation: shake 0.8s cubic-bezier(.36, .07, .19, .97) both;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.pulse-once {
    animation: pulse 0.3s ease-in-out;
}

/* Transition classes for flash messages */
.opacity-0 {
    opacity: 0;
}

.opacity-100 {
    opacity: 1;
}

.transition-opacity {
    transition-property: opacity;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}

/* Ticket Selection Styles */
.has-quantity {
    color: #3b82f6 !important;
    /* blue-500 */
    font-weight: bold;
}

.has-tickets {
    border-color: #3b82f6 !important;
    /* blue-500 */
    background-color: rgba(59, 130, 246, 0.05);
    /* blue-500 with low opacity */
}

/* Improved quantity selector */
[data-controller="ticket-quantity"] button {
    transition: all 0.2s ease;
}

[data-controller="ticket-quantity"] button:hover svg {
    transform: scale(1.2);
    transition: transform 0.2s ease;
}

[data-controller="ticket-quantity"] button:active {
    transform: scale(0.95);
}

[data-controller="ticket-quantity"] input {
    transition: all 0.2s ease;
}

/* Ticket summary animations */
[data-ticket-summary-target="quantity"],
[data-ticket-summary-target="total"] {
    transition: all 0.3s ease;
}

/* Ticket Card Hover Effects */
#ticket-types-container>div {
    transition: all 0.3s ease;
}

#ticket-types-container>div:hover {
    transform: translateY(-2px);
}

/* Purchase button effects */
#selected-tickets-summary form [type="submit"] {
    transition: all 0.3s ease;
}

#selected-tickets-summary form [type="submit"]:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgb(59 130 246 / 0.3);
}

#selected-tickets-summary form [type="submit"]:active {
    transform: translateY(0);
}

/* Ticket Summary Card Styles */
#selected-seats-summary {
    transition: all 0.3s ease;
}

#selected-seats-summary .has-tickets {
    animation: highlight-row 1s ease-in-out;
}

@keyframes highlight-row {
    0% {
        background-color: rgba(59, 130, 246, 0.05);
    }

    50% {
        background-color: rgba(59, 130, 246, 0.2);
    }

    100% {
        background-color: rgba(59, 130, 246, 0.05);
    }
}

/* Seat Map Styles */
.seat-map-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

.screen {
    background: linear-gradient(0deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.2) 100%);
    height: 50px;
    width: 100%;
    max-width: 600px;
    margin: 0 auto 3rem;
    transform: perspective(200px) rotateX(-10deg);
    border-radius: 5px;
    position: relative;
}

.dark .screen {
    background: linear-gradient(0deg, rgba(30, 41, 59, 0) 0%, rgba(30, 41, 59, 0.2) 100%);
}

.screen-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgba(100, 116, 139, 0.7);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.1em;
}

.dark .screen-text {
    color: rgba(203, 213, 225, 0.7);
}

.seats-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.row-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.row-label {
    width: 2rem;
    text-align: center;
    font-weight: 500;
    color: #64748b;
}

.dark .row-label {
    color: #94a3b8;
}

.seats-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, 2.5rem);
    gap: 0.5rem;
    flex: 1;
    justify-content: center;
}

.seat {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.375rem;
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f1f5f9;
    border: 2px solid #e2e8f0;
}

.dark .seat {
    background-color: #334155;
    border-color: #475569;
}

.seat:hover {
    transform: scale(1.05);
}

.seat.available {
    background-color: #f1f5f9;
    border-color: #e2e8f0;
}

.dark .seat.available {
    background-color: #334155;
    border-color: #475569;
}

.seat.available:hover {
    background-color: #fed7aa;
    border-color: #fb923c;
}

.dark .seat.available:hover {
    background-color: rgba(251, 146, 60, 0.3);
    border-color: #fb923c;
}

.seat.selected {
    background-color: #fed7aa;
    border-color: #fb923c;
}

.dark .seat.selected {
    background-color: rgba(251, 146, 60, 0.3);
    border-color: #fb923c;
}

.seat.reserved {
    background-color: #fef3c7;
    border-color: #f59e0b;
    cursor: not-allowed;
}

.dark .seat.reserved {
    background-color: rgba(245, 158, 11, 0.3);
    border-color: #f59e0b;
}

.seat.booked {
    background-color: #fecaca;
    border-color: #ef4444;
    cursor: not-allowed;
    opacity: 0.7;
}

.dark .seat.booked {
    background-color: rgba(239, 68, 68, 0.3);
    border-color: #ef4444;
}

.seat-number {
    font-size: 0.75rem;
    font-weight: 500;
    color: #64748b;
}

.dark .seat-number {
    color: #94a3b8;
}

.seat-edit-button {
    position: absolute;
    bottom: -1.5rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.25rem;
    color: #64748b;
    opacity: 0;
    transition: opacity 0.2s ease;
    white-space: nowrap;
}

.dark .seat-edit-button {
    background-color: #1e293b;
    border-color: #475569;
    color: #94a3b8;
}

.seat:hover .seat-edit-button {
    opacity: 1;
}

.seat-legend {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 4rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legend-item .seat {
    width: 1.5rem;
    height: 1.5rem;
    cursor: default;
}

.legend-item .seat:hover {
    transform: none;
}

.legend-item span {
    font-size: 0.875rem;
    color: #64748b;
}

.dark .legend-item span {
    color: #94a3b8;
}

/* Bulk Edit Controls */
.bulk-edit-controls {
    margin-bottom: 2rem;
    border: 1px solid #e2e8f0;
}

.dark .bulk-edit-controls {
    border-color: #475569;
}

/* Price Tooltip */
.seat[data-price]:hover::after {
    content: attr(data-price);
    position: absolute;
    top: -2rem;
    left: 50%;
    transform: translateX(-50%);
    background-color: #1e293b;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    white-space: nowrap;
    z-index: 10;
}

.dark .seat[data-price]:hover::after {
    background-color: #0f172a;
}

.seat[data-price]:hover::before {
    content: '';
    position: absolute;
    top: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    border-width: 0.5rem;
    border-style: solid;
    border-color: #1e293b transparent transparent transparent;
    z-index: 10;
}

.dark .seat[data-price]:hover::before {
    border-color: #0f172a transparent transparent transparent;
}

/* Seat Grid */
.seat-grid {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 3rem 0;
}

.seat-row {
    display: flex;
    align-items: center;
    gap: 2rem;
    width: 100%;
    justify-content: center;
}

/* Placeholder for empty seats */
.seat-placeholder {
    width: 3rem;
    height: 3rem;
    visibility: hidden;
}

/* Seat Base Styles */
.seat-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    transition: all 0.3s ease-in-out;
}

.seat-category {
    position: absolute;
    top: -1.25rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.625rem;
    font-weight: 500;
    padding: 0.125rem 0.375rem;
    border-radius: 1rem;
    background-color: rgba(241, 245, 249, 0.9);
    color: #1e293b;
    white-space: nowrap;
    z-index: 1;
}

.dark .seat-category {
    background-color: rgba(30, 41, 59, 0.9);
    color: #e2e8f0;
}

.seat-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: currentColor;
    transition: all 0.3s ease-in-out;
    margin-bottom: 0.25rem;
}

/* Row Labels */
.row-label {
    width: 2.5rem;
    text-align: center;
    font-weight: 500;
    color: #64748b;
}

.dark .row-label {
    color: #94a3b8;
}

.seat-legend {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
}

.legend-container {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 1rem 0;
}

.legend-seat {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 0.25rem;
    border: 2px solid;
    display: flex;
    align-items: center;
    justify-content: center;
}

.legend-seat.available {
    background-color: #f1f5f9;
    border-color: #e2e8f0;
}

.dark .legend-seat.available {
    background-color: #334155;
    border-color: #475569;
}

.legend-seat.selected {
    background-color: #fed7aa;
    border-color: #fb923c;
}

.dark .legend-seat.selected {
    background-color: rgba(251, 146, 60, 0.3);
    border-color: #fb923c;
}

.legend-seat.reserved {
    background-color: #fef3c7;
    border-color: #f59e0b;
}

.dark .legend-seat.reserved {
    background-color: rgba(245, 158, 11, 0.3);
    border-color: #f59e0b;
}

.legend-seat.taken {
    background-color: #fecaca;
    border-color: #ef4444;
}

.dark .legend-seat.taken {
    background-color: rgba(239, 68, 68, 0.3);
    border-color: #ef4444;
}

[data-tooltip] {
    position: relative;
}

[data-tooltip]:before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 130%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #1e293b;
    color: white;
    padding: 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    z-index: 1000;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.dark [data-tooltip]:before {
    background-color: #0f172a;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
}

[data-tooltip]:after {
    content: '';
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: #1e293b transparent transparent transparent;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    z-index: 1000;
}

.dark [data-tooltip]:after {
    border-color: #0f172a transparent transparent transparent;
}

[data-tooltip]:hover:before,
[data-tooltip]:hover:after {
    opacity: 1;
}

.screen-container {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.cinema-screen {
    background: linear-gradient(to bottom, #cbd5e1, #94a3b8);
    height: 0.5rem;
    width: 100%;
    max-width: 600px;
    border-radius: 0.25rem;
    position: relative;
    color: #64748b;
}

.dark .cinema-screen {
    background: linear-gradient(to bottom, #475569, #334155);
    color: #94a3b8;
}

.cinema-screen span {
    position: absolute;
    top: -1.5rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
}

@media (max-width: 768px) {
    .seats-group {
        grid-template-columns: repeat(auto-fit, 2rem);
        gap: 0.25rem;
    }

    .seat {
        width: 2rem;
        height: 2rem;
    }

    .seat-category {
        font-size: 0.5rem;
        padding: 0.0625rem 0.25rem;
    }

    .seat-price {
        font-size: 0.5rem;
    }

    .seat-icon {
        width: 1rem;
        height: 1rem;
    }

    .row-label {
        width: 1.5rem;
        font-size: 0.75rem;
    }
}

/* Image Carousel Styles */
.image-carousel {
    margin: 2rem 0;
}

.bento-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bento-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.bento-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.bento-item:hover {
    transform: scale(1.02);
}

.bento-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
}

.carousel-modal[data-show] {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.close-button {
    position: absolute;
    top: -2rem;
    right: -2rem;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem;
}

.modal-image-container {
    max-width: 100%;
    max-height: 90vh;
}

.modal-image-container img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

/* Tooltip styles */
[data-controller="tooltip"] {
    position: relative;
}

[data-controller="tooltip"].tooltip-visible::before,
[data-controller="tooltip"].tooltip-visible::after {
    opacity: 1;
    visibility: visible;
}

[data-controller="tooltip"]::before {
    content: attr(data-tooltip-content);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5rem 1rem;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    font-size: 0.875rem;
    white-space: nowrap;
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
    z-index: 1000;
}

[data-controller="tooltip"]::after {
    content: '';
    position: absolute;
    bottom: calc(100% - 5px);
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.8) transparent transparent transparent;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
    z-index: 1000;
}

[data-controller="tooltip"]:hover:before,
[data-controller="tooltip"]:hover:after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Seat Modal */
.seat-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 50;
    align-items: center;
    justify-content: center;
}

.seat-modal[data-show] {
    display: flex;
}

.seat-modal-content {
    background: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.seat-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.seat-modal-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
}

.seat-modal-close {
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    padding: 0.5rem;
}

.seat-modal-body {
    margin-bottom: 1.5rem;
}

/* Calendar Event Hover Effects */
.calendar-event {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.calendar-event:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.dark .calendar-event:hover {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.25), 0 4px 6px -2px rgba(0, 0, 0, 0.1);
}

/* Calendar Date Badge */
.calendar-date-badge {
    background: linear-gradient(135deg, #fed7aa 0%, #fdba74 100%);
    box-shadow: 0 2px 4px rgba(251, 146, 60, 0.1);
}

.dark .calendar-date-badge {
    background: linear-gradient(135deg, rgba(251, 146, 60, 0.2) 0%, rgba(251, 146, 60, 0.3) 100%);
    box-shadow: 0 2px 4px rgba(251, 146, 60, 0.1);
}

/* Calendar Status Indicator Animation */
@keyframes calendar-pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

.calendar-status-pulse {
    animation: calendar-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Calendar Widget Gradient Background */
.calendar-widget-gradient {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
}

.dark .calendar-widget-gradient {
    background: linear-gradient(135deg, #ea580c 0%, #dc2626 100%);
}

/* Modal Animations */
.modal-backdrop {
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-content {
    animation: slideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-10px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Calendar Modal Specific Styles */
#calendar-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 9999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    backdrop-filter: blur(12px) !important;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)) !important;
}

#calendar-modal>div {
    background-color: white !important;
    border-radius: 1rem !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 90vw !important;
    max-height: 95vh !important;
    overflow: hidden !important;
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
}

.dark #calendar-modal>div {
    background-color: #0f172a !important;
    color: white !important;
    border-color: #334155 !important;
}

/* Google Calendar Iframe Styles */
.google-calendar-container {
    position: relative;
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 0.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.dark .google-calendar-container {
    background: #1e293b;
}

.google-calendar-container iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 0.5rem;
    transition: filter 0.3s ease;
    min-height: 400px;
}

/* Enhanced dark mode filter for Google Calendar */
.dark .google-calendar-container iframe {
    filter: invert(0.9) hue-rotate(180deg) brightness(1.1) contrast(0.85) saturate(0.8);
}

/* Calendar modal enhancements */
#calendar-modal .google-calendar-container:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.dark #calendar-modal .google-calendar-container:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Enhanced modal backdrop */
#calendar-modal {
    backdrop-filter: blur(12px) !important;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)) !important;
}

/* Status indicator animations */
@keyframes status-glow {

    0%,
    100% {
        box-shadow: 0 0 8px rgba(34, 197, 94, 0.4);
    }

    50% {
        box-shadow: 0 0 16px rgba(34, 197, 94, 0.6);
    }
}

.animate-pulse {
    animation: status-glow 2s ease-in-out infinite;
}

/* Modal Content Styles */
.modal-header {
    padding: 1.5rem !important;
    border-bottom: 1px solid #e5e7eb !important;
}

.dark .modal-header {
    border-bottom-color: #374151 !important;
}

.modal-body {
    overflow-y: auto !important;
    max-height: calc(95vh - 140px) !important;
}

.modal-footer {
    padding: 1.5rem !important;
    border-top: 1px solid #e5e7eb !important;
    background-color: #f9fafb !important;
}

.dark .modal-footer {
    border-top-color: #374151 !important;
    background-color: #1f2937 !important;
}

/* Event Card Styles */
.event-card {
    padding: 1rem !important;
    border-radius: 0.5rem !important;
    border: 1px solid #e5e7eb !important;
    margin-bottom: 1rem !important;
    transition: background-color 0.2s ease !important;
}

.event-card:hover {
    background-color: #f9fafb !important;
}

.dark .event-card {
    border-color: #374151 !important;
}

.dark .event-card:hover {
    background-color: rgba(31, 41, 55, 0.5) !important;
}

/* Date Badge Styles */
.date-badge {
    width: 4rem !important;
    height: 4rem !important;
    background-color: #fed7aa !important;
    border: 2px solid #fdba74 !important;
    border-radius: 0.5rem !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

.dark .date-badge {
    background-color: rgba(251, 146, 60, 0.2) !important;
    border-color: rgba(251, 146, 60, 0.4) !important;
}

/* Button Styles */
.modal-button {
    display: inline-flex !important;
    align-items: center !important;
    padding: 0.5rem 1rem !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    border-radius: 0.5rem !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
}

.modal-button-primary {
    background-color: #ea580c !important;
    color: white !important;
}

.modal-button-primary:hover {
    background-color: #dc2626 !important;
    color: white !important;
}

.modal-button-secondary {
    background-color: #4b5563 !important;
    color: white !important;
}

.modal-button-secondary:hover {
    background-color: #374151 !important;
    color: white !important;
}

/* Status Indicator */
.status-indicator {
    width: 0.75rem !important;
    height: 0.75rem !important;
    background-color: #10b981 !important;
    border-radius: 50% !important;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite !important;
}

/* Responsive Design */
/* Responsive styles for calendar modal */
@media (max-width: 1024px) {
    #calendar-modal>div {
        max-width: 95vw !important;
        max-height: 90vh !important;
    }
}

@media (max-width: 768px) {
    #calendar-modal {
        padding: 0.25rem !important;
    }

    #calendar-modal>div {
        max-height: 95vh !important;
        max-width: 98vw !important;
        border-radius: 0.75rem !important;
    }

    .google-calendar-container {
        border-radius: 0.375rem !important;
    }

    .google-calendar-container iframe {
        min-height: 350px !important;
        border-radius: 0.375rem !important;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    #calendar-modal {
        padding: 0.25rem !important;
    }

    #calendar-modal>div {
        max-width: 98vw !important;
        border-radius: 0.5rem !important;
    }

    .google-calendar-container iframe {
        height: 350px !important;
        min-height: 350px !important;
    }

    .modal-header h3 {
        font-size: 1.125rem !important;
    }

    .modal-header p {
        font-size: 0.75rem !important;
    }
}