/**
 * TNB Core Styles
 * Styles pour le plugin TNB Core
 *
 * @package TNB_Core
 * @since 1.0.0
 */

/* ==========================================================================
   Variables
   ========================================================================== */
:root {
    /* Couleurs du site - Bleu nuit et Doré */
    --tnb-primary: #0B1A33;
    --tnb-primary-light: #142744;
    --tnb-secondary: #b79347;
    --tnb-secondary-light: #c9a45a;
    --tnb-text: #333333;
    --tnb-text-light: #666666;
    --tnb-text-muted: #999999;
    --tnb-border: #e5e5e5;
    --tnb-bg: #f8f9fa;
    --tnb-white: #ffffff;
    --tnb-success: #22c55e;
    --tnb-error: #ef4444;
    --tnb-warning: #f59e0b;
    --tnb-radius: 8px;
    --tnb-radius-lg: 12px;
    --tnb-radius-btn: 30px;
    --tnb-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    --tnb-shadow-lg: 0 4px 12px rgba(0, 0, 0, 0.15);
    --tnb-transition: 0.2s ease;
}

/* ==========================================================================
   Base
   ========================================================================== */
.tnb-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.tnb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 20px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--tnb-radius-btn);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--tnb-transition);
}

.tnb-btn-primary {
    background: var(--tnb-primary);
    color: var(--tnb-white);
    border-color: var(--tnb-primary);
}

.tnb-btn-primary:hover {
    background: var(--tnb-secondary);
    border-color: var(--tnb-secondary);
    color: var(--tnb-white);
}

.tnb-btn-secondary {
    background: var(--tnb-secondary);
    color: var(--tnb-white);
    border-color: var(--tnb-secondary);
}

.tnb-btn-secondary:hover {
    background: var(--tnb-primary);
    border-color: var(--tnb-primary);
    color: var(--tnb-white);
}

.tnb-btn-link {
    background: transparent;
    color: var(--tnb-text-light);
    padding: 8px 0;
}

.tnb-btn-link:hover {
    color: var(--tnb-primary);
}

.tnb-btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

.tnb-btn-block {
    display: flex;
    width: 100%;
}

.tnb-btn-payment {
    background: var(--tnb-secondary);
    color: var(--tnb-white);
    font-size: 18px;
    padding: 18px 48px;
    border-radius: var(--tnb-radius-btn);
}

.tnb-btn-payment:hover {
    background: var(--tnb-primary);
    border-color: var(--tnb-primary);
}

/* ==========================================================================
   Alerts
   ========================================================================== */
.tnb-alert {
    padding: 16px 20px;
    border-radius: var(--tnb-radius);
    margin-bottom: 24px;
}

.tnb-alert-error {
    background: #fef2f2;
    color: var(--tnb-error);
    border: 1px solid #fecaca;
}

.tnb-alert-success {
    background: #f0fdf4;
    color: var(--tnb-success);
    border: 1px solid #bbf7d0;
}

/* ==========================================================================
   Forms
   ========================================================================== */
/* Page réservation - style comme l'existant */
.tnb-reservation-page {
    padding: 120px 0 80px;
    min-height: 100vh;
}

.tnb-reservation-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding-top: 20px;
}

.tnb-reservation-form-wrapper {
    flex: 1;
    min-width: 0;
    max-width: calc(100% - 455px);
}

.tnb-reservation-sidebar {
    width: 100%;
    max-width: 425px;
}

@media (max-width: 992px) {
    .tnb-reservation-form-wrapper {
        max-width: 100%;
    }

    .tnb-reservation-sidebar {
        max-width: 100%;
        order: -1;
        margin-bottom: 30px;
    }
}

/* Stepper - Style simple comme l'existant */
.tnb-stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 20px 0;
}

.tnb-stepper-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tnb-stepper-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    background: var(--tnb-primary);
    color: var(--tnb-white);
    transition: all var(--tnb-transition);
}

.tnb-stepper-item.active .tnb-stepper-icon {
    background: var(--tnb-primary);
    color: var(--tnb-white);
}

.tnb-stepper-item.completed .tnb-stepper-icon {
    background: var(--tnb-secondary);
    color: var(--tnb-white);
}

.tnb-stepper-item:not(.active):not(.completed) .tnb-stepper-icon {
    background: #e5e5e5;
    color: #999;
}

.tnb-stepper-label {
    font-weight: 500;
    color: var(--tnb-text);
}

.tnb-stepper-item:not(.active):not(.completed) .tnb-stepper-label {
    color: var(--tnb-text-muted);
}

