﻿/* ===============================
   TicketsLiveShop - Shop styling
   (Ticketmaster-ish look)
   =============================== */

/* Global background & typography */
body {
    background-color: #f5f7fb;
}

/* ---------------- NAVBAR ---------------- */

.tls-nav {
    background-color: #ffffff;
    border-bottom: 1px solid #e4e7ec;
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
}

.tls-brand {
    font-weight: 700;
    color: #0046b8 !important; /* niebieski jak ticketmaster */
    letter-spacing: 0.02em;
}

    .tls-brand:hover {
        color: #00348a !important;
    }

.tls-nav-link {
    font-weight: 500;
    color: #4b5563 !important;
    font-size: 0.95rem;
}

    .tls-nav-link.active {
        color: #0046b8 !important;
    }

    .tls-nav-link:hover {
        color: #111827 !important;
    }

/* Cart badge */
.bg-tls-primary {
    background-color: #0046b8 !important;
}

/* Timer pill */
.tls-timer-pill {
    background-color: #ffe7c2;
    color: #b45309;
    border: 1px solid #fbbf77;
    font-weight: 600;
    font-size: 0.9rem;
}

/* ---------------- PAGE WRAPPER ---------------- */

.tls-main-wrapper {
    min-height: calc(100vh - 120px);
}

/* ---------------- HERO ---------------- */

.tls-hero {
    text-align: center;
    margin-bottom: 2rem;
    margin-top: 1.5rem;
}

.tls-hero-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.25rem;
}

.tls-hero-subtitle {
    font-size: 0.95rem;
    color: #6b7280;
}

/* ---------------- CARDS (customers/events) ---------------- */

.tls-card {
    background-color: #ffffff;
    border-radius: 1rem;
    border: 1px solid #e5e7eb;
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.tls-card-hover {
    transition: transform 0.12s ease-out, box-shadow 0.12s ease-out, border-color 0.12s ease;
}

    .tls-card-hover:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
        border-color: #c7d2fe;
    }

/* Customer/Event logo */
.tls-customer-logo-wrapper {
    width: 110px;
    height: 110px;
    border-radius: 0.75rem;
    background-color: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.tls-customer-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.tls-customer-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.25rem;
}

.tls-customer-desc {
    font-size: 0.9rem;
    color: #6b7280;
}

/* Primary button style (shop) */
.btn-tls-primary {
    background-color: #111827;
    border-color: #111827;
    color: #ffffff;
    font-weight: 600;
    border-radius: 999px;
    padding: 0.45rem 0.75rem;
}

    .btn-tls-primary:hover {
        background-color: #020617;
        border-color: #020617;
    }

/* ---------------- SEAT MAP ---------------- */

.map-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    background-color: #ffffff;
    border-radius: 1.25rem;
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    overflow-x: auto;
}

/* legend under map */
.seat-legend {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    font-size: 0.9rem;
    color: #4b5563;
}

.legend-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    display: inline-block;
}

/* colors match map JS */
.legend-free {
    background-color: #44bb44;
}

.legend-reserved {
    background-color: #ff9900;
}

.legend-sold {
    background-color: #cc0000;
}

.legend-selected {
    background-color: #007bff;
}

/* ---------------- MODAL ---------------- */

.tls-modal {
    border-radius: 1rem;
    overflow: hidden;
}

    .tls-modal .modal-header {
        border-bottom: 1px solid #e5e7eb;
    }

    .tls-modal .modal-footer {
        border-top: 1px solid #e5e7eb;
    }

/* ---------------- FOOTER ---------------- */

.shop-footer {
    font-size: 0.85rem;
    color: #9ca3af;
    background-color: transparent;
}

/* ---------------- RESPONSIVE ---------------- */

@media (max-width: 768px) {
    .tls-hero-title {
        font-size: 1.4rem;
    }

    .map-wrapper {
        padding: 1rem;
        border-radius: 0.75rem;
    }

    .seat-legend {
        flex-wrap: wrap;
        gap: 1rem;
    }
}
/* ---------------- CART ICON ---------------- */
.tls-cart-link {
    color: #111827 !important;
    position: relative;
    padding-right: 0.75rem;
}

    .tls-cart-link:hover {
        color: #0046b8 !important;
    }

.tls-cart-icon {
    width: 24px;
    height: 24px;
    stroke: #111827;
}

.tls-cart-link:hover .tls-cart-icon {
    stroke: #0046b8;
}

/* BADGE next to cart icon */
.tls-cart-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    background: #0046b8;
    color: white;
    border-radius: 999px;
    padding: 2px 7px;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 0 0 2px #ffffff;
}

/* ---------------- TIMER ---------------- */

.tls-timer-pill {
    background: #fef3c7; /* pastel żółty */
    color: #92400e; /* brąz premium */
    border: 1px solid #fcd34d;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 4px 10px;
    border-radius: 8px;
    display: inline-flex;
}
.shop-navbar {
    background: #fff;
    padding: 12px 0;
    border-bottom: 1px solid #e5e5e5;
}

.shop-brand {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a65c6 !important;
}

.cart-icon {
    font-size: 22px;
    color: #333;
}

.timer-text {
    font-size: 18px;
    color: #d9534f;
    font-weight: 600;
    min-width: 70px;
    text-align: right;
    display: inline-block;
}
.tls-floating-checkout {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1200;
    border-radius: 999px;
    padding-inline: 24px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.18);
}
