/**
 * Events Styles - Primary Color: Yellow (#FFD700)
 */

:root {
    --tb-event-primary: #FFD700;
    --tb-event-primary-dark: #FFC700;
    --tb-event-primary-light: #FFED4E;
    --tb-event-text: #333333;
    --tb-event-text-light: #666666;
    --tb-event-border: #E0E0E0;
    --tb-event-bg: #FFFFFF;
    --tb-event-bg-gray: #F5F5F5;
}

/* ===========================
   Event Archive/List Styles
   =========================== */
   #perspective {
    overflow: unset !important;
}
.tb-events-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.tb-events-header {
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
}

.tb-events-banner-link {
    display: block;
    width: 100%;
    cursor: pointer;
    transition: opacity 0.3s ease;
}



.tb-events-banner {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 400px;
}

.tb-events-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--tb-event-text);
    margin-bottom: 16px;
}

.tb-events-content {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 50px;
    padding-top: 40px;
}
.tb-events-header img {
    border-radius: 12px;
    width: 100%;
    height: 100%;
}

/* Sidebar Filters */
.tb-events-sidebar {
    height: fit-content;
    position: sticky;
    top: 20px;
}

.tb-sidebar-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 20px 0;
    color: var(--tb-event-text);
}

.tb-filter-group {
    margin-bottom: 15px;
    padding-bottom: 15px;
    background: var(--tb-event-bg);
    border-radius: 12px;
    padding: 5px 20px;
}

.tb-filter-group:last-of-type {
    border-bottom: none;
}

.tb-filter-toggle {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    padding: 10px 0;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: var(--tb-event-text);
}

.tb-filter-toggle svg {
    transition: transform 0.3s ease;
}

.tb-filter-toggle.active svg {
    transform: rotate(180deg);
}

.tb-filter-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.tb-filter-content.tb-filter-active {
    max-height: 500px;
}

.tb-filter-option {
    display: flex;
    align-items: center;
    padding: 5px 0;
    cursor: pointer;
    font-size: 14px;
    color: var(--tb-event-text-light);
}

.tb-filter-option input[type="checkbox"],
.tb-filter-option input[type="radio"] {
    margin-right: 10px;
    cursor: pointer;
}

.tb-filter-option:hover {
    color: var(--tb-event-text);
}

.tb-date-range-inputs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
    padding-left: 25px;
}
.tb-filter-toggle:hover {
    color: #000;
}
.tb-date-range-inputs input[type="date"] {
    padding: 8px;
    border: 1px solid var(--tb-event-border);
    border-radius: 6px;
    font-size: 14px;
}

.tb-filter-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.tb-clear-filters,
.tb-apply-filters {
    flex: 1;
    padding: 10px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tb-clear-filters {
    background: transparent;
    border: 1px solid var(--tb-event-border);
    color: var(--tb-event-text);
}

.tb-clear-filters:hover {
    background: var(--tb-event-bg-gray);
}

.tb-apply-filters {
    background: var(--tb-event-primary);
    border: none;
    color: var(--tb-event-text);
}

.tb-apply-filters:hover {
    background: var(--tb-event-primary-dark);
}

.tb-browse-venues {
    margin-top: 20px;
    text-align: center;
}

.tb-browse-venues-btn {
    color: var(--tb-event-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
}

.tb-browse-venues-btn:hover {
    text-decoration: underline;
}



.tb-category-pills {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tb-category-pill {
    padding: 4px 15px;
    border-radius: 20px;
    background: var(--tb-event-bg);
    border: 1px solid var(--tb-event-border);
    color: var(--tb-event-text-light);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tb-category-pill:hover,
.tb-category-pill.tb-pill-active {
    background: var(--tb-event-primary);
    border-color: var(--tb-event-primary);
    color: var(--tb-event-text);
}

/* Events Grid */
.tb-events-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.tb-event-card {
    overflow: hidden;
    text-decoration: none;
    color: var(--tb-event-text);
    transition: all 0.3s ease;
}



.tb-event-image {
    position: relative;
    width: 100%;
    border-radius: 12px;
    height: calc(415.95px);
    max-height: calc(415.95px);
    overflow: hidden;
    background: var(--tb-event-bg-gray);
}

.tb-event-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tb-event-no-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--tb-event-primary-light) 0%, var(--tb-event-primary) 100%);
    color: var(--tb-event-text);
    font-size: 18px;
    font-weight: 600;
}

.tb-event-date-badge {
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgb(0 0 0 / 95%);
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    text-align: center;
}

.tb-event-content {
    padding: 15px 5px;
}

.tb-event-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 4px 0;
    color: #000;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tb-event-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 4px;
}