.tnb-stepper-line {
    width: 80px;
    height: 2px;
    background: #e5e5e5;
    margin: 0 16px;
}

.tnb-stepper-line.completed {
    background: var(--tnb-secondary);
}

@media (max-width: 768px) {
    .tnb-stepper-label {
        display: none;
    }

    .tnb-stepper-line {
        width: 40px;
    }
}

/* Form Header */
.tnb-form-header {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--tnb-border);
}

.tnb-form-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--tnb-primary);
    margin-bottom: 12px;
}

.tnb-form-header p {
    color: var(--tnb-text-light);
    line-height: 1.6;
}

/* Form Sections */
.tnb-form-section {
    margin-bottom: 32px;
}

.tnb-form-section-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--tnb-primary);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--tnb-border);
}

/* Form Groups */
.tnb-form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

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

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

.tnb-form-group label .required {
    color: var(--tnb-error);
}

.tnb-form-group input[type="text"],
.tnb-form-group input[type="email"],
.tnb-form-group input[type="tel"],
.tnb-form-group input[type="password"],
.tnb-form-group input[type="url"],
.tnb-form-group input[type="date"],
.tnb-form-group select,
.tnb-form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    border: 1px solid var(--tnb-border);
    border-radius: var(--tnb-radius);
    background: var(--tnb-white);
    color: var(--tnb-text);
    transition: border-color var(--tnb-transition);
}

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

.tnb-form-group input.has-error,
.tnb-form-group select.has-error,
.tnb-form-group textarea.has-error {
    border-color: var(--tnb-error);
}

.tnb-form-group small {
    display: block;
    font-size: 12px;
    color: var(--tnb-text-muted);
    margin-top: 6px;
}

.tnb-form-help {
    font-size: 13px;
    color: var(--tnb-text-light);
    margin-bottom: 12px;
}

.tnb-error {
    display: block;
    font-size: 12px;
    color: var(--tnb-error);
    margin-top: 6px;
}

/* Phone Input - With country code selector */
.tnb-phone-input {
    display: flex;
    gap: 8px;
    align-items: stretch;
}

.tnb-phone-country {
    width: 80px;
    min-width: 80px;
    max-width: 80px;
    flex-shrink: 0;
    padding: 12px 8px;
    font-size: 14px;
    border: 1px solid var(--tnb-border);
    border-radius: var(--tnb-radius);
    background: var(--tnb-white);
    color: var(--tnb-text);
    cursor: pointer;
    text-align: center;
}

.tnb-phone-country:focus {
    outline: none;
    border-color: var(--tnb-primary);
}

.tnb-phone-input input[type="tel"] {
    flex: 1;
    min-width: 0;
    width: 100%;
}

/* Drag & Drop Photo Upload */
.tnb-file-upload {
    position: relative;
}

.tnb-file-dropzone {
    border: 2px dashed var(--tnb-border);
    border-radius: var(--tnb-radius);
    padding: 32px 20px;
    text-align: center;
    cursor: pointer;
    transition: all var(--tnb-transition);
    background: var(--tnb-bg);
}

.tnb-file-dropzone:hover,
.tnb-file-dropzone.dragover {
    border-color: var(--tnb-primary);
    background: rgba(30, 58, 95, 0.05);
}

.tnb-file-dropzone-icon {
    margin-bottom: 12px;
    color: var(--tnb-primary);
}

.tnb-file-dropzone-text {
    font-size: 14px;
    color: var(--tnb-text);
    margin-bottom: 4px;
}

.tnb-file-dropzone-hint {
    font-size: 12px;
    color: var(--tnb-text-muted);
}

.tnb-file-dropzone input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.tnb-file-preview {
    display: none;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--tnb-bg);
    border-radius: var(--tnb-radius);
    margin-top: 12px;
}

.tnb-file-preview.has-file {
    display: flex;
}

.tnb-file-preview-image {
    width: 60px;
    height: 60px;
    border-radius: var(--tnb-radius);
    object-fit: cover;
}

.tnb-file-preview-info {
    flex: 1;
}

.tnb-file-preview-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--tnb-text);
    margin-bottom: 2px;
}

.tnb-file-preview-size {
    font-size: 12px;
    color: var(--tnb-text-muted);
}

.tnb-file-preview-remove {
    background: none;
    border: none;
    color: var(--tnb-error);
    cursor: pointer;
    padding: 8px;
}

.tnb-file-preview-remove:hover {
    color: #dc2626;
}

/* Checkbox Group */
.tnb-checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tnb-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}

