/* =========================================
   TICKET SEARCH OVERLAY
========================================= */
.ticket-search-overlay {
    position: fixed;
    top: 65px;
    left: 0;
    width: 100%;
    background: rgba(0,0,0,0.35);
    z-index: 9999;
    display: none;
    min-height: calc(100vh - 65px);
}

.ticket-search-overlay.active {
    display: block;
}

.ticket-search-box { 
    background: #0f7a44;
    padding: 12px;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}

.ticket-search-top {
    display: flex;
    gap: 10px;
    align-items: center;
}

.ticket-search-top input {
    flex: 1;
    height: 46px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 12px;
    padding: 0 14px;
    font-size: 16px;
    background: rgba(255,255,255,0.12);
    color: #fff;
    outline: none;
}

.ticket-search-top input::placeholder {
    color: rgba(255,255,255,0.75);
}

.ticket-search-close {
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 12px;
    background: #fff;
    color: #0f7a44;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
}

.ticket-search-results {
    margin-top: 10px;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    max-height: 70vh;
    overflow-y: auto;
}

.ticket-search-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid #eef2f7;
    text-decoration: none;
    color: #1e293b;
    transition: background 0.2s ease;
}

.ticket-search-item:hover {
    background: #f8fafc;
}

.ticket-search-item.disabled {
    cursor: not-allowed;
    opacity: 0.9;
}

.ticket-search-line {
    font-size: 15px;
    font-weight: 500;
    color: #334155;
}

.ticket-status-badge {
    font-size: 13px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
}

.ticket-status-badge.available {
    background: #dcfce7;
    color: #15803d;
}

.ticket-status-badge.sold {
    background: #fee2e2;
    color: #dc2626;
}

.ticket-status-badge.reserved {
    background: #fef3c7;
    color: #b45309;
}

.search-empty {
    padding: 16px;
    text-align: center;
    color: #64748b;
    font-weight: 600;
}