.tb-event-venue {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--tb-event-text-light);
}

.tb-event-venue svg {
    flex-shrink: 0;
}

.tb-event-category {
    display: flex;
    align-items: center;
}

.tb-category-badge {
    display: inline-block;
    padding: 0;
    border-radius: 4px;
    background: var(--tb-event-bg-gray);
    font-size: 12px;
    font-weight: 500;
    color: var(--tb-event-text-light);
}



.tb-event-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tb-price-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--tb-event-text);
}

.tb-availability {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 4px;
    background: #E8F5E9;
    color: #2E7D32;
    font-weight: 500;
}

.tb-availability.tb-sold-out {
    background: #FFEBEE;
    color: #C62828;
}

.tb-no-events {
    text-align: center;
    padding: 60px 20px;
    color: var(--tb-event-text-light);
}

/* ===========================
   Single Event Styles
   =========================== */

.tb-single-event-wrapper {
    margin: 0 auto;
    background: #fff;
    padding: 2rem 0;
}

.tb-event-main-layout {
    display: flex;
        max-width: 1200px;
        margin: 0 auto;
        gap: 40px;
        background: #fff;
}
.tb-event-hero {
    background: var(--tb-event-bg);
    padding: 0;
}

.tb-event-hero-container {
    display: flex;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Event Main Title */
.tb-event-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 15px;
}

.tb-event-main-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    color: var(--tb-event-text);
    line-height: 1.3;
    flex: 1;
}

.tb-event-share-btn {
    background: var(--tb-event-bg);
    border: 1px solid var(--tb-event-border);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    padding: 0;
}

.tb-event-share-btn:hover {
    background: var(--tb-event-primary);
    border-color: var(--tb-event-primary);
    transform: scale(1.05);
}

.tb-event-share-btn:hover svg {
    stroke: var(--tb-event-text);
}

.tb-event-share-btn svg {
    width: 20px;
    height: 20px;
    stroke: var(--tb-event-text-light);
    transition: stroke 0.3s ease;
}

/* Share Toast Notification */
.tb-share-toast-notification {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10000;
    transition: bottom 0.3s ease;
    min-width: 320px;
    border: 2px solid var(--tb-event-primary);
}

.tb-share-toast-notification.show {
    bottom: 30px;
}

.tb-toast-icon {
    background: var(--tb-event-primary);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tb-toast-icon svg {
    stroke: var(--tb-event-text);
    width: 18px;
    height: 18px;
}

.tb-toast-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.tb-toast-content strong {
    font-size: 15px;
    font-weight: 600;
    color: var(--tb-event-text);
}

.tb-toast-content span {
    font-size: 13px;
    color: var(--tb-event-text-light);
}

.tb-event-tags-top {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    margin-top: 1rem;
}
.tb-full-description p {
    padding: 0 !important;
}
.tb-event-tags-top .tb-event-tag {
    padding: 2px 14px;
    background: #444444;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 500;
    color: #ffffff;
}

/* Event Slider */
.tb-event-slider {
    height: fit-content;
    display: flex;
    background: var(--tb-event-bg-gray);
}

.tb-event-slide {
    width: 100%;
}

.tb-event-slide img {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    object-fit: cover;
}

.tb-slider-prev,
.tb-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
}

