/* ============================================
   FOREST GREEN & BRONZE THEME
   British Country Estate - Modern Soft Edition
   Lato Font + Rounded Corners
   ============================================ */

/* Import Lato Font */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;900&display=swap');

/* TicketFinder WordPress Styles */
.ticketfinder-app {
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #1e3a2e 0%, #2d4d3e 100%);
    min-height: 100vh;
    padding: 20px;
    margin: -20px -20px 0 -20px;
}

.tf-container {
    max-width: 1400px;
    margin: 0 auto;
}

.tf-header {
    background: linear-gradient(135deg, #f7f6f2 0%, #ebe9e3 100%);
    padding: 25px 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 3px solid #b8935e;
}

.tf-logo {
    font-size: 32px;
    font-weight: 900;
    letter-spacing: 2px;
    color: #1e3a2e;
    font-family: 'Lato', sans-serif;
}

.tf-logo-accent {
    color: #b8935e;
}

.tf-tagline {
    color: #3a4238;
    font-size: 13px;
    font-style: italic;
    letter-spacing: 1px;
    font-weight: 300;
}

.tf-search-container {
    background: linear-gradient(135deg, #f7f6f2 0%, #ebe9e3 100%);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    margin-bottom: 30px;
    border-top: 3px solid #b8935e;
}

.tf-search-box {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.tf-search-input-wrapper {
    flex: 1;
    display: block;
    position: relative;
}

.tf-search-input {
    display: block;
    width: 100%;
    padding: 16px 24px;
    border: 2px solid #d4d9d0;
    border-radius: 12px;
    font-size: 15px;
    font-family: 'Lato', sans-serif;
    transition: all 0.3s;
    background: #fafbfa;
    outline: none;
    resize: none;
    overflow: hidden;
    line-height: 1.5;
    min-height: 54px;
}

.tf-search-input::placeholder {
    color: #8d9298;
    font-weight: 300;
}

.tf-search-input:focus {
    border-color: #b8935e;
    background: white;
    box-shadow: 0 0 0 3px rgba(184, 147, 94, 0.1);
}

.tf-search-btn {
    padding: 16px 50px;
    background: linear-gradient(135deg, #1e3a2e 0%, #2d4d3e 100%);
    color: #f7f6f2;
    border: 1px solid #b8935e;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Lato', sans-serif;
    text-transform: uppercase;
}

.tf-search-btn:hover {
    background: linear-gradient(135deg, #2d4d3e 0%, #1e3a2e 100%);
    box-shadow: 0 4px 15px rgba(30, 58, 46, 0.4);
}

.tf-search-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.tf-filters {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.tf-filter-btn {
    padding: 10px 24px;
    background: #fafbfa;
    border: 1.5px solid #d4d9d0;
    border-radius: 24px;
    cursor: pointer;
    font-size: 13px;
    font-family: 'Lato', sans-serif;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    color: #3a4238;
}

.tf-filter-btn:hover,
.tf-filter-btn.tf-active {
    background: #1e3a2e;
    color: #f7f6f2;
    border-color: #b8935e;
}

.tf-hidden {
    display: none !important;
}

.tf-loading {
    text-align: center;
    padding: 60px 20px;
    color: #1e3a2e;
    font-size: 18px;
    font-weight: 400;
}

.tf-loading::after {
    content: '...';
    animation: tf-dots 1.5s steps(4, end) infinite;
}

@keyframes tf-dots {
    0%, 20% { content: '.'; }
    40% { content: '..'; }
    60%, 100% { content: '...'; }
}

.tf-error-message {
    background: #fef2f2;
    border: 2px solid #ef4444;
    color: #7f1d1d;
    padding: 20px;
    border-radius: 12px;
    margin: 20px 0;
    text-align: center;
    font-family: 'Lato', sans-serif;
}

.tf-results-section {
    display: block;
}

.tf-results-header {
    background: linear-gradient(135deg, #f7f6f2 0%, #ebe9e3 100%);
    padding: 20px 35px;
    border-radius: 16px 16px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-top: 3px solid #b8935e;
}

.tf-results-count {
    font-size: 16px;
    font-weight: 700;
    color: #1e3a2e;
    letter-spacing: 0.5px;
}

.tf-results-container {
    background: linear-gradient(135deg, #f7f6f2 0%, #ebe9e3 100%);
    border-radius: 0 0 16px 16px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    min-height: 200px;
}

.tf-ticket-card {
    background: #fafbfa;
    border: 2px solid #e8ede9;
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 25px;
    transition: all 0.3s;
}

.tf-ticket-card:hover {
    border-color: #b8935e;
    box-shadow: 0 6px 25px rgba(184, 147, 94, 0.15);
    transform: translateY(-3px);
}

.tf-ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e8ede9;
}

.tf-event-info h3 {
    font-size: 24px;
    color: #1e3a2e;
    margin-bottom: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    font-family: 'Lato', sans-serif;
}

.tf-event-details {
    color: #3a4238;
    font-size: 14px;
    font-style: normal;
    line-height: 1.6;
    font-weight: 400;
}

.tf-event-details div {
    margin-bottom: 4px;
}

.tf-event-image {
    width: 100%;
    max-width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid #e8ede9;
    margin-bottom: 20px;
}

.tf-price-info {
    background: white;
    border: 2px solid #e8ede9;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
}

.tf-price-label {
    font-size: 12px;
    color: #3a4238;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    font-weight: 700;
}

.tf-price {
    font-size: 32px;
    font-weight: 900;
    color: #1e3a2e;
    font-family: 'Lato', sans-serif;
}

.tf-price-range {
    font-size: 18px;
    color: #3a4238;
    margin-top: 5px;
    font-weight: 400;
}

.tf-platform-badge {
    display: inline-block;
    background: linear-gradient(135deg, #1e3a2e 0%, #2d4d3e 100%);
    color: #b8935e;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.tf-view-seats-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #1e3a2e 0%, #2d4d3e 100%);
    color: #f7f6f2;
    border: 1px solid #b8935e;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 18px;
    transition: all 0.3s;
    font-family: 'Lato', sans-serif;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.tf-view-seats-btn:hover {
    background: linear-gradient(135deg, #2d4d3e 0%, #1e3a2e 100%);
    box-shadow: 0 4px 15px rgba(30, 58, 46, 0.3);
}

.tf-buy-tickets-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #b8935e 0%, #c9a66f 100%);
    color: #1e3a2e;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Lato', sans-serif;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 10px;
}

.tf-buy-tickets-btn:hover {
    background: linear-gradient(135deg, #c9a66f 0%, #dab780 100%);
    box-shadow: 0 4px 15px rgba(184, 147, 94, 0.4);
}

.tf-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 58, 46, 0.85);
    z-index: 999999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.tf-modal.tf-active {
    display: flex;
}

.tf-modal-content {
    background: linear-gradient(135deg, #f7f6f2 0%, #ebe9e3 100%);
    border-radius: 20px;
    max-width: 1200px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    border: 3px solid #b8935e;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.tf-modal-header {
    padding: 28px 35px;
    border-bottom: 2px solid #e8ede9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    border-radius: 20px 20px 0 0;
}

.tf-modal-title {
    font-size: 26px;
    font-weight: 700;
    color: #1e3a2e;
    letter-spacing: 1px;
    font-family: 'Lato', sans-serif;
}

.tf-close-btn {
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: #8d9298;
    transition: color 0.3s;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tf-close-btn:hover {
    color: #b8935e;
}

.tf-modal-body {
    padding: 35px;
}

.tf-seatmap-container {
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
}

.tf-seatmap-image {
    max-width: 100%;
    height: auto;
    border: 2px solid #e8ede9;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.tf-seatmap-info {
    background: #fafbfa;
    border: 2px solid #e8ede9;
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
    text-align: left;
}

.tf-seatmap-info h4 {
    color: #1e3a2e;
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 700;
    font-family: 'Lato', sans-serif;
}

.tf-seatmap-info p {
    color: #3a4238;
    line-height: 1.6;
    font-weight: 400;
}

.tf-no-seatmap {
    text-align: center;
    padding: 60px 20px;
    color: #3a4238;
    font-style: italic;
    font-weight: 300;
}

@media (max-width: 768px) {
    .ticketfinder-app {
        margin: 0;
        padding: 10px;
    }

    .tf-search-box {
        flex-direction: column;
    }
    
    .tf-ticket-header {
        flex-direction: column;
        gap: 15px;
    }

    .tf-event-image {
        max-width: 100%;
    }

    .tf-search-btn {
        padding: 16px 20px;
    }
}

/* ============================================
   VENUE PAGE STYLES
   ============================================ */

.ticketfinder-venue-page {
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #1e3a2e 0%, #2d4d3e 100%);
    min-height: 100vh;
    padding: 20px;
}

.tf-venue-container {
    max-width: 1600px;
    margin: 0 auto;
}

.tf-venue-header {
    background: linear-gradient(135deg, #f7f6f2 0%, #ebe9e3 100%);
    padding: 20px 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    margin-bottom: 30px;
    border-top: 3px solid #b8935e;
    display: flex;
    align-items: center;
    gap: 20px;
}

.tf-back-btn {
    padding: 10px 20px;
    background: #1e3a2e;
    color: #b8935e;
    border: 1px solid #b8935e;
    border-radius: 24px;
    cursor: pointer;
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.tf-back-btn:hover {
    background: #2d4d3e;
    transform: translateX(-3px);
}

.tf-venue-title {
    font-size: 28px;
    font-weight: 900;
    color: #1e3a2e;
    letter-spacing: 1px;
    font-family: 'Lato', sans-serif;
}

.tf-event-card {
    background: linear-gradient(135deg, #f7f6f2 0%, #ebe9e3 100%);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    margin-bottom: 30px;
    border-top: 3px solid #b8935e;
}

.tf-event-card h2 {
    font-size: 32px;
    color: #1e3a2e;
    margin-bottom: 15px;
    font-weight: 700;
    font-family: 'Lato', sans-serif;
}

.tf-event-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.tf-meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #3a4238;
    font-size: 16px;
    font-weight: 400;
}

.tf-meta-item strong {
    color: #1e3a2e;
    font-weight: 700;
}

.tf-venue-map-section {
    background: linear-gradient(135deg, #f7f6f2 0%, #ebe9e3 100%);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    border-top: 3px solid #b8935e;
    margin-bottom: 30px;
}

.tf-section-title {
    font-size: 28px;
    color: #1e3a2e;
    margin-bottom: 15px;
    text-align: center;
    letter-spacing: 1px;
    font-weight: 700;
    font-family: 'Lato', sans-serif;
}

.tf-instructions {
    text-align: center;
    color: #3a4238;
    font-size: 16px;
    font-style: normal;
    margin-bottom: 30px;
    padding: 15px;
    background: #fafbfa;
    border-radius: 12px;
    border: 1px solid #e8ede9;
    font-weight: 300;
}

.tf-interactive-map-container {
    max-width: 1200px;
    margin: 0 auto;
}

.tf-seat-map-wrapper {
    position: relative;
    width: 100%;
    display: inline-block;
    background: #f5f7f6;
    border: 3px solid #e8ede9;
    border-radius: 16px;
    overflow: hidden;
}

.tf-seat-map-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Interactive Section Hotspots */
.tf-section-hotspot {
    position: absolute;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
    background: rgba(184, 147, 94, 0.15);
    border-radius: 8px;
}

.tf-section-hotspot:hover {
    background: rgba(184, 147, 94, 0.4);
    border-color: #b8935e;
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(184, 147, 94, 0.5);
    z-index: 10;
}

.tf-section-hotspot.available {
    background: rgba(30, 58, 46, 0.15);
}

.tf-section-hotspot.available:hover {
    background: rgba(30, 58, 46, 0.3);
    border-color: #1e3a2e;
}

.tf-section-hotspot.limited {
    background: rgba(184, 147, 94, 0.2);
}

.tf-section-hotspot.limited:hover {
    background: rgba(184, 147, 94, 0.4);
}

.tf-section-hotspot.sold-out {
    background: rgba(200, 200, 200, 0.3);
    cursor: not-allowed;
    opacity: 0.5;
}

.tf-section-hotspot.sold-out:hover {
    transform: none;
    border-color: transparent;
}

.tf-hotspot-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.95);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #1e3a2e;
    white-space: nowrap;
    pointer-events: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    font-family: 'Lato', sans-serif;
}

.tf-hotspot-price {
    display: block;
    font-size: 11px;
    color: #3a4238;
    margin-top: 2px;
    font-weight: 600;
}

/* Section Panel */
.tf-section-panel {
    position: fixed;
    right: 0;
    top: 0;
    width: 500px;
    height: 100vh;
    background: white;
    box-shadow: -4px 0 20px rgba(0,0,0,0.3);
    z-index: 10000;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    border-radius: 0;
}

.tf-section-panel.tf-active {
    transform: translateX(0);
}

.tf-section-panel-header {
    background: linear-gradient(135deg, #1e3a2e 0%, #2d4d3e 100%);
    color: #b8935e;
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid #b8935e;
    position: sticky;
    top: 0;
    z-index: 10;
}

.tf-section-panel-header h3 {
    margin: 0;
    font-size: 24px;
    letter-spacing: 1px;
    font-weight: 700;
    font-family: 'Lato', sans-serif;
}

.tf-close-panel {
    background: none;
    border: none;
    color: #b8935e;
    font-size: 32px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.tf-close-panel:hover {
    transform: rotate(90deg);
    color: #c9a66f;
}

.tf-section-content {
    padding: 30px;
}

.tf-section-info-card {
    background: linear-gradient(135deg, #fafbfa 0%, #ffffff 100%);
    border: 2px solid #e8ede9;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
}

.tf-section-info-card h4 {
    color: #1e3a2e;
    font-size: 18px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-family: 'Lato', sans-serif;
}

.tf-section-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.tf-stat-item {
    background: white;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #e8ede9;
}

.tf-stat-label {
    font-size: 11px;
    color: #8d9298;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
    font-weight: 700;
}

.tf-stat-value {
    font-size: 20px;
    font-weight: 900;
    color: #1e3a2e;
    font-family: 'Lato', sans-serif;
}

.tf-ticket-listing {
    background: #fafbfa;
    border: 2px solid #e8ede9;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    transition: all 0.3s;
}

.tf-ticket-listing:hover {
    border-color: #b8935e;
    box-shadow: 0 4px 15px rgba(184, 147, 94, 0.15);
    transform: translateY(-2px);
}

.tf-ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e8ede9;
}

.tf-seat-info {
    font-size: 16px;
    color: #1e3a2e;
    font-weight: 700;
}

.tf-ticket-price-box {
    text-align: right;
}

.tf-ticket-price {
    font-size: 28px;
    font-weight: 900;
    color: #1e3a2e;
    font-family: 'Lato', sans-serif;
}

.tf-price-per-ticket {
    font-size: 12px;
    color: #3a4238;
    font-weight: 400;
}

.tf-ticket-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 15px;
    padding: 15px;
    background: white;
    border-radius: 8px;
}

.tf-detail-item {
    text-align: center;
}

.tf-detail-label {
    font-size: 11px;
    color: #8d9298;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
    font-weight: 700;
}

.tf-detail-value {
    font-size: 16px;
    color: #1e3a2e;
    font-weight: 700;
}

.tf-buy-now-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #b8935e 0%, #c9a66f 100%);
    color: #1e3a2e;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Lato', sans-serif;
    font-size: 15px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.3s;
}

.tf-buy-now-btn:hover {
    background: linear-gradient(135deg, #c9a66f 0%, #dab780 100%);
    box-shadow: 0 6px 20px rgba(184, 147, 94, 0.4);
    transform: translateY(-2px);
}

.tf-venue-loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 58, 46, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.tf-venue-loading.tf-hidden {
    display: none;
}

.tf-loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(184, 147, 94, 0.2);
    border-top-color: #b8935e;
    border-radius: 50%;
    animation: tf-spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes tf-spin {
    to { transform: rotate(360deg); }
}

.tf-venue-loading p {
    color: #b8935e;
    font-size: 18px;
    letter-spacing: 1px;
    font-weight: 400;
    font-family: 'Lato', sans-serif;
}

.tf-no-tickets {
    text-align: center;
    padding: 40px;
    color: #3a4238;
    font-style: italic;
    font-weight: 300;
}

.tf-legend {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
    padding: 15px;
    background: #fafbfa;
    border-radius: 12px;
    flex-wrap: wrap;
}

.tf-legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #3a4238;
    font-weight: 600;
}

.tf-legend-box {
    width: 24px;
    height: 24px;
    border: 2px solid;
    border-radius: 6px;
}

.tf-legend-box.available {
    background: rgba(30, 58, 46, 0.15);
    border-color: #1e3a2e;
}

.tf-legend-box.limited {
    background: rgba(184, 147, 94, 0.2);
    border-color: #b8935e;
}

.tf-legend-box.sold-out {
    background: rgba(200, 200, 200, 0.3);
    border-color: #c9d5cc;
}

@media (max-width: 768px) {
    .tf-section-panel {
        width: 100%;
    }

    .tf-ticket-details {
        grid-template-columns: 1fr;
    }

    .tf-section-stats {
        grid-template-columns: 1fr;
    }
}