/* Event Page Styles */
.event-page-container {
    padding: 110px 24px 24px 312px;
}


.date-dropdown {
    position: relative;
}

.date-dropdown-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    cursor: pointer;
    font-size: 0.9rem;
    color: black;
    transition: all 0.2s ease;
}

.date-dropdown-button:hover {
    background: transparent !important;
    border: none !important;
}

.dropdown-icon {
    font-size: 0.8rem;
    transition: transform 0.2s ease;
}

.date-dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    min-width: 200px;
    max-height: 300px;
    overflow-y: auto;
    margin-top: 4px;
}

.month-group {
    border-bottom: 1px solid #f1f3f4;
    padding: 8px 0;
}

.month-group:last-child {
    border-bottom: none;
}

.month-header {
    padding: 8px 16px 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #495057;
    background-color: #f8f9fa;
    margin-bottom: 8px;
}

.month-group .dates-row {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 0 16px;
}

.date-dropdown-content .event-date {
    display: inline-block;
    padding: 6px 12px;
    text-decoration: none;
    color: #495057;
    transition: background-color 0.2s ease;
    border: none;
    background: none;
    text-align: center;
    font-size: 0.9rem;
    border-radius: 4px;
    min-width: 32px;
}

.date-dropdown-content .event-date:hover {
    background-color: #f8f9fa;
    color: #643BD5;
}

.date-dropdown-content .event-date.active {
    background-color: #643BD5;
    color: white;
}

.event-page-main-content {
    padding-top: 36px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.event-page-top-row {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.event-page-cover-container {
    flex: 2;
}

.event-page-cover-image {
    height: 510px;
}

.event-page-main-content-left {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.event-description-container {
    width: 100%;
}

.event-description-content {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.event-tickets-section {
    flex: 1;
    min-width: 0;
    max-width: 64.7%;
}

.event-map-section {
    margin-top: 24px;
    width: 100%;
}

.event-similar-section {
    flex: 0 0 500px;
    min-width: 0;
}

.event-similar-container {
    border-radius: 15px;
    padding: 12px;
    width: 100%;
}

.event-ticket-card {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    align-items: stretch;
    max-height: 122px;
}

.event-ticket-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 122px;
    max-height: 122px;
    overflow: hidden;
    border: 1px solid #3D2D8E;
    border-radius: 1rem;
    padding: 0.5rem;
    position: relative;
}

.event-friends-bought {
    padding: 16px;
    border: 1px solid #643BD5;
    text-align: center;
    border-radius: 12px;
    background-color: transparent;
    font-size: 14px;
    width: 180px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    min-height: 122px;
    max-height: 122px;
    overflow: hidden;
}

.event-friends-bought-vip {
    border-color: #ec4899;
    background-color: transparent;
}

.event-page-image {
    height: auto;
    border-radius: 25px;
    object-fit: cover;
}

.event-page-event-info-text {
    font-size: 1rem;
    margin: 0;
}

.google-maps {
    width: 100%;
    height: 240px;
    border-radius: 25px;
    margin-bottom: 202px;
}

.event-page-main-content-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 32px;
    min-width: 0;
    overflow: hidden;
}

.event-page-description-text {
    text-align: start;
    font-size: 15px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    line-height: 1.4;
}

.event-page-event-info-list {
    display: flex;
    flex-direction: column;
    font-weight: 600;
    word-wrap: break-word;
    overflow-wrap: break-word;
    list-style: none;
    padding: 0;
    margin: 0;
}

.event-page-event-info-list li {
    display: flex;
    word-wrap: break-word;
    overflow-wrap: break-word;
    margin-bottom: 8px;
}

.profile-chess {
    font-weight: 600;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.profile-chess ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    list-style: none;
    padding: 0;
    margin: 0;
}

.profile-chess li {
    display: flex;
    gap: 10px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.event-page-ticket-main-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.event-page-ticket-main-info p {
    margin: 0;
    font-size: 1rem;
}

/* Ticket title and benefits styles */
.event-page-ticket-main-info p:first-child {
    font-size: 24px;
    font-weight: bold;
}

.event-page-ticket-benefits {
    margin-top: 16px;
}

.event-page-ticket-benefits-text {
    margin: 0;
    color: #643BD5;
    font-size: 24px;
    font-weight: bold;
}

.event-page-ticket-benefits-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 8px 0 0 0;
    padding: 0 0 0 16px;
    list-style: disc;
}

.event-page-ticket-benefits-list li {
    margin: 0;
    font-size: 0.9rem;
}

/* Ticket Container Styles (for registration page) */
.event-ticket-container {
    border: #643BD5 1px solid;
    border-radius: 25px;
    padding: 16px 16px 16px 40px;
    display: flex;
    flex-direction: column;
    position: relative;
    gap: 16px;
}

.event-ticket-container:hover {
    box-shadow: 0 0 5px #643BD5;
    transform: scale(1.02);
    cursor: pointer;
}

.register-ticket-no-hover:hover {
    box-shadow: none;
    transform: none;
    cursor: default;
}

.ticket-left-color {
    position: absolute;
    top: 0;
    left: 0;
    width: 24px;
    height: 100%;
    background-color: #643BD5;
    border-radius: 25px 0 0 25px;
}

/* Mobile Event Page Styles */
@media (max-width: 1023px) {
    .event-page-container {
        padding: 80px 16px 100px 16px;
    }
    
    .event-ticket-main .absolute {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        text-align: left !important;
        margin-top: 8px;
    }
    
    .event-ticket-main .absolute:last-child {
        margin-top: 16px;
    }
    
    
    .event-page-main-content {
        gap: 24px;
        padding-top: 0;
    }
    
    .event-page-top-row {
        flex-direction: column;
        gap: 20px;
    }
    
    .event-page-cover-container {
        flex: none;
        width: 100%;
    }
    
    .event-page-main-content-left {
        gap: 0;
    }
    
    .event-page-main-content-right {
        gap: 20px;
        margin-top: 0;
    }
    
    .event-page-cover-image {
        height: auto;
        aspect-ratio: 16/9;
    }
    
    .event-page-description-text {
        font-size: 14px;
        line-height: 1.3;
    }
    
    .event-description-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .event-tickets-section {
        flex: none;
        width: 100%;
        max-width: 100%;
    }
    
    .event-map-section {
        margin-top: 20px;
        width: 100%;
    }
    
    .event-similar-section {
        flex: none;
        width: 100%;
    }
    
    .event-similar-container {
        max-width: 100%;
    }
    
    .event-ticket-card {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
        max-height: none;
    }
    
    .event-ticket-main {
        max-width: 100%;
        min-height: auto;
        max-height: none;
    }
    
    .event-friends-bought {
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
        min-height: auto;
        max-height: none;
    }
    
    .google-maps {
        height: 300px;
        border-radius: 16px;
        margin-bottom: 100px;
    }
}

/* Share Modal Styles */
.share-modal-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 50;
    padding: 1rem;
    background-color: rgba(0, 0, 0, 0.5);
}

.share-modal-content {
    background-color: white;
    max-width: 28rem;
    width: 100%;
    padding: 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border: 4px solid transparent;
    border-radius: 25px;
    background: linear-gradient(white, white) padding-box, linear-gradient(to right, rgb(0, 136, 85), rgb(100, 59, 213)) border-box;
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .event-page-container {
        padding: 80px 16px 100px;
    }
    
    
    .google-maps {
        height: 200px;
        margin-bottom: 220px;
    }
}