.tb-slider-prev:hover,
.tb-slider-next:hover {
    background: var(--tb-event-primary);
}

.tb-slider-prev {
    left: 20px;
}

.tb-slider-next {
    right: 20px;
}

.tb-slider-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.tb-slider-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.tb-slider-indicator.active,
.tb-slider-indicator:hover {
    background: var(--tb-event-primary);
    width: 24px;
    border-radius: 4px;
}

/* Event Sidebar Card */
.tb-event-sidebar-card {
    background: var(--tb-event-bg);
    border: 1px solid var(--tb-event-border);
    border-radius: 12px;
    padding: 24px;
    position: sticky;
    top: 120px;
    height: fit-content;
}

.tb-event-sidebar-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tb-event-detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--tb-event-text);
}

.tb-event-detail-item svg {
    flex-shrink: 0;
    color: var(--tb-event-text-light);
}

.tb-venue-info {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.tb-venue-name {
    flex: 1;
}

.tb-view-map {
    color: var(--tb-event-primary);
    display: flex;
    align-items: center;
}

.tb-view-map:hover {
    color: var(--tb-event-primary-dark);
}

.tb-view-other-venues {
    text-align: center;
    color: var(--tb-event-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 0;
    display: block;
}

.tb-view-other-venues:hover {
    text-decoration: underline;
}

.tb-event-booking {
    border-top: 1px solid var(--tb-event-border);
    padding-top: 16px;
    margin-top: 8px;
    display: flex;
        gap: 30px;
        justify-content: space-between;

}

.tb-event-price-box {
    display: flex;
    flex-direction: column;
}

.tb-price-label {
    font-size: 15px;
    font-weight: 500;
    color: var(--tb-event-text);
}

.tb-availability-status {
    font-size: 14px;
    border-radius: 4px;
    color: #2E7D32;
    font-weight: 600;
}

.tb-availability-status.tb-unavailable {
    background: #FFEBEE;
    color: #C62828;
}

.tb-book-now-btn {
    width: auto;
    padding: 10px 20px;
    background: var(--tb-event-primary);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    color: var(--tb-event-text);
    cursor: pointer;
    transition: all 0.3s ease;
}



.tb-book-now-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.tb-event-interest {
    border-top: 1px solid var(--tb-event-border);
    padding-top: 16px;
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.tb-event-interest svg {
    color: var(--tb-event-text-light);
    flex-shrink: 0;
}

.tb-event-interest span {
    font-size: 13px;
    color: var(--tb-event-text-light);
    flex: 1;
}

.tb-interested-btn {
    background: transparent;
    border: 1px solid var(--tb-event-primary);
    color: var(--tb-event-primary);
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tb-interested-btn:hover {
    background: var(--tb-event-primary);
    color: var(--tb-event-text);
}

/* Event Content Area */
.tb-event-content-wrapper {
    background: var(--tb-event-bg);
    padding: 0;
}

.tb-event-content-container {
    max-width: 1200px;
    margin: 0;
}
.tb-event-right-wrapper {
    width: 42%;
}
.tb-event-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.tb-event-tag {
    padding: 6px 16px;
    background: var(--tb-event-bg-gray);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--tb-event-text-light);
}

.tb-event-section {
    margin-bottom: 40px;
}

.tb-section-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 20px 0;
    color: var(--tb-event-text);
}

.tb-section-subtitle {
    font-size: 14px;
    color: var(--tb-event-text-light);
    margin: -10px 0 20px 0;
}

.tb-event-description {
    font-size: 16px;
    line-height: 1.8;
    color: var(--tb-event-text);
}

.tb-event-description p {
    margin-bottom: 20px;
}

.tb-event-description p:last-child {
    margin-bottom: 0;
}

.tb-description-text {
    margin-bottom: 16px;
}

.tb-description-text p {
    margin-bottom: 20px;
}

.tb-description-text p:last-child {
    margin-bottom: 0;
}

.tb-short-description p,
.tb-full-description p {
    margin-bottom: 20px;
}

.tb-short-description p:last-child,
.tb-full-description p:last-child {
    margin-bottom: 0;
}

.tb-read-more-btn {
    background: none;
    border: none;
    color: var(--tb-event-primary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    margin-top: 10px;
    text-decoration: underline;
}

.tb-read-more-btn:hover {
    color: var(--tb-event-primary-dark);
}

/* Artists */
.tb-artists-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 24px;
}

.tb-artist-card {
    text-align: center;
}

.tb-artist-image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 8px;
}
.tb-artist-card {
    border: 1px solid #eaeaea;
    border-radius: 10px;
    padding: 8px;
}
.tb-artist-no-image {
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--tb-event-primary-light);
    border-radius: 12px;
    font-size: 48px;
    font-weight: 700;
    color: var(--tb-event-text);
    margin-bottom: 12px;
}