.tnb-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.tnb-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--tnb-primary);
}

.tnb-checkbox span {
    font-size: 14px;
    color: var(--tnb-text);
}

.tnb-checkbox-cgv {
    background: var(--tnb-bg);
    padding: 16px;
    border-radius: var(--tnb-radius);
}

.tnb-checkbox-cgv a {
    color: var(--tnb-primary);
    text-decoration: underline;
}

/* Form Actions */
.tnb-form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--tnb-border);
}

/* ==========================================================================
   Event Sidebar Card
   ========================================================================== */
/* Event Card Sidebar - style comme rightcover */
.tnb-event-card {
    background: var(--tnb-white);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(217, 217, 217, 1);
    position: sticky;
    top: 120px;
    padding: 12px 12px 30px;
}

.tnb-event-card-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.tnb-event-card-content {
    padding: 0;
}

.tnb-event-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--tnb-secondary);
    margin-bottom: 15px;
    line-height: normal;
}

.tnb-event-card-date {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--tnb-text);
    margin-bottom: 20px;
    background: url('../images/date.svg') no-repeat 0 center;
    padding-left: 32px;
    line-height: 21px;
}

.tnb-event-card-date svg {
    display: none;
}

.tnb-event-card-services h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--tnb-text);
    margin-bottom: 12px;
}

.tnb-event-card-services ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tnb-event-card-services li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: var(--tnb-text);
    padding: 6px 0;
}

.tnb-event-card-services li svg {
    color: var(--tnb-secondary);
    flex-shrink: 0;
}

/* ==========================================================================
   Payment Step
   ========================================================================== */
.tnb-payment-container {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.tnb-payment-secure {
    margin-bottom: 32px;
}

.tnb-payment-icon {
    margin-bottom: 16px;
}

.tnb-payment-secure h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--tnb-text);
    margin-bottom: 8px;
}

.tnb-payment-subtitle {
    color: var(--tnb-text-light);
    font-size: 14px;
}

.tnb-payment-methods {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 20px;
}

.tnb-payment-method {
    height: 32px;
    width: auto;
}

.tnb-payment-summary {
    background: var(--tnb-bg);
    border-radius: var(--tnb-radius);
    padding: 24px;
    margin-bottom: 24px;
    text-align: left;
}

.tnb-payment-summary h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.tnb-payment-line {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
}

.tnb-payment-deposit {
    border-top: 1px solid var(--tnb-border);
    border-bottom: 1px solid var(--tnb-border);
    margin: 8px 0;
    padding: 12px 0;
    font-weight: 600;
}

.tnb-payment-amount {
    color: var(--tnb-secondary);
    font-weight: 700;
}

.tnb-payment-note {
    font-size: 12px;
    color: var(--tnb-text-muted);
    margin-top: 12px;
}

.tnb-payment-cgv {
    margin-bottom: 24px;
}

.tnb-payment-cgv p {
    font-size: 13px;
    color: var(--tnb-text-light);
    margin-bottom: 8px;
}

.tnb-payment-cgv a {
    color: var(--tnb-primary);
    text-decoration: underline;
}

.tnb-payment-protection {
    font-size: 12px;
    color: var(--tnb-text-muted);
}

.tnb-payment-form {
    margin-bottom: 16px;
}

/* ==========================================================================
   Events List
   ========================================================================== */
.tnb-events-list {
    padding: 40px 0;
}

.tnb-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.tnb-event-card {
    background: var(--tnb-white);
    border-radius: var(--tnb-radius-lg);
    overflow: hidden;
    box-shadow: var(--tnb-shadow);
    transition: transform var(--tnb-transition), box-shadow var(--tnb-transition);
}

.tnb-event-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--tnb-shadow-lg);
}

.tnb-event-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.tnb-event-card-image-wrapper {
    position: relative;
    overflow: hidden;
}

.tnb-event-card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform var(--tnb-transition);
}

.tnb-event-card:hover .tnb-event-card-image {
    transform: scale(1.05);
}

.tnb-event-badge {
    position: absolute;
    top: 16px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
}

.tnb-event-badge-open {
    left: 16px;
    background: var(--tnb-success);
    color: var(--tnb-white);
}

.tnb-event-badge-discount {
    right: 16px;
    background: var(--tnb-error);
    color: var(--tnb-white);
}

.tnb-event-card-content {
    padding: 24px;
}

.tnb-event-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--tnb-primary);
    margin-bottom: 8px;
    line-height: 1.4;
}

.tnb-event-card-subtitle {
    font-size: 14px;
    color: var(--tnb-text-light);
    margin-bottom: 16px;
}

