/* Day Page Custom Stylesheet */
.day-page-container {
    font-family: 'Inter', sans-serif;
}
.header-date-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    color: #0f172a;
}
.premium-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}
.fact-badge {
    background-color: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    padding: 16px;
    transition: all 0.2s ease-in-out;
}
.fact-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}
.event-item {
    padding: 16px 0;
    border-bottom: 1px solid #f1f5f9;
}
.event-item:last-child {
    border-bottom: none;
}
.day-event-country-trigger {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: rgba(59, 130, 246, 0.35);
    text-underline-offset: 2px;
}
.day-event-country-trigger:hover {
    color: #0f172a;
}
.day-event-country-inline {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: rgba(59, 130, 246, 0.35);
    text-underline-offset: 2px;
}
.day-event-country-inline:hover {
    color: #0f172a;
}
.day-event-country-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.day-event-country-pill,
.day-event-country-more {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 0.9rem;
    line-height: 1.2;
}
.day-event-country-pill {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #0f172a;
    text-decoration: none;
}
.day-event-country-pill:hover {
    color: #0f172a;
    border-color: #cbd5e1;
    background: #f1f5f9;
}
.day-event-country-more {
    color: #64748b;
    background: #f8fafc;
}
.event-badge-public-holiday {
    background-color: #dc3545 !important;
    border: 1px solid #bb2d3b;
    color: #ffffff !important;
    font-weight: 700;
    letter-spacing: 0.01em;
}
.event-badge-observance {
    background-color: #e9ecef !important;
    border: 1px solid #ced4da;
    color: #495057 !important;
    font-weight: 700;
    letter-spacing: 0.01em;
}
.event-badge-generic {
    background-color: #f8d7da !important;
    border: 1px solid #f1aeb5;
    color: #842029 !important;
    font-weight: 700;
    letter-spacing: 0.01em;
}
.dateverse-cta-container {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}
.badge-mint-available {
    background-color: #d1fae5;
    color: #065f46;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    letter-spacing: 0.5px;
}
#dateverse-plaque-container svg {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}

@media (max-width: 767.98px) {
    .event-countries-modal .modal-dialog {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        margin: 0;
        max-width: none;
        width: 100%;
    }
    .event-countries-modal .modal-content {
        border-radius: 20px 20px 0 0;
        min-height: 34vh;
    }
    .event-countries-modal .modal-body {
        max-height: 42vh;
        overflow-y: auto;
    }
}

/* Cached ownership status, also reused after the live checkout check. */
.badge-mint-available { display: inline-flex; align-items: center; gap: 6px; }
.badge-mint-available::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge-mint-available.is-minted {
    text-transform: uppercase;
    color: #6d28d9;
    background: #ede9fe;
    border: 1px solid #c4b5fd;
    animation: dateverse-minted-glow 3s ease-in-out infinite;
}
.badge-mint-available.is-reserved { color: #92400e; background: #fef3c7; }
@keyframes dateverse-minted-glow {
    0%, 100% { box-shadow: 0 0 4px rgba(139, 92, 246, .12); }
    50% { box-shadow: 0 0 12px rgba(139, 92, 246, .32); }
}
@media (prefers-reduced-motion: reduce) {
    .badge-mint-available.is-minted { animation: none; }
}

.dateverse-event-card { padding: 20px; border: 1px solid #252830; border-radius: 12px; background: linear-gradient(120deg, #131a20, #101014); color: #e4e7ec; }
.dateverse-event-badge { display: inline-block; padding: 4px 8px; border: 1px solid #155968; border-radius: 4px; background: #10343e; color: #22d3ee; font-size: .65rem; font-weight: 700; letter-spacing: .045em; }
.dateverse-event-card h4 { margin: 14px 0 8px; font-size: 1.05rem; font-weight: 700; line-height: 1.4; }
.dateverse-event-card p { margin: 0; color: #a1a8b5; font-size: .9rem; line-height: 1.65; }

.dateverse-owner { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.dateverse-owner-label { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; padding: 8px 14px; border: 1px solid #ddd6fe; border-radius: 20px; background: #f5f3ff; color: #6d28d9; font-size: .9rem; }
.dateverse-owner-label strong { min-width: 0; overflow-wrap: anywhere; }