.tb-artist-name {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 4px 0;
    color: var(--tb-event-text);
}

.tb-artist-role {
    font-size: 14px;
    color: var(--tb-event-text-light);
    margin: 0;
    padding: 0;
}



.tb-terms-modal-content {
    max-width: 600px;
}

.tb-terms-list {
    max-height: 400px;
    overflow-y: auto;
}

.tb-terms-list ol {
    padding-left: 20px;
    margin: 0;
}
.tb-form-group input, .tb-form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 16px;
}

.tb-terms-list ol li {
    margin-bottom: 16px;
    line-height: 1.6;
    font-size: 14px;
    color: var(--tb-event-text);
}

/* Related Events */
.tb-you-may-like-section {
    position: relative;
}

.tb-related-events-slider-wrapper {
    position: relative;
    overflow: hidden;
}

.tb-related-events-slider {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.tb-related-events-slider::-webkit-scrollbar {
    display: none;
}

.tb-related-events-slider .tb-related-event-card {
    flex: 0 0 calc(25% - 18px);
    min-width: 250px;
}

.tb-related-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
    position: relative;
}

.tb-related-event-card {
    background: var(--tb-event-bg);
    border: 1px solid var(--tb-event-border);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: var(--tb-event-text);
    transition: all 0.3s ease;
}

.tb-related-event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.tb-related-event-image {
    position: relative;
    width: 100%;
    padding-top: 66.67%;
    overflow: hidden;
    background: var(--tb-event-bg-gray);
}

.tb-related-event-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tb-related-event-content {
    padding: 16px;
}

.tb-related-event-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: var(--tb-event-text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tb-related-event-venue {
    font-size: 14px;
    color: var(--tb-event-text-light);
    margin-bottom: 12px;
}

.tb-related-event-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid var(--tb-event-border);
}

.tb-related-event-price {
    font-size: 14px;
    font-weight: 600;
    color: var(--tb-event-text);
}

.tb-related-event-category {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 4px;
    background: var(--tb-event-bg-gray);
    color: var(--tb-event-text-light);
}

/* Event Checkout Page */
.tb-event-checkout-wrapper {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.tb-checkout-header {
    text-align: center;
    margin-bottom: 40px;
}

.tb-checkout-header h1 {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: var(--tb-event-text);
}

.tb-checkout-subtitle {
    font-size: 16px;
    color: var(--tb-event-text-light);
    margin: 0;
}

.tb-checkout-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
}

.tb-checkout-form-section {
    min-height: 300px;
}

.tb-checkout-form {
    background: var(--tb-event-bg);
    border: 1px solid var(--tb-event-border);
    border-radius: 12px;
    padding: 30px;
}

