.tickets {
    display: flex;
    flex-direction: row !important;
    align-items: center;
    gap: 10px;
}

.tickets > div:last-child {
    margin-left: auto;
}

@media (max-width: 768px) {
    .tickets {
        flex-direction: column !important;
        align-items: flex-start;
    }

    .tickets > div:last-child {
        margin-left: 0;
        width: 100%;
    }

    .tickets-table thead {
        display: none;
    }
    .tickets-table,
    .tickets-table tbody,
    .tickets-table tfoot,
    .tickets-table tr,
    .tickets-table td {
        display: block;
        width: 100%;
    }
    .tickets-table tr {
        margin-bottom: 15px;
    }

    .tickets-table td {
        text-align: right;
        padding-left: 50%;
        position: relative;
    }

    .tickets-table td:first-child {
        padding-top: 10px;
        background-color: var(--ordolio-default-primary);
        color: white;
        font-weight: bold;
    }

    .tickets-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 10px;
        width: calc(50% - 10px);
        white-space: nowrap;
        text-align: left;
        font-weight: bold;
    }
}

@media screen and (max-width: 768px) {
}

#event-payment-options {
    display: flex;
    justify-content: end;
}

/* Event Page Container */
.event-page-container {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 15px;
    position: relative;
}

/* Sticky Navbar */
.event-sticky-nav {
    position: sticky;
    top: 20px;
    right: 0;
    z-index: 100;
    margin-left: auto;
    width: fit-content;
}

.event-sticky-nav .btn {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Event Hero Section */
.event-banner {
    position: relative;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    overflow: hidden;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.event-banner.bg-primary {
    background-color: var(--ordolio-default-primary);
}

.banner-overlay {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 2rem;
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.banner-overlay::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

.banner-overlay .title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.banner-overlay .subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* Event Sections */
.event-section {
}

.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.section-header i {
    color: var(--ordolio-default-primary);
    margin-right: 1rem;
}

.section-header h5 {
    margin: 0;
    font-weight: 600;
}

.section-content {
    color: var(--kt-gray-800);
}

/* Organization Card */
.organization-card {
    background: white;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid var(--ordolio-default-primary);
    transition: transform 0.2s ease;
}

.organization-card:hover,
#countdown-btn.enabled:hover {
    transform: translateY(-2px);
}

.organization-card img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.organization-card h5 {
    margin: 0;
    font-weight: 600;
    color: var(--kt-gray-800);
    font-size: 1.1rem;
}

/* Ticket Cards */
.ticket-card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--ordolio-default-primary);
}

.ticket-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.ticket-icon {
    margin-right: 1rem;
    color: var(--ordolio-default-primary);
}

.ticket-title h5 {
    margin: 0;
    font-weight: 600;
}

.ticket-price {
    color: var(--ordolio-default-primary);
    font-weight: 600;
    font-size: 1.25rem;
}

.ticket-badges {
    margin-bottom: 1rem;
}

.ticket-badges .badge {
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.ticket-actions {
    margin-top: auto;
}

.ticket-quantity {
    margin-top: 1rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .event-page-container {
        padding: 0 10px;
    }

    .event-section {
        padding: 1.5rem;
    }

    .banner-overlay .title {
        font-size: 2rem;
    }

    .banner-overlay .subtitle {
        font-size: 1.1rem;
    }
}

/* Alert Styling */
.alert {
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.alert-icon {
    margin-right: 1rem;
}

.alert-text {
    flex: 1;
}

/* Form Controls */
.form-control {
    border-radius: 6px;
}

.btn {
    border-radius: 6px;
}

/* Map Container */
#map {
    border-radius: 8px;
    overflow: hidden;
}
