/* Event Details Dialog */
.event-details-dialog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.event-details-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.event-details-content {
    position: relative;
    width: 90vw;
    max-width: 1200px;
    height: auto;
    max-height: 90vh;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.event-details-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 32px;
    cursor: pointer;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    border-radius: 4px;
}

.event-details-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ff2a70;
}

.event-details-grid {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 40px;
    padding: 40px;
    overflow-y: auto;
}

/* Left Column */
.event-details-left {
    display: flex;
    flex-direction: column;
}

.event-detail-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    aspect-ratio: 1 / 1;
}

.event-detail-date,
.event-detail-time,
.event-detail-price {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.event-detail-date svg,
.event-detail-time svg,
.event-detail-price svg {
    flex-shrink: 0;
}

.event-detail-price {
    font-size: 16px;
    font-weight: 500;
}

/* Right Column */
.event-details-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.event-detail-title {
    font-size: 32px;
    font-weight: 500;
    margin: 0;
    line-height: 1.2;
}

.event-detail-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.event-detail-description {
    font-size: 16px;
    line-height: 1.6;
}

/* Custom Scrollbar */
.event-details-grid::-webkit-scrollbar {
    width: 8px;
}

.event-details-grid::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.event-details-grid::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.event-details-grid::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Event Price Column - Stack vertically */
.event-price-col {
    flex-direction: column !important;
    align-items: flex-end !important;
    gap: 10px !important;
}

/* Link "Dettagli" Style - Same as link-more-events */
.event-details-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .event-details-content {
        width: 95vw;
        max-height: 95vh;
    }

    .event-details-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 30px 20px;
    }

    .event-details-left {
        order: 1;
    }

    .event-details-right {
        order: 2;
    }

    .event-detail-title {
        font-size: 24px;
    }

    .event-detail-description {
        font-size: 14px;
    }
}