/* Login Required Card */
.tb-info-card {
    background: var(--tb-event-bg);
    border: 1px solid var(--tb-event-border);
    border-radius: 12px;
    padding: 40px;
}

.tb-login-required-card {
    text-align: center;
    padding: 60px 40px;
}

.tb-login-icon {
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tb-login-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 16px 0;
    color: var(--tb-event-text);
}

.tb-login-message {
    font-size: 16px;
    color: var(--tb-event-text-light);
    line-height: 1.6;
    margin: 0 0 32px 0;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.tb-login-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.tb-login-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 40px;
    background: var(--tb-event-primary);
    color: var(--tb-event-text);
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 200px;
}

.tb-login-button:hover {
    background: var(--tb-event-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.tb-login-note {
    font-size: 14px;
    color: var(--tb-event-text-light);
    margin: 0;
}

.tb-register-link {
    font-size: 14px;
    color: var(--tb-event-text-light);
    margin: 0;
    text-align: center;
}

.tb-register-link a {
    color: var(--tb-event-primary);
    text-decoration: none;
    font-weight: 600;
}

.tb-register-link a:hover {
    text-decoration: underline;
}

.tb-error-message {
    background: #FFEBEE;
    border: 1px solid #EF5350;
    border-radius: 8px;
    padding: 12px 16px;
    color: #C62828;
    font-size: 14px;
    line-height: 1.6;
}

.tb-error-message p {
    margin: 0;
}

.tb-form-section {
    margin-bottom: 30px;
}

.tb-form-section-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 20px 0;
    color: var(--tb-event-text);
}

.tb-form-row {
    margin-bottom: 20px;
}

.tb-form-row-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.tb-form-group {
    margin-bottom: 20px;
}

.tb-form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--tb-event-text);
}

.tb-form-group label .required {
    color: #C62828;
}

.tb-form-group input,
.tb-form-group select,
.tb-form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--tb-event-border);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.tb-form-group input:focus,
.tb-form-group select:focus,
.tb-form-group textarea:focus {
    outline: none;
    border-color: var(--tb-event-primary);
}

.tb-field-note {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: var(--tb-event-text-light);
}

.tb-ticket-selector {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: var(--tb-event-bg-gray);
    border-radius: 8px;
}

.tb-ticket-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tb-ticket-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--tb-event-text);
}

.tb-ticket-available {
    font-size: 12px;
    color: var(--tb-event-text-light);
}

.tb-ticket-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tb-qty-btn {
    width: 32px;
    height: 32px;
    border: 1px solid var(--tb-event-border);
    background: var(--tb-event-bg);
    border-radius: 6px;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.tb-qty-btn:hover {
    background: var(--tb-event-primary);
    border-color: var(--tb-event-primary);
}

.tb-ticket-quantity input {
    width: 60px;
    text-align: center;
    border: 1px solid var(--tb-event-border);
    padding: 8px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
}

/* Multiple Ticket Types Styling */
.tb-ticket-types-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.tb-ticket-type-selector {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: var(--tb-event-bg);
    border: 1px solid var(--tb-event-border);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.tb-ticket-type-selector:hover {
    border-color: var(--tb-event-primary);
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.1);
}

.tb-ticket-type-info {
    flex: 1;
}

.tb-ticket-type-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.tb-ticket-type-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    color: var(--tb-event-text);
}

.tb-ticket-type-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--tb-event-text);
}

.tb-ticket-type-limit {
    font-size: 12px;
    color: var(--tb-event-text-light);
    margin: 0;
}

.tb-ticket-type-quantity {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 20px;
}

.tb-ticket-qty-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--tb-event-bg-gray);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0;
}

.tb-ticket-qty-btn:hover {
    background: var(--tb-event-primary);
}

.tb-ticket-qty-btn:hover svg {
    stroke: var(--tb-event-text);
}

.tb-ticket-qty-btn svg {
    stroke: var(--tb-event-text-light);
    transition: stroke 0.3s ease;
}