.tnb-event-card-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.tnb-event-card-location,
.tnb-event-card-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--tnb-text-light);
}

.tnb-event-card-location svg,
.tnb-event-card-date svg {
    color: var(--tnb-secondary);
    flex-shrink: 0;
}

.tnb-event-card-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.tnb-event-card-price-label {
    font-size: 12px;
    color: var(--tnb-text-muted);
}

.tnb-event-card-price-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--tnb-secondary);
}

.tnb-events-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--tnb-text-light);
}

/* ==========================================================================
   Event Detail
   ========================================================================== */
.tnb-event-detail {
    padding-bottom: 80px;
}

.tnb-breadcrumb {
    background: var(--tnb-bg);
    padding: 16px 0;
    font-size: 13px;
}

.tnb-breadcrumb a {
    color: var(--tnb-text-light);
    text-decoration: none;
}

.tnb-breadcrumb a:hover {
    color: var(--tnb-primary);
}

.tnb-breadcrumb-sep {
    margin: 0 8px;
    color: var(--tnb-text-muted);
}

.tnb-breadcrumb-current {
    color: var(--tnb-text);
}

.tnb-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--tnb-text-light);
    text-decoration: none;
    font-size: 14px;
    margin: 20px 0;
}

.tnb-back-link:hover {
    color: var(--tnb-primary);
}

.tnb-event-header {
    padding: 24px 0;
}

.tnb-event-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--tnb-primary);
    line-height: 1.3;
}

.tnb-event-banner {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
}

.tnb-event-banner-image {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.tnb-event-content {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    margin-top: 40px;
}

@media (max-width: 992px) {
    .tnb-event-content {
        grid-template-columns: 1fr;
    }
}

.tnb-event-section {
    margin-bottom: 48px;
}

.tnb-section-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--tnb-secondary);
    margin-bottom: 24px;
}

.tnb-event-presentation {
    font-size: 15px;
    line-height: 1.8;
    color: var(--tnb-text);
}

.tnb-event-presentation p {
    margin-bottom: 16px;
}

.tnb-event-cta-text {
    color: var(--tnb-secondary);
    font-style: italic;
    margin: 24px 0;
}

/* Programs Tabs */
.tnb-tabs-nav {
    display: flex;
    gap: 8px;
    border-bottom: 2px solid var(--tnb-border);
    margin-bottom: 24px;
    overflow-x: auto;
}

.tnb-tab-btn {
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    color: var(--tnb-text-light);
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    white-space: nowrap;
    transition: color var(--tnb-transition);
}

.tnb-tab-btn::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--tnb-secondary);
    transform: scaleX(0);
    transition: transform var(--tnb-transition);
}

.tnb-tab-btn.active {
    color: var(--tnb-primary);
}

.tnb-tab-btn.active::after {
    transform: scaleX(1);
}

.tnb-tab-date {
    display: block;
    font-size: 11px;
    font-weight: 400;
    color: var(--tnb-text-muted);
    margin-top: 4px;
}

.tnb-tab-panel {
    display: none;
}

.tnb-tab-panel.active {
    display: block;
}

.tnb-program-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tnb-program-item {
    display: flex;
    gap: 20px;
    padding: 16px 0;
    border-bottom: 1px solid var(--tnb-border);
}

.tnb-program-time {
    font-size: 14px;
    font-weight: 600;
    color: var(--tnb-primary);
    min-width: 80px;
}

.tnb-program-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--tnb-text);
    margin-bottom: 4px;
}

.tnb-program-desc {
    font-size: 13px;
    color: var(--tnb-text-light);
}

/* Programs Section - extends existing .programmes styles */
.programmes_section {
    margin-top: 40px;
}

.programmes_section .title_2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--tnb-secondary);
    margin-bottom: 24px;
}

/* Program item time display */
.programmes .list_thematique .pro_elt .program-time {
    min-width: 60px;
    padding: 8px 12px;
    background: var(--tnb-primary);
    color: var(--tnb-white);
    border-radius: var(--tnb-radius);
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.programmes .list_thematique .pro_elt .program-content {
    flex: 1;
}

.programmes .list_thematique .pro_elt .program-content .title {
    font-size: 18px;
    font-weight: 600;
    color: var(--tnb-text);
    margin-bottom: 5px;
}

.programmes .list_thematique .pro_elt .program-content .pro_details {
    padding: 5px 0 0 0;
    font-size: 15px;
    line-height: 1.6;
    color: var(--tnb-text-light);
}

/* Video */
.tnb-video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--tnb-radius-lg);
}

