@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

/* ------------------------------------------------------
   GLOBAL
------------------------------------------------------ */

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background: #f5f7fa;
    margin: 0;
    padding: 0;
}

a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

/* ------------------------------------------------------
   TOP NAV (TIMER + CART)
------------------------------------------------------ */

.top-nav {
    background: #ffffff;
    border-bottom: 1px solid #e5e8ed;
    padding: 10px 15px;
    position: sticky;
    top: 0;
    z-index: 999;
}

.navbar-brand {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    text-decoration: none;
}

.btn-cart {
    background: none;
    border: none;
    position: relative;
    font-size: 24px;
    color: #333;
    cursor: pointer;
}

    .btn-cart:hover {
        color: #000;
    }

.cart-badge {
    background: #d9534f;
    color: white;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 10px;
    position: absolute;
    top: 0;
    right: -5px;
    font-weight: 600;
}

/* TIMER */

.timer-box {
    background: #ffe6e6;
    color: #b30000;
    padding: 6px 12px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    margin-right: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #ffcccc;
}

/* ------------------------------------------------------
   SEAT MAP WRAPPER + LEGEND
------------------------------------------------------ */

.map-wrapper {
    overflow-x: auto;
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e1e4e8;
    box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.05);
}

.seat-legend {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: #666;
}

.legend-item {
    display: inline-flex;
    align-items: center;
    margin-right: 20px;
    margin-bottom: 8px;
}

.legend-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;
}

.legend-free {
    background: #44bb44;
}

.legend-reserved {
    background: #ff9900;
}

.legend-sold {
    background: #cc0000;
}

.legend-selected {
    background: #007bff;
}

/* ------------------------------------------------------
   MODAL (Ticket Category Selection)
------------------------------------------------------ */

.tls-modal {
    border-radius: 12px;
    overflow: hidden;
    border: none;
}

    .tls-modal .modal-header {
        background: #f8f9fa;
        border-bottom: 1px solid #e5e8ed;
    }

    .tls-modal .modal-footer {
        background: #f8f9fa;
        border-top: 1px solid #e5e8ed;
    }

/* ------------------------------------------------------
   CART PAGE
------------------------------------------------------ */

.cart-item {
    background: #fafbfd;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #e5e8ed;
}

    .cart-item:hover {
        background: #f0f3f7;
    }

    .cart-item strong {
        font-weight: 600;
    }

.btn-danger {
    font-size: 13px;
}

/* ------------------------------------------------------
   HERO STYLING (used in event lists, cart, etc.)
------------------------------------------------------ */

.tls-hero {
    text-align: center;
    margin-bottom: 2rem;
}

.tls-hero-title {
    font-size: 2rem;
    font-weight: 700;
    color: #222;
}

.tls-hero-subtitle {
    font-size: 1rem;
    color: #666;
}

/* ------------------------------------------------------
   CARDS (Customer/Event Cards)
------------------------------------------------------ */

.tls-card {
    background: white;
    border-radius: 14px;
    padding: 20px;
    border: 1px solid #e5e8ed;
    box-shadow: 0px 3px 8px rgba(0,0,0,0.05);
}

.tls-card-hover {
    transition: all 0.2s ease;
}

    .tls-card-hover:hover {
        transform: translateY(-3px);
        box-shadow: 0px 6px 14px rgba(0,0,0,0.1);
    }

/* ------------------------------------------------------
   LOGO WRAPPER
------------------------------------------------------ */

.tls-customer-logo-wrapper {
    width: 100%;
    height: 120px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}

.tls-customer-logo {
    max-height: 100%;
    object-fit: contain;
}

/* ------------------------------------------------------
   BUTTON OVERRIDES
------------------------------------------------------ */

.btn-tls-primary {
    background: #0055ff;
    border: none;
    color: white;
    padding: 10px;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.2s;
}

    .btn-tls-primary:hover {
        background: #003fcc;
    }

/* ------------------------------------------------------
   RESPONSIVE FIXES
------------------------------------------------------ */

@media (max-width: 768px) {

    .timer-box {
        font-size: 13px;
        padding: 4px 8px;
    }

    .btn-cart {
        font-size: 22px;
    }

    .tls-customer-logo-wrapper {
        height: 90px;
    }
}
.navbar-brand {
    font-size: 1.4rem;
    font-weight: 700;
    color: #003580 !important;
}

.badge {
    font-size: 0.75rem;
}

.text-danger {
    font-size: 1rem;
}
.navbar .badge {
    font-size: 0.75rem;
    padding: 0.35em 0.55em;
}

.navbar .nav-link .bi-cart-fill {
    transition: transform .2s;
}

.navbar .nav-link:hover .bi-cart-fill {
    transform: scale(1.15);
}