.tb-ticket-type-input {
    width: 50px;
    text-align: center;
    border: none;
    background: transparent;
    font-size: 18px;
    font-weight: 600;
    color: var(--tb-event-text);
    padding: 0;
}

.tb-no-tickets-selected {
    text-align: center;
    color: var(--tb-event-text-light);
    font-size: 14px;
    margin: 0;
    padding: 10px 0;
}

.tb-ticket-summary-row {
    padding: 8px 0;
    font-size: 14px;
}

.tb-ticket-summary-row:first-child {
    padding-top: 0;
}

.tb-proceed-payment-btn {
    width: 100%;
    padding: 16px;
    background: var(--tb-event-primary);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    color: var(--tb-event-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.tb-proceed-payment-btn:hover {
    background: var(--tb-event-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.tb-proceed-payment-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.tb-proceed-payment-btn:disabled:hover {
    background: var(--tb-event-primary);
    transform: none;
    box-shadow: none;
}

.tb-checkout-summary-section {
    position: sticky;
    top: 20px;
    height: fit-content;
}

.tb-summary-card {
    background: var(--tb-event-bg);
    border: 1px solid var(--tb-event-border);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
}

.tb-summary-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 20px 0;
    color: var(--tb-event-text);
}

.tb-summary-event {
    display: flex;
    gap: 15px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--tb-event-border);
}

.tb-summary-event-image {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
}

.tb-summary-event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tb-summary-event-details {
    flex: 1;
}

.tb-summary-event-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 10px 0;
    color: var(--tb-event-text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tb-summary-event-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tb-summary-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--tb-event-text-light);
}

.tb-summary-meta-item svg {
    flex-shrink: 0;
}

.tb-summary-breakdown {
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--tb-event-border);
}

.tb-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 14px;
    color: var(--tb-event-text);
}

.tb-summary-total {
    border-top: 2px solid var(--tb-event-border);
    padding-top: 15px;
    margin-top: 10px;
    font-size: 16px;
    font-weight: 700;
}

.tb-total-price {
    font-size: 20px;
    color: var(--tb-event-primary);
}

.tb-secure-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: #E8F5E9;
    border-radius: 8px;
    font-size: 13px;
    color: #2E7D32;
    font-weight: 500;
}

.tb-policy-card {
    background: var(--tb-event-bg);
    border: 1px solid var(--tb-event-border);
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
}

.tb-policy-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 10px 0;
    color: var(--tb-event-text);
}

.tb-policy-text {
    font-size: 14px;
    color: var(--tb-event-text-light);
    margin: 0;
    line-height: 1.6;
}

.tb-related-slider-nav {
    position: relative;
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.tb-related-slider-prev,
.tb-related-slider-next {
    background: var(--tb-event-bg);
    border: 1px solid var(--tb-event-border);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.tb-related-slider-prev:hover,
.tb-related-slider-next:hover {
    background: var(--tb-event-primary);
    border-color: var(--tb-event-primary);
}

/* ===========================
   Booking Modal
   =========================== */

.tb-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tb-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.tb-modal-content {
    position: relative;
    background: var(--tb-event-bg);
    border-radius: 12px;
    padding: 32px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 10;
}

.tb-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--tb-event-text-light);
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tb-modal-close:hover {
    color: var(--tb-event-text);
}

.tb-modal-content h2 {
    margin: 0 0 24px 0;
    font-size: 24px;
    font-weight: 700;
    color: var(--tb-event-text);
}

.tb-form-group {
    margin-bottom: 20px;
}

.tb-form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--tb-event-text);
}

.tb-form-group input,
.tb-form-group select,
.tb-form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--tb-event-border);
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.tb-form-group input:focus,
.tb-form-group select:focus,
.tb-form-group textarea:focus {
    outline: none;
    border-color: var(--tb-event-primary);
}

