.boxoffice-details-second {
    padding: 32px 0;
}

.boxoffice-second-heading {
    margin-bottom: 20px;
}

.boxoffice-second-heading h1 {
    font-size: 30px;
    font-weight: 400;
}

.boxoffice-second-header {
    display: grid;
    grid-template-columns: 1.4fr 1.5fr 0.8fr 0.7fr;
    gap: 16px;
    font-size: 14px;
    font-weight: 400;
    width: 85%;
    text-transform: uppercase;
}

.boxoffice-second-row {
    display: grid;
    grid-template-columns: 1.4fr 1.5fr 0.8fr 0.7fr;
    gap: 30px;
    padding: 20px 0;
    align-items: center;
    width: 85%;
    border-bottom: 1px solid rgba(201, 211, 218, 1);
}

.boxoffice-second-col-type {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.boxoffice-second-seat-info {
    font-size: 13px;
    font-weight: 400;
}

.boxoffice-second-col-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.boxoffice-second-row > div.boxoffice-second-col-price {
    font-size: 18px;
}
.boxoffice-second-event-title {
    font-size: 20px;
    font-weight: 600;
}

.boxoffice-second-event-subtitle {
    font-size: 18px;
    font-weight: 400;

}

.boxoffice-second-event-date {
    font-size: 18px;
    font-weight: 400;
}

.boxoffice-second-event-seat {
    font-size: 12px;
    font-weight: 400;
    margin-top: 4px;
}

.boxoffice-second-ticket-type select,
.boxoffice-second-select {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    border: 1px solid #000000;
}

.boxoffice-second-ticket-type select:focus,
.boxoffice-second-select:focus {
    outline: none;
    border-color: #000000;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
}

.boxoffice-second-ticket-type .discount-select {
    display: block;
    margin: 0;
}

.boxoffice-second-ticket-type .discount-icon {
    display: none;
}

.boxoffice-second-ticket-type .custom-dropdown {
    position: relative;
    width: 100%;
}

.boxoffice-second-ticket-type .dropdown-header {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    border: 1px solid #000000;
    border-radius: 4px;
    background: #ffffff;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.boxoffice-second-ticket-type .dropdown-header:hover {
    background: #f9f9f9;
}

.boxoffice-second-ticket-type .dropdown-header .arrow {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 8px;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #000000;
    transition: transform 0.3s ease;
}

.boxoffice-second-ticket-type .dropdown-header .arrow.open {
    transform: rotate(180deg);
}

.boxoffice-second-ticket-type .dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid #000000;
    border-top: none;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-height: 250px;
    overflow-y: auto;
}

.boxoffice-second-ticket-type .dropdown-content.show {
    display: block;
}

.boxoffice-second-ticket-type .dropdown-item {
    padding: 10px 12px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.boxoffice-second-ticket-type .dropdown-item:hover {
    background: #f5f5f5;
}

.boxoffice-second-ticket-type .dropdown-item:active {
    background: #e8e8e8;
}

.boxoffice-second-ticket-type .dropdown-wrapper {
    width: 100%;
}

.boxoffice-second-ticket-type .discount-select.disabled {
    opacity: 0.6;
    pointer-events: none;
}

.boxoffice-second-col-price {
    font-size: 14px;
    font-weight: 400;
}

.boxoffice-second-col-remove {
    text-align: center;
    display: flex;
   justify-content: flex-end;
    align-items: center;
}

.boxoffice-second-remove-btn {
    background: #000000;
    border: none;
    color: #ffffff;
    width: 27px;
    height: 27px;
    border-radius: 50%;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.3s ease;
    position: relative;
}

.boxoffice-second-remove-btn:hover {
    background: #333333;
    transform: scale(1.05);
}

.boxoffice-second-remove-btn i {
    font-size: 14px;
    color: #ffffff;
}

@media (max-width: 991px) {
    .boxoffice-second-header {
        grid-template-columns: 1.5fr 1fr 0.8fr 0.7fr;
        font-size: 12px;
    }

    .boxoffice-second-row {
        grid-template-columns: 1.5fr 1fr 0.8fr 0.7fr;
    }

    .boxoffice-second-event-title {
        font-size: 15px;
    }

    .boxoffice-second-event-subtitle {
        font-size: 13px;
    }

    .boxoffice-second-select {
        font-size: 13px;
        padding: 8px 10px;
    }

    .boxoffice-second-seat-info {
        font-size: 12px;
    }

    .boxoffice-second-event-title {
        font-size: 15px;
    }

    .boxoffice-second-event-subtitle {
        font-size: 12px;
    }

    .boxoffice-second-event-date {
        font-size: 13px;
    }

    .boxoffice-second-event-seat {
        font-size: 11px;
    }

    .boxoffice-second-col-price {
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    .boxoffice-second-header {
        display: none;
    }

    .boxoffice-second-row {
        width: 100%;
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 16px;
        background: #f9f9f9;
        border-radius: 8px;
        margin-bottom: 16px;
        border-bottom: none;
    }

    .boxoffice-second-seat-info {
        font-size: 11px;
        margin-top: 2px;
    }

    .boxoffice-second-event-seat::before {
        content: '';
        font-weight: 600;

        font-size: 12px;
    }

    .boxoffice-second-col-price {
        text-align: left;
        font-size: 20px;
    }

    .boxoffice-second-col-price::before {
        content: 'Cena: ';
        font-weight: 400;

        font-size: 14px;
    }

    .boxoffice-second-col-remove {
        text-align: left;
    }
}