.tnb-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Gallery */
.tnb-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.tnb-gallery-item {
    display: block;
    border-radius: var(--tnb-radius);
    overflow: hidden;
}

.tnb-gallery-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    transition: transform var(--tnb-transition);
}

.tnb-gallery-item:hover img {
    transform: scale(1.05);
}

/* Event Info Card (Sidebar) */
.tnb-event-info-card {
    background: var(--tnb-white);
    border-radius: var(--tnb-radius-lg);
    padding: 24px;
    box-shadow: var(--tnb-shadow);
    position: sticky;
    top: 120px;
}

.tnb-info-item {
    margin-bottom: 20px;
}

.tnb-info-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--tnb-text);
    margin-bottom: 4px;
}

.tnb-info-value {
    font-size: 14px;
    color: var(--tnb-text-light);
}

.tnb-info-value a {
    color: var(--tnb-primary);
    text-decoration: underline;
}

.tnb-price-card {
    background: var(--tnb-primary);
    color: var(--tnb-white);
    border-radius: var(--tnb-radius);
    padding: 20px;
    margin: 20px 0;
}

.tnb-price-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
}

.tnb-price-value {
    font-weight: 600;
}

.tnb-event-past-notice,
.tnb-event-closed-notice {
    text-align: center;
    padding: 16px;
    background: var(--tnb-bg);
    border-radius: var(--tnb-radius);
    color: var(--tnb-text-muted);
    font-size: 14px;
}

/* ==========================================================================
   Past Events
   ========================================================================== */
.tnb-past-events {
    padding: 40px 0;
}

.tnb-past-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.tnb-past-event-card {
    border-radius: var(--tnb-radius-lg);
    overflow: hidden;
    background: var(--tnb-white);
    box-shadow: var(--tnb-shadow);
    transition: transform var(--tnb-transition);
}

.tnb-past-event-card:hover {
    transform: translateY(-4px);
}

.tnb-past-event-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.tnb-past-event-image-wrapper {
    position: relative;
    overflow: hidden;
}

.tnb-past-event-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform var(--tnb-transition);
}

.tnb-past-event-card:hover .tnb-past-event-image {
    transform: scale(1.05);
}

.tnb-past-event-overlay {
    position: absolute;
    inset: 0;
    background: rgba(30, 58, 95, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--tnb-transition);
}

.tnb-past-event-card:hover .tnb-past-event-overlay {
    opacity: 1;
}

.tnb-past-event-label {
    color: var(--tnb-white);
    font-weight: 600;
    font-size: 14px;
}

.tnb-past-event-gallery-count {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.7);
    color: var(--tnb-white);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tnb-past-event-content {
    padding: 20px;
}

.tnb-past-event-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--tnb-primary);
    margin-bottom: 8px;
}

.tnb-past-event-meta {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--tnb-text-light);
}

/* ==========================================================================
   Success Page
   ========================================================================== */
.tnb-success-page {
    padding: 80px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: var(--tnb-bg);
}

.tnb-success-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    background: var(--tnb-white);
    padding: 60px 40px;
    border-radius: var(--tnb-radius-lg);
    box-shadow: var(--tnb-shadow-lg);
}

.tnb-success-icon {
    margin-bottom: 24px;
}

.tnb-success-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--tnb-primary);
    margin-bottom: 16px;
}

.tnb-success-message {
    font-size: 16px;
    color: var(--tnb-text-light);
    margin-bottom: 24px;
}

.tnb-success-reference {
    background: var(--tnb-bg);
    padding: 16px;
    border-radius: var(--tnb-radius);
    margin-bottom: 32px;
}

.tnb-success-reference span {
    font-size: 13px;
    color: var(--tnb-text-muted);
}

.tnb-success-reference strong {
    display: block;
    font-size: 20px;
    color: var(--tnb-primary);
    margin-top: 8px;
    letter-spacing: 2px;
}

.tnb-success-next-steps {
    text-align: left;
    margin-bottom: 32px;
}

.tnb-success-next-steps h2 {
    font-size: 18px;
    font-weight: 600;
    color: var(--tnb-text);
    margin-bottom: 16px;
}

.tnb-success-next-steps ol {
    padding-left: 20px;
}

.tnb-success-next-steps li {
    font-size: 14px;
    color: var(--tnb-text-light);
    margin-bottom: 12px;
    line-height: 1.6;
}

.tnb-success-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

@media (max-width: 480px) {
    .tnb-success-actions {
        flex-direction: column;
    }
}