.tb-booking-summary {
    background: var(--tb-event-bg-gray);
    padding: 16px;
    border-radius: 8px;
    margin: 20px 0;
}

.tb-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
    color: var(--tb-event-text);
}

.tb-summary-row.tb-total {
    border-top: 2px solid var(--tb-event-border);
    padding-top: 12px;
    margin-top: 8px;
    font-size: 16px;
    font-weight: 700;
}

.tb-submit-booking-btn {
    width: 100%;
    padding: 14px;
    background: var(--tb-event-primary);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    color: var(--tb-event-text);
    cursor: pointer;
    transition: all 0.3s ease;
}

.tb-submit-booking-btn:hover {
    background: var(--tb-event-primary-dark);
}

/* ===========================
   Responsive Styles
   =========================== */

@media (max-width: 1024px) {

    .tb-event-main-layout {

    flex-direction: column;
    }
    .tb-single-event-wrapper {
        background: #f5f5f5;
        padding: 1rem 0;
    }
    .tb-event-main-layout {
        background: none;
    }.tb-event-hero {
        padding-left: 1rem;
        padding-right: 1rem;
        padding-top: 1rem;
        margin-bottom: 18px;
    }.tb-event-content-wrapper {
        background: none !important;
    }.tb-event-content-wrapper .tb-event-section {
        background: #fff;
        padding: 1rem;
        margin-bottom: 18px;
    }h2.tb-section-title.tb-terms-open-btn {
        margin: 0;
    }.tb-section-title {
        font-size: 18px;
    }
    .tb-events-content {
        grid-template-columns: 250px 1fr;
        gap: 20px;
    }.tb-event-right-wrapper {
        width: 100%;
    }    .tb-event-sidebar-card {
        border-radius: 0;
        border: none;
    }.tb-event-main-layout {
        gap: 0px;
    }.tb-event-sidebar-card .tb-event-booking {
        position: fixed;
        bottom: 0;
        left: 0;
        background: #fff;
        width: calc(100% - 2rem);
        z-index: 999999999999;
        padding: 10px 1rem;
    }.tb-event-image {
        height: calc(285.95px);
        max-height: calc(285.95px);
    }
    
    .tb-event-hero-container {
        grid-template-columns: 1fr 350px;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .tb-events-content {
        grid-template-columns: 1fr;
    }
    
    .tb-form-row-two {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .tb-events-sidebar {
        position: static;
    }
    
    .tb-event-hero-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .tb-event-main-title {
        font-size: 22px;
    }
    
    .tb-event-share-btn {
        width: 36px;
        height: 36px;
    }
    
    .tb-event-share-btn svg {
        width: 18px;
        height: 18px;
    }
    
    .tb-share-toast-notification {
        min-width: 280px;
        padding: 14px 20px;
        bottom: -100px;
    }
    
    .tb-share-toast-notification.show {
        bottom: 20px;
    }
    
    .tb-toast-content strong {
        font-size: 14px;
    }
    
    .tb-toast-content span {
        font-size: 12px;
    }
    
  
    
    .tb-events-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .tb-artists-list {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
    
    .tb-related-events-grid {
        grid-template-columns: 1fr;
    }
    
    .tb-related-events-slider .tb-related-event-card {
        flex: 0 0 calc(50% - 12px);
    }
    
    .tb-checkout-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-bottom: 80px;
    }
    
    .tb-checkout-summary-section {
        position: static;
    }
    
    .tb-summary-card {
        position: static;
    }
    
    .tb-proceed-payment-btn {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        margin: 0;
        border-radius: 0;
        z-index: 999;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    }
}

@media (max-width: 480px) {
    .tb-events-title {
        font-size: 24px;
    }
    
    .tb-modal-content {
        padding: 24px;
    }
    
    .tb-ticket-type-selector {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .tb-ticket-type-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .tb-ticket-type-quantity {
        margin-left: 0;
        width: 100%;
        justify-content: center;
    }
}

