/* ==========================================
   ENTRANCE TICKETS
========================================== */

.ua-entrance {
    margin-top: var(--space-2xl);
    padding-top: var(--space-2xl);
    border-top: 1px solid var(--border);
}

/* ==========================================
   TICKET TABLE
========================================== */

.ua-ticket-table {
    margin-top: var(--space-xl);
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: var(--surface);
}

.ua-ticket {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.ua-ticket thead th {
    padding: var(--space-md) var(--space-xl);
    border-bottom: 1px solid var(--border);
    background: var(--bg-secondary);
    color: var(--text-muted);
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ua-ticket thead th:first-child {
    width: 52%;
    text-align: left;
}

.ua-ticket thead th:nth-child(2),
.ua-ticket thead th:nth-child(3) {
    width: 24%;
    text-align: right;
}

.ua-ticket tbody td,
.ua-ticket tfoot th {
    padding: var(--space-md) var(--space-lg);
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.ua-ticket tbody tr:last-child td {
    border-bottom: 0;
}

.ua-ticket-name {
    color: var(--text);
    font-weight: 600;
    line-height: 1.5;
}

.ua-ticket-price {
    text-align: right;
    white-space: nowrap;
}

.ua-ticket-idr {
    display: inline-block;
    margin-right: var(--space-xs);
    color: var(--text-muted);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    vertical-align: middle;
}

.ua-ticket-value {
    color: var(--text);
    font-size: 1.05rem;
    font-weight: 700;
}

.ua-ticket-free {
    color: #16A34A;
    font-size: .95rem;
    font-weight: 700;
}

/* ==========================================
   TOTAL
========================================== */

.ua-ticket tfoot th {
    border-top: 2px solid var(--border);
    border-bottom: 0;
    background: var(--bg-secondary);
}

.ua-ticket-total-title {
    color: var(--text);
    text-align: left;
    font-size: .95rem;
    font-weight: 700;
}

.ua-ticket-total-price {
    text-align: right;
}

.ua-ticket-total-price .ua-ticket-value {
    color: var(--primary);
}

/* ==========================================
   IMPORTANT INFORMATION
========================================== */

.ua-ticket-note {
    margin-top: var(--space-xl);
}

.ua-ticket-note-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.ua-ticket-note-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    background: rgba(244, 180, 0, .12);
    color: var(--primary);
}

.ua-ticket-note-title h3 {
    margin: 0;
    color: var(--text);
    font-size: 1.1rem;
    font-weight: 700;
}

.ua-ticket-note-title p {
    margin: 4px 0 0;
    color: var(--text-muted);
    font-size: .875rem;
}

.ua-ticket-note-list {
    margin: var(--space-lg) 0 0;
    padding: 0;
    list-style: none;
}

.ua-ticket-note-list li {
    position: relative;
    margin-bottom: var(--space-md);
    padding-left: 28px;
    color: var(--text-muted);
    font-size: .9rem;
    line-height: 1.8;
}

.ua-ticket-note-list li:last-child {
    margin-bottom: 0;
}

.ua-ticket-note-list li::before {
    content: "";
    position: absolute;
    top: 6px;
    left: 0;
    width: 16px;
    height: 16px;
    background: var(--primary);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M13.485 1.929a.75.75 0 0 1 .086 1.057l-7 8a.75.75 0 0 1-1.094.03l-3-3a.75.75 0 1 1 1.06-1.06l2.434 2.433 6.47-7.394a.75.75 0 0 1 1.044-.066z'/%3E%3C/svg%3E") center/contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M13.485 1.929a.75.75 0 0 1 .086 1.057l-7 8a.75.75 0 0 1-1.094.03l-3-3a.75.75 0 1 1 1.06-1.06l2.434 2.433 6.47-7.394a.75.75 0 0 1 1.044-.066z'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 767.98px) {

    .ua-entrance {
        margin-top: var(--space-xl);
        padding-top: var(--space-xl);
    }

    .ua-ticket-table {
        margin-top: var(--space-xl);
        border-radius: var(--radius-lg);
    }

    .ua-ticket thead th,
    .ua-ticket tbody td,
    .ua-ticket tfoot th {
        padding: var(--space-sm);
    }

    .ua-ticket thead th {
        font-size: .72rem;
    }

    .ua-ticket-name {
        font-size: .875rem;
        line-height: 1.45;
    }

    .ua-ticket-idr {
        margin-right: 3px;
        font-size: .58rem;
    }

    .ua-ticket-value {
        font-size: .875rem;
    }

    .ua-ticket-total-title {
        font-size: .875rem;
    }

    .ua-ticket-note {
        margin-top: var(--space-lg);
    }

    .ua-ticket-note-header {
        gap: var(--space-sm);
        margin-bottom: var(--space-sm);
    }

    .ua-ticket-note-icon {
        width: 32px;
        height: 32px;
        border-radius: var(--radius-sm);
    }

    .ua-ticket-note-title h3 {
        font-size: 1rem;
    }

    .ua-ticket-note-title p {
        font-size: .8125rem;
    }

    .ua-ticket-note-list li {
        margin-bottom: var(--space-sm);
        padding-left: 22px;
        font-size: .875rem;
        line-height: 1.65;
    }

    .ua-ticket-note-list li::before {
        width: 14px;
        height: 14px;
    }

}