/**
 * Creation Entertainment Events - Frontend Styles
 */

/* Container Styles — break out of narrow WP content columns */
.cee-guests-container,
.cee-schedule-container {
    margin: 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    width: 100vw;
    max-width: 1400px;
    margin-left: 50%;
    transform: translateX(-50%);
    padding: 0 20px;
    box-sizing: border-box;
}

/* Error and Notice Styles */
.cee-error {
    background-color: #fee;
    border: 1px solid #fcc;
    color: #c00;
    padding: 10px 15px;
    margin: 10px 0;
    border-radius: 4px;
}

.cee-notice {
    background-color: #fff8e1;
    border: 1px solid #ffecb3;
    color: #f57c00;
    padding: 10px 15px;
    margin: 10px 0;
    border-radius: 4px;
}

/* Guest Grid Styles
 * grid-template-columns is set inline via PHP:
 *   auto mode  → repeat(auto-fill, minmax(Npx, 1fr))
 *   fixed mode → repeat(N, 1fr)
 */
/* Guest filter dropdowns */
.cee-guest-filters {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.cee-guest-filters .cee-filter-select {
    min-width: 160px;
}

.cee-guests-grid {
    display: grid;
    gap: 20px;
    margin-top: 20px;
}

/* Legacy fixed-column classes (kept for the non-embed template) */
.cee-guests-cols-1 { grid-template-columns: 1fr; }
.cee-guests-cols-2 { grid-template-columns: repeat(2, 1fr); }
.cee-guests-cols-3 { grid-template-columns: repeat(3, 1fr); }
.cee-guests-cols-4 { grid-template-columns: repeat(4, 1fr); }
.cee-guests-cols-5 { grid-template-columns: repeat(5, 1fr); }
.cee-guests-cols-6 { grid-template-columns: repeat(6, 1fr); }

@media (max-width: 1200px) {
    .cee-guests-cols-6 { grid-template-columns: repeat(4, 1fr); }
    .cee-guests-cols-5 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .cee-guests-cols-3,
    .cee-guests-cols-4,
    .cee-guests-cols-5,
    .cee-guests-cols-6 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .cee-guests-cols-2,
    .cee-guests-cols-3,
    .cee-guests-cols-4,
    .cee-guests-cols-5,
    .cee-guests-cols-6 { grid-template-columns: 1fr; }
}

/* Guest Item Styles */
.cee-guest-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.cee-guest-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Guest Image with Overlay */
.cee-guest-image-wrapper {
    position: relative;
    overflow: hidden;
    background: #f5f5f5;
    aspect-ratio: 1/1;
}

/* Loading state for images */
.cee-guest-image-wrapper.cee-loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
    border: 3px solid #ddd;
    border-top-color: #333;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.cee-guest-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.cee-guest-item:hover .cee-guest-image {
    transform: scale(1.05);
}

.cee-guest-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cee-guest-item:hover .cee-guest-overlay {
    opacity: 1;
}

.cee-guest-view-more {
    color: #fff;
    font-size: 1.1em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 20px;
    border: 2px solid #fff;
    transition: all 0.3s ease;
}

.cee-guest-item:hover .cee-guest-view-more {
    background: #fff;
    color: #000;
}

/* Guest Info */
.cee-guest-info {
    padding: 0;
    text-align: center;
}

.cee-guest-name {
    font-size: 1.1em;
    font-weight: 700;
    margin: 0 0 5px 0;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cee-guest-title {
    font-size: 0.9em;
    color: #666;
    margin: 0;
    font-style: italic;
}

/* Modal Styles */
.cee-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.85);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.cee-modal-content {
    background-color: #fff;
    margin: 50px auto;
    padding: 0;
    width: 90%;
    max-width: 900px;
    border-radius: 8px;
    position: relative;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cee-modal-close {
    color: #999;
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.cee-modal-close:hover,
.cee-modal-close:focus {
    color: #333;
    transform: rotate(90deg);
    transition: all 0.3s ease;
}

.cee-modal-body {
    display: flex;
    flex-wrap: wrap;
}

.cee-modal-image-wrapper {
    flex: 0 0 40%;
    background: #f5f5f5;
}

.cee-modal-guest-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px 0 0 8px;
}

.cee-modal-info {
    flex: 0 0 60%;
    padding: 40px;
}

.cee-modal-guest-name {
    font-size: 2em;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cee-modal-guest-title {
    font-size: 1.2em;
    color: #666;
    margin: 0 0 20px 0;
    font-style: italic;
}

.cee-modal-guest-description {
    font-size: 1em;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
}

/* Pricing Section */
.cee-modal-pricing {
    background: #f8f8f8;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.cee-modal-pricing h4 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 1.3em;
}

.cee-pricing-grid {
    display: grid;
    gap: 10px;
}

.cee-pricing-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #e0e0e0;
}

.cee-pricing-label {
    font-weight: 600;
    color: #555;
}

.cee-pricing-value {
    color: #333;
    font-weight: 700;
}

/* Schedule Section */
.cee-modal-schedule {
    margin-top: 20px;
}

.cee-modal-schedule h4 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 1.3em;
}

.cee-schedule-content {
    background: #f8f8f8;
    padding: 15px;
    border-radius: 8px;
    font-size: 0.95em;
    line-height: 1.6;
}

/* Mobile Modal Styles */
@media (max-width: 768px) {
    .cee-modal-content {
        margin: 20px;
        width: calc(100% - 40px);
    }

    .cee-modal-body {
        flex-direction: column;
    }

    .cee-modal-image-wrapper,
    .cee-modal-info {
        flex: 0 0 100%;
    }

    .cee-modal-guest-image {
        border-radius: 8px 8px 0 0;
        max-height: 300px;
    }

    .cee-modal-info {
        padding: 20px;
    }

    .cee-modal-guest-name {
        font-size: 1.5em;
    }
}

/* Schedule View Controls */
.cee-schedule-controls {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.cee-view-toggle {
    display: flex;
    gap: 0;
    background: #f0f0f0;
    border-radius: 4px;
    padding: 3px;
}

.cee-view-btn {
    padding: 8px 16px;
    border: none;
    background: transparent;
    color: #666;
    font-size: 0.9em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.cee-view-btn:hover {
    color: #333;
}

.cee-view-btn.active {
    background: #fff;
    color: #333;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* View Icons */
.cee-icon-list::before {
    content: "☰";
    font-size: 1.2em;
}

.cee-icon-grid::before {
    content: "⊞";
    font-size: 1.2em;
}

/* Schedule Filter Styles */
.cee-schedule-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f8f8;
    border-radius: 8px;
    align-items: flex-end;
}

.cee-filter-group {
    flex: 1;
    min-width: 200px;
}

.cee-filter-group label {
    display: block;
    font-size: 0.9em;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.cee-filter-select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    font-size: 0.95em;
    color: #333;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.cee-filter-select:hover {
    border-color: #999;
}

.cee-filter-select:focus {
    border-color: #999;
    outline: 2px solid #005fcc;
    outline-offset: 2px;
}

.cee-filter-reset {
    padding: 8px 20px;
    background: #666;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 0.9em;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    white-space: nowrap;
}

.cee-filter-reset:hover,
.cee-filter-reset:focus {
    background: #555;
    outline: 2px solid #005fcc;
    outline-offset: 2px;
}

.cee-no-results {
    text-align: center;
    padding: 40px 20px;
    background: #f8f8f8;
    border-radius: 8px;
    margin: 20px 0;
}

.cee-no-results p {
    margin: 0;
    font-size: 1.1em;
    color: #666;
}

/* Responsive Filters */
@media (max-width: 768px) {
    .cee-schedule-filters {
        flex-direction: column;
    }

    .cee-filter-group {
        width: 100%;
        min-width: auto;
    }

    .cee-filter-reset {
        width: 100%;
    }
}

/* Guest Links in Schedule */
.guest-link {
    color: #333;
    text-decoration: none;
    border-bottom: 1px dotted #666;
    transition: all 0.3s ease;
}

.guest-link:hover {
    color: #1565c0;
    text-decoration: none;
    border-bottom-color: #1565c0;
}

/* Grid Guest Links - More compact styling */
.grid-guest-link {
    font-size: 0.8em;
    border-bottom: 1px dotted rgba(102, 102, 102, 0.7);
    padding: 1px 2px;
    margin: 0 1px;
}

.grid-guest-link:hover {
    background-color: rgba(21, 101, 192, 0.1);
    border-radius: 2px;
}

/* Guest Schedule in Modal */
.modal-guest-schedule {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.modal-guest-schedule h5 {
    font-size: 1.2em;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.guest-schedule-list {
    margin-top: 10px;
}

/* Day grouping */
.guest-schedule-day {
    margin-bottom: 20px;
}

.guest-schedule-day-header {
    font-size: 1.1em;
    font-weight: 700;
    color: #333;
    margin: 0 0 10px 0;
    padding: 8px 0;
    border-bottom: 2px solid #e0e0e0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Individual schedule items */
.guest-schedule-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid #ddd;
    min-height: 40px;
}

.guest-schedule-item:last-child {
    margin-bottom: 0;
}

.guest-schedule-time {
    flex: 0 0 80px;
    font-size: 0.9em;
    color: #666;
    font-weight: 600;
    margin-right: 12px;
    margin-top: 2px;
}

.guest-schedule-content {
    flex: 1;
    min-width: 0;
}

.guest-schedule-title {
    font-size: 0.95em;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
    line-height: 1.3;
}

.guest-schedule-location {
    font-size: 0.85em;
    color: #666;
    margin-bottom: 4px;
    font-style: italic;
}

.guest-schedule-description {
    font-size: 0.85em;
    color: #555;
    line-height: 1.4;
    margin-top: 4px;
}

.guest-schedule-description:empty {
    display: none;
}

/* Mobile responsiveness for guest schedule */
@media (max-width: 768px) {
    .guest-schedule-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .guest-schedule-time {
        flex: none;
        margin-right: 0;
        margin-bottom: 4px;
        font-weight: 700;
        color: #333;
    }

    .guest-schedule-day-header {
        font-size: 1em;
    }
}

/* Schedule Styles */
.cee-schedule-day {
    margin-bottom: 30px;
}

.cee-schedule-day.cee-filtered-out {
    display: none;
}

.cee-schedule-item.cee-filtered-out {
    display: none;
}

.cee-schedule-day-header {
    font-size: 1.5em;
    font-weight: 600;
    color: #333;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
}

.cee-schedule-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cee-schedule-item {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    transition: box-shadow 0.3s ease;
    cursor: pointer;
}

.cee-schedule-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.cee-schedule-item-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.cee-schedule-time {
    font-size: 0.9em;
    font-weight: 600;
    color: #666;
    white-space: nowrap;
    min-width: 120px;
}

.cee-schedule-title {
    font-size: 1.1em;
    font-weight: 600;
    color: #333;
    margin: 0;
    flex: 1;
}

.cee-schedule-description {
    font-size: 0.9em;
    line-height: 1.6;
    color: #555;
    margin-bottom: 10px;
}

.cee-schedule-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.85em;
    color: #666;
}

.cee-schedule-location,
.cee-schedule-guests {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Icon Styles */
.cee-icon-location::before {
    content: "📍";
    font-size: 1.1em;
}

.cee-icon-guests::before {
    content: "👥";
    font-size: 1.1em;
}

/* Tag Styles */
.cee-schedule-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.cee-tag {
    background: #f0f0f0;
    color: #555;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.85em;
}

/* Mobile Responsive */
@media (max-width: 640px) {
    .cee-schedule-item-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .cee-schedule-time {
        min-width: auto;
    }

    .cee-schedule-meta {
        flex-direction: column;
        gap: 8px;
    }
}

/* Schedule Grid View Styles */
.cee-grid-date-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 0;
}

.cee-grid-date-tab {
    padding: 10px 20px;
    border: none;
    background: transparent;
    color: #666;
    font-size: 0.95em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    white-space: nowrap;
}

.cee-grid-date-tab:hover {
    color: #333;
    background: #f8f8f8;
}

.cee-grid-date-tab.active {
    color: #333;
    border-bottom-color: #333;
    background: transparent;
}

.cee-grid-day {
    margin-bottom: 40px;
}

.cee-grid-day.cee-filtered-out,
.cee-grid-day.cee-grid-day-hidden {
    display: none;
}

.cee-grid-day-header {
    font-size: 1.5em;
    font-weight: 600;
    color: #333;
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
}

.cee-grid-container {
    position: relative;
    overflow: hidden;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
}

.cee-grid-scroll-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    position: relative;
}

/* Scroll Indicators */
.cee-scroll-indicator {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    z-index: 20;
    transition: opacity 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.cee-scroll-indicator:hover {
    background: rgba(0, 0, 0, 0.9);
}

.cee-scroll-indicator.cee-scroll-left {
    left: 10px;
}

.cee-scroll-indicator.cee-scroll-right {
    right: 10px;
}

.cee-scroll-indicator span {
    font-size: 18px;
    font-weight: bold;
}

/* Hide scroll indicators on small screens */
@media (max-width: 768px) {
    .cee-scroll-indicator {
        display: none !important;
    }
}

.cee-schedule-grid {
    width: 100%;
    border-collapse: collapse;
    table-layout: auto;
}

.cee-schedule-grid thead {
    background: #f8f8f8;
    position: sticky;
    top: 0;
    z-index: 10;
}

.cee-schedule-grid th {
    padding: 12px 10px;
    text-align: left;
    font-weight: 600;
    font-size: 0.9em;
    border-bottom: 2px solid #ddd;
}

.cee-grid-time-header {
    width: 70px;
    min-width: 70px;
    background: #f0f0f0;
    position: sticky;
    left: 0;
    z-index: 11;
    white-space: nowrap;
}

.cee-grid-location-header {
    min-width: 120px;
    white-space: normal;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.cee-grid-row {
    border-bottom: 1px solid #eee;
}

.cee-grid-row:hover {
    background: #fafafa;
}

.cee-grid-time-cell {
    padding: 10px;
    font-size: 0.85em;
    font-weight: 600;
    color: #666;
    background: #f8f8f8;
    border-right: 1px solid #ddd;
    position: sticky;
    left: 0;
    z-index: 1;
}

.cee-grid-cell {
    padding: 5px;
    min-height: 60px;
    vertical-align: top;
    border-right: 1px solid #eee;
    position: relative;
}

.cee-grid-cell:last-child {
    border-right: none;
}

/* Grid Items */
.cee-grid-item {
    padding: 8px;
    border-radius: 4px;
    margin: 2px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.85em;
    position: relative;
    height: calc(100% - 4px);
    min-height: 50px;
    overflow: hidden;
}

.cee-grid-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.cee-grid-item-time {
    font-size: 0.8em;
    font-weight: 600;
    margin-bottom: 3px;
    opacity: 0.8;
}

.cee-grid-item-title {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 3px;
    word-break: break-word;
}

.cee-grid-item-guests {
    font-size: 0.8em;
    opacity: 0.9;
    line-height: 1.2;
}

.cee-grid-item-guests .cee-schedule-guest-link {
    color: inherit;
    text-decoration: underline;
    text-decoration-style: dotted;
}

.cee-grid-item-guests .cee-schedule-guest-link:hover {
    text-decoration-style: solid;
    opacity: 0.8;
}

/* Grid Item Colors */
.cee-grid-item-default {
    background: #e3f2fd;
    color: #1565c0;
    border: 1px solid #bbdefb;
}

.cee-grid-item-photo {
    background: #f3e5f5;
    color: #6a1b9a;
    border: 1px solid #e1bee7;
}

.cee-grid-item-autograph {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.cee-grid-item-panel {
    background: #fff3e0;
    color: #e65100;
    border: 1px solid #ffe0b2;
}

.cee-grid-item-entertainment {
    background: #fce4ec;
    color: #c2185b;
    border: 1px solid #f8bbd0;
}

.cee-grid-item.cee-filtered-out {
    display: none;
}

.cee-grid-item.cee-grid-item-active {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    z-index: 5;
}

/* Multi-hour event handling */
.cee-grid-item[data-duration="2"] {
    height: calc(200% - 4px);
}

.cee-grid-item[data-duration="3"] {
    height: calc(300% - 4px);
}

.cee-grid-item[data-duration="4"] {
    height: calc(400% - 4px);
}

/* Mobile Grid Styles */
@media (max-width: 768px) {
    .cee-schedule-controls {
        justify-content: center;
        margin-bottom: 15px;
    }

    .cee-grid-date-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        flex-wrap: nowrap;
        margin: 0 -15px 20px;
        padding: 0 15px;
    }

    .cee-grid-date-tab {
        padding: 8px 15px;
        font-size: 0.85em;
    }

    .cee-grid-container {
        border-radius: 0;
        margin: 0 -20px;
    }

    .cee-grid-location-header {
        min-width: 100px;
        font-size: 0.85em;
    }

    .cee-grid-time-cell {
        font-size: 0.8em;
    }

    .cee-grid-item {
        font-size: 0.8em;
        padding: 6px;
    }

    .cee-grid-item-time {
        font-size: 0.75em;
    }

    .cee-grid-item-guests {
        display: none;
    }
}

@media (max-width: 480px) {
    .cee-view-btn {
        padding: 6px 12px;
        font-size: 0.85em;
    }

    .cee-grid-location-header {
        min-width: 80px;
    }
}

.modal-guest-schedule h5 {
    font-size: 16px;
    font-weight: bold;
    padding: 5px;
    background-color: burlywood;
}

h6.guest-schedule-day-header {
    font-size: 13px;
    font-weight: bold;
}

/* Schedule item detail modal */
.cee-schedule-detail-content {
    max-width: 600px;
    margin: 10vh auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
}

.cee-sched-detail-close {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 28px;
    font-weight: bold;
    color: #666;
    cursor: pointer;
    line-height: 1;
    z-index: 1;
    background: none;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
}

.cee-sched-detail-close:hover {
    color: #333;
    background: #f0f0f0;
}

.cee-sched-detail-body {
    padding: 32px;
}

.cee-sched-detail-title {
    font-size: 1.4em;
    font-weight: 700;
    margin: 0 0 12px 0;
    color: #222;
    line-height: 1.3;
}

.cee-sched-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 0.95em;
    color: #555;
}

.cee-sched-detail-meta > span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.cee-sched-detail-description {
    font-size: 0.95em;
    line-height: 1.7;
    color: #444;
    margin-bottom: 16px;
    padding: 12px 0;
    border-top: 1px solid #eee;
}

.cee-sched-detail-guests {
    font-size: 0.95em;
    color: #555;
    margin-bottom: 12px;
}

/* Guest card layout in schedule detail modal */
.cee-sched-detail-guest-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}

.cee-sched-guest-card {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px 6px 6px;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none !important;
    color: #333;
    transition: background 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.cee-sched-guest-card:hover {
    background: #e9ecef;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.cee-sched-guest-thumb {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.cee-sched-guest-name {
    font-weight: 500;
    color: #2563eb;
    white-space: nowrap;
}

.cee-sched-guest-card:hover .cee-sched-guest-name {
    text-decoration: underline;
}

.cee-sched-detail-guests a,
.cee-sched-detail-guest-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
}

.cee-sched-detail-guests a:hover,
.cee-sched-detail-guest-link:hover {
    text-decoration: underline;
}

.cee-sched-detail-tags {
    margin-top: 8px;
}

@media (max-width: 640px) {
    .cee-schedule-detail-content {
        margin: 5vh 16px;
        max-height: 90vh;
    }
    .cee-sched-detail-body {
        padding: 20px;
    }
}

.guest-schedule-time::after {
    content: " - ";
}

guest-schedule-time {
    float: left;
    margin-right: 5px;
}

.guest-schedule-item {
    margin-bottom: 5px;
    border: 1px black solid;
    border-radius: 7px;
    padding: 5px;
}

/* TicketSpice Integration Styles */
.modal-guest-tickets {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.modal-guest-tickets h5 {
    font-size: 1.1em;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.guest-ticket-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.guest-ticket-item {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 10px;
}

.ticket-purchase-link {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.ticket-purchase-link:hover {
    color: #0056b3;
    background-color: rgba(0, 123, 255, 0.05);
    padding: 2px 5px;
    margin: -2px -5px;
    border-radius: 3px;
}

.ticket-price {
    background: #28a745;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.9em;
    margin-left: 10px;
}

.ticket-schedule-info {
    font-size: 0.85em;
    color: #6c757d;
    margin-top: 4px;
    font-style: italic;
}

/* Schedule Item Ticket Links */
.cee-schedule-tickets {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.cee-ticket-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #007bff;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9em;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cee-ticket-link:hover {
    background: #0056b3;
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0, 123, 255, 0.3);
}

.cee-icon-ticket {
    font-size: 1.1em;
}

/* ═══════════════════════════════════════
   FORM STYLES
   ═══════════════════════════════════════ */

.cee-form-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.cee-form-title {
    font-size: 1.8em;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 24px 0;
    padding-bottom: 16px;
    border-bottom: 2px solid #e8e8e8;
}

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

.cee-form-label {
    display: block;
    font-weight: 600;
    font-size: 0.95em;
    color: #333;
    margin-bottom: 6px;
}

.cee-required {
    color: #dc3232;
}

.cee-form-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #d0d5dd;
    border-radius: 6px;
    font-size: 1em;
    color: #333;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.cee-form-input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.15);
}

.cee-form-textarea {
    resize: vertical;
    min-height: 100px;
}

.cee-form-select {
    appearance: auto;
}

.cee-form-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
}

.cee-form-option {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.95em;
    color: #444;
    cursor: pointer;
    padding: 4px 0;
}

.cee-form-option input[type="checkbox"],
.cee-form-option input[type="radio"] {
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
}

.cee-form-datetime {
    display: flex;
    gap: 10px;
}

.cee-form-datetime input {
    flex: 1;
}

.cee-form-section-divider {
    margin: 28px 0 20px;
    text-align: center;
    position: relative;
}

.cee-form-section-divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: #d0d5dd;
}

.cee-form-section-divider span {
    position: relative;
    background: #fff;
    padding: 0 16px;
    font-size: 0.85em;
    font-weight: 600;
    color: #007bff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cee-form-submit-row {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #e8e8e8;
}

.cee-form-submit-btn {
    display: block;
    width: 100%;
    padding: 14px 24px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 1.05em;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

.cee-form-submit-btn:hover {
    background: #0056b3;
    transform: translateY(-1px);
}

.cee-form-submit-btn:disabled {
    background: #93bfec;
    cursor: not-allowed;
    transform: none;
}

.cee-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: cee-spin 0.6s linear infinite;
    vertical-align: middle;
    margin-right: 6px;
}

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

/* Form messages */
.cee-form-messages {
    margin-bottom: 20px;
}

.cee-form-success {
    padding: 24px;
    background: #f0fdf4;
    border: 1px solid #86efac;
    border-radius: 8px;
    text-align: center;
}

.cee-form-success-icon {
    font-size: 2.5em;
    color: #22c55e;
    margin-bottom: 10px;
}

.cee-form-success h3 {
    margin: 0 0 8px;
    color: #166534;
    font-size: 1.3em;
}

.cee-form-success p {
    margin: 0 0 6px;
    color: #15803d;
}

.cee-form-lookup-token strong {
    font-family: monospace;
    font-size: 1.1em;
    background: #dcfce7;
    padding: 2px 8px;
    border-radius: 4px;
}

.cee-form-error {
    padding: 12px 16px;
    background: #fef2f2;
    border: 1px solid #fca5a5;
    border-radius: 6px;
    color: #991b1b;
    font-weight: 500;
}

/* Error state on fields */
.cee-form-group-error .cee-form-input,
.cee-form-group-error .cee-form-select,
.cee-form-group-error .cee-form-textarea {
    border-color: #dc3232;
    box-shadow: 0 0 0 3px rgba(220, 50, 50, 0.1);
}

.cee-form-group-error .cee-form-label {
    color: #dc3232;
}

/* ═══════════════════════════════════════
   LIST STYLES
   ═══════════════════════════════════════ */

.cee-lists-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.cee-list-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 20px;
}

.cee-list-title {
    font-size: 1.3em;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 8px;
}

.cee-list-description {
    color: #666;
    font-size: 0.95em;
    margin: 0 0 16px;
}

.cee-list-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cee-list-item {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    align-items: flex-start;
}

.cee-list-item:last-child {
    border-bottom: none;
}

.cee-list-item-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.cee-list-item-content strong {
    display: block;
    color: #333;
    margin-bottom: 4px;
}

.cee-list-item-content p {
    margin: 0;
    font-size: 0.9em;
    color: #666;
}

/* List detail view */
.cee-list-detail {
    max-width: 800px;
    margin: 0 auto;
}

.cee-list-detail-title {
    font-size: 1.8em;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 12px;
}

.cee-list-detail-description {
    color: #555;
    margin-bottom: 24px;
    line-height: 1.6;
}

.cee-list-detail-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    margin-bottom: 12px;
    align-items: flex-start;
}

.cee-list-detail-item-image img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 6px;
}

.cee-list-detail-item-content h4 {
    margin: 0 0 6px;
    font-size: 1.1em;
    color: #333;
}

.cee-list-detail-item-desc {
    color: #555;
    font-size: 0.95em;
    line-height: 1.5;
}

.cee-list-detail-item-location {
    color: #777;
    font-size: 0.85em;
    margin-top: 4px;
}

.cee-list-detail-item-tags {
    margin-top: 6px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.cee-list-item-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

.cee-list-item-link:hover {
    text-decoration: underline;
}

/* List filters */
.cee-list-filters {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.cee-list-search-input {
    min-width: 200px;
}

.cee-list-no-results {
    text-align: center;
    padding: 24px;
    color: #999;
}

/* ═══════════════════════════════════════
   TICKET STYLES
   ═══════════════════════════════════════ */

.cee-tickets-container { max-width: 800px; margin: 20px auto; padding: 0 20px; }
.cee-tickets-grid { display: flex; flex-direction: column; gap: 16px; }
.cee-ticket-card { display: flex; justify-content: space-between; align-items: center; background: #fff; border: 1px solid #e0e0e0; border-radius: 10px; padding: 20px 24px; transition: box-shadow 0.2s; }
.cee-ticket-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.cee-ticket-card.cee-ticket-sold-out { opacity: 0.6; }
.cee-ticket-name { font-size: 1.1em; font-weight: 700; color: #333; margin: 0 0 4px; }
.cee-ticket-description { font-size: 0.9em; color: #666; margin: 0; line-height: 1.4; }
.cee-ticket-meta { text-align: right; flex-shrink: 0; margin-left: 20px; }
.cee-ticket-price { font-size: 1.3em; font-weight: 700; color: #1a1a2e; margin-bottom: 6px; }
.cee-ticket-availability { font-size: 0.8em; color: #888; margin-bottom: 8px; }
.cee-ticket-buy-btn { display: inline-block; padding: 8px 20px; background: #2563eb; color: #fff; border-radius: 6px; text-decoration: none; font-weight: 600; font-size: 0.9em; transition: background 0.2s; }
.cee-ticket-buy-btn:hover { background: #1d4ed8; color: #fff; }
.cee-ticket-sold-out-badge { display: inline-block; padding: 6px 16px; background: #f8d7da; color: #721c24; border-radius: 6px; font-weight: 600; font-size: 0.85em; }
@media (max-width: 480px) {
    .cee-ticket-card { flex-direction: column; text-align: center; }
    .cee-ticket-meta { text-align: center; margin-left: 0; margin-top: 12px; }
}

/* ═══════════════════════════════════════
   PORTAL STYLES (Volunteer, Panel, Vendor)
   ═══════════════════════════════════════ */

.cee-portal {
    max-width: 600px;
    margin: 20px auto;
    padding: 0 20px;
}

.cee-portal-title {
    font-size: 1.5em;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1a1a2e;
}

.cee-portal-desc {
    color: #555;
    margin-bottom: 20px;
    line-height: 1.5;
}

.cee-portal-input-row {
    display: flex;
    gap: 10px;
}

.cee-portal-input-row .cee-form-input {
    flex: 1;
}

.cee-portal-input-row .cee-form-submit-btn {
    white-space: nowrap;
    flex-shrink: 0;
}

.cee-portal-result {
    margin-top: 20px;
}

.cee-portal-status-card {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
}

.cee-portal-name {
    font-size: 1.2em;
    font-weight: 700;
    margin: 0 0 12px;
    color: #333;
}

.cee-portal-status {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.cee-portal-status-label {
    font-weight: 600;
    color: #555;
}

.cee-portal-status-value {
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 0.9em;
}

.cee-status-submitted, .cee-status-under_review {
    background: #fff3cd;
    color: #856404;
}

.cee-status-approved {
    background: #d4edda;
    color: #155724;
}

.cee-status-rejected {
    background: #f8d7da;
    color: #721c24;
}

.cee-status-waitlisted {
    background: #cce5ff;
    color: #004085;
}

.cee-portal-applied-date {
    font-size: 0.85em;
    color: #888;
    margin-top: 8px;
}

.cee-portal-detail-row {
    margin-top: 10px;
    color: #555;
    line-height: 1.5;
}

.cee-portal-not-found p {
    background: #fff8e1;
    border: 1px solid #ffecb3;
    padding: 12px 16px;
    border-radius: 8px;
    color: #f57c00;
}

.cee-portal-error {
    background: #fee;
    border: 1px solid #fcc;
    padding: 12px 16px;
    border-radius: 8px;
    color: #c00;
}

@media (max-width: 480px) {
    .cee-portal-input-row {
        flex-direction: column;
    }
}

/* Guest card as link (pages mode) */
a.cee-guest-item-link {
    text-decoration: none;
    color: inherit;
    display: block;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

a.cee-guest-item-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    color: inherit;
    text-decoration: none;
}

/* Disabled cancelled guest card (non-clickable in pages mode) */
.cee-guest-item-disabled {
    pointer-events: none;
    cursor: default;
}

.cee-guest-item-disabled:hover {
    transform: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Single Guest Page (CPT) — fully self-contained, overrides theme styles */
.cee-guest-single-page {
    max-width: 900px !important;
    margin: 30px auto !important;
    padding: 30px !important;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    box-sizing: border-box;
    float: none !important;
    width: 100% !important;
    position: relative;
    clear: both;
}

.cee-guest-single-page .cee-guest-detail-header {
    display: flex !important;
    gap: 24px;
    align-items: flex-start;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.cee-guest-single-page .cee-guest-detail-image {
    flex: 0 0 280px;
}

.cee-guest-single-page .cee-guest-detail-image img {
    width: 280px;
    height: 280px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

.cee-guest-single-page .cee-guest-detail-info {
    flex: 1;
    min-width: 200px;
}

.cee-guest-single-page .cee-guest-detail-name {
    font-size: 2em;
    font-weight: 700;
    margin: 0 0 8px;
    line-height: 1.2;
}

.cee-guest-single-page .cee-guest-detail-title {
    font-size: 1.15em;
    font-style: italic;
    color: #555;
    margin: 0 0 12px;
}

@media (max-width: 640px) {
    .cee-guest-single-page .cee-guest-detail-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .cee-guest-single-page .cee-guest-detail-image {
        flex: none;
    }
}

.cee-guest-cancelled-notice {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 20px;
    font-weight: 600;
    color: #856404;
}

.cee-guest-detail-days {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.cee-day-badge {
    display: inline-block;
    padding: 3px 12px;
    background: #e3f2fd;
    color: #1565c0;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
}

.cee-guest-detail-tags {
    margin-top: 8px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.cee-guest-detail-social {
    margin-top: 24px;
}

.cee-guest-detail-social h3 {
    margin-bottom: 12px;
}

.cee-guest-detail-social a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 20px;
    background: #f0f0f0;
    color: #333;
    text-decoration: none;
    font-size: 0.9em;
    font-weight: 500;
    margin-right: 8px;
    margin-bottom: 8px;
    transition: background 0.2s;
}

.cee-guest-detail-social a:hover {
    background: #e0e0e0;
}

.cee-guest-detail-back {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.cee-guest-detail-back a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.cee-guest-detail-back a:hover {
    text-decoration: underline;
}

.cee-guest-archive-wrap {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.cee-guest-archive-title {
    font-size: 2em;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

/* ═══════════════════════════════════════
   GUEST DETAIL STYLES
   ═══════════════════════════════════════ */

.cee-guest-detail {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.cee-guest-detail-header {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e8e8e8;
}

.cee-guest-detail-image {
    flex: 0 0 200px;
}

.cee-guest-detail-image img {
    width: 200px;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.cee-guest-detail-info {
    flex: 1;
}

.cee-guest-detail-name {
    font-size: 2em;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 8px;
}

.cee-guest-detail-title {
    font-size: 1.1em;
    color: #666;
    font-style: italic;
    margin: 0;
}

.cee-guest-detail-bio {
    font-size: 1em;
    line-height: 1.7;
    color: #444;
    margin-bottom: 24px;
}

.cee-guest-detail-pricing {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 24px;
}

.cee-guest-detail-pricing h3 {
    margin: 0 0 10px;
    font-size: 1.1em;
    color: #333;
}

.cee-guest-detail-pricing p {
    margin: 4px 0;
    color: #555;
}

.cee-guest-detail-schedule {
    padding-bottom: 4px;
}

.cee-guest-detail-schedule h3 {
    margin: 0 0 16px;
    font-size: 1.2em;
    color: #333;
}

.cee-guest-schedule-item {
    padding: 12px 16px;
    border-left: 3px solid #007bff;
    background: #f8f9fa;
    border-radius: 0 6px 6px 0;
    margin-bottom: 10px;
}

.cee-guest-schedule-time {
    font-size: 0.85em;
    color: #007bff;
    font-weight: 600;
    margin-bottom: 4px;
}

.cee-guest-schedule-title {
    font-weight: 600;
    color: #333;
}

.cee-guest-schedule-location {
    font-size: 0.9em;
    color: #666;
    margin-top: 2px;
}

/* Responsive */
@media (max-width: 600px) {
    .cee-form-container,
    .cee-guest-detail {
        padding: 16px;
    }

    .cee-guest-detail-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .cee-guest-detail-image {
        flex: none;
    }

    .cee-form-options {
        flex-direction: column;
    }

    .cee-form-datetime {
        flex-direction: column;
    }
}

/* ─── Embed-specific styles ─── */

.cee-guest-cancelled .cee-guest-image {
    opacity: 0.5;
    filter: grayscale(60%);
}

.cee-guest-cancelled-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #dc3232;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cee-guest-days {
    font-size: 12px;
    color: #666;
    margin: 4px 0 0;
}

.cee-schedule-paid-badge {
    display: inline-block;
    background: #4caf50;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 3px;
    margin-left: 8px;
}

/* Social links in modal */
.cee-modal-social {
    margin-top: 16px;
}

.cee-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cee-social-link {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    color: #fff;
    transition: opacity 0.2s;
}

.cee-social-link:hover {
    opacity: 0.85;
    color: #fff;
}

.cee-social-twitter {
    background: #1da1f2;
}

.cee-social-instagram {
    background: #e4405f;
}

.cee-social-website {
    background: #555;
}

.cee-social-imdb {
    background: #f5c518;
    color: #000;
}

.cee-social-imdb:hover {
    color: #000;
}

/* ─── Side Panel (slide-in from right) ─── */

.cee-panel {
    display: none;
    position: fixed;
    z-index: 99999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.cee-panel.cee-panel-open {
    display: block;
}

.cee-panel-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    animation: fadeIn 0.25s ease;
}

.cee-panel-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 480px;
    max-width: 90vw;
    height: 100%;
    background: #fff;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
    overflow-y: auto;
    transform: translateX(100%);
    animation: cee-slideInRight 0.3s ease forwards;
}

@keyframes cee-slideInRight {
    from { transform: translateX(100%); }
    to   { transform: translateX(0); }
}

.cee-panel.cee-panel-closing .cee-panel-content {
    animation: cee-slideOutRight 0.25s ease forwards;
}

@keyframes cee-slideOutRight {
    from { transform: translateX(0); }
    to   { transform: translateX(100%); }
}

.cee-panel.cee-panel-closing .cee-panel-backdrop {
    animation: cee-fadeOut 0.25s ease forwards;
}

@keyframes cee-fadeOut {
    from { opacity: 1; }
    to   { opacity: 0; }
}

.cee-panel-close {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 28px;
    color: #666;
    cursor: pointer;
    z-index: 10;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s, color 0.2s;
}

.cee-panel-close:hover,
.cee-panel-close:focus {
    background: #f0f0f0;
    color: #333;
}

.cee-panel-body {
    padding: 0;
}

.cee-panel-image-wrapper {
    width: 100%;
    max-height: 400px;
    overflow: hidden;
    background: #f5f5f5;
}

.cee-panel-guest-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 400px;
}

.cee-panel-info {
    padding: 24px;
}

.cee-panel-guest-name {
    font-size: 1.6em;
    font-weight: 700;
    margin: 0 0 4px 0;
    color: #222;
}

.cee-panel-guest-title {
    font-size: 1em;
    color: #666;
    margin: 0 0 16px 0;
}

.cee-panel-guest-description {
    font-size: 0.95em;
    line-height: 1.7;
    color: #444;
    margin-bottom: 20px;
}

.cee-panel-pricing {
    background: #f8f8f8;
    padding: 16px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.cee-panel-pricing h4,
.cee-panel-schedule h4,
.cee-panel-social h4 {
    margin: 0 0 12px 0;
    font-size: 1em;
    color: #333;
}

.cee-panel-schedule {
    margin-top: 16px;
}

.cee-panel-social {
    margin-top: 16px;
}

@media (max-width: 480px) {
    .cee-panel-content {
        width: 100vw;
        max-width: 100vw;
    }
}

/* ─── Checkout Flow ──────────────────────────────────────── */
/* All rules scoped under #cee-checkout-app for WP theme specificity */
#cee-checkout-app {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 1.5rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    box-sizing: border-box;
    color: #e5e7eb;
}
#cee-checkout-app *, #cee-checkout-app *::before, #cee-checkout-app *::after {
    box-sizing: border-box;
}
#cee-checkout-app .cee-checkout-loading {
    text-align: center;
    padding: 3rem;
    color: #9ca3af;
}
#cee-checkout-app .cee-checkout-error {
    text-align: center;
    padding: 2rem;
    color: #ef4444;
    background: #451a1a;
    border-radius: 8px;
}
#cee-checkout-app .cee-checkout-step {
    animation: cee-fade-in 0.2s ease;
}
@keyframes cee-fade-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
#cee-checkout-app .cee-step-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}
#cee-checkout-app .cee-step-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    flex: 1;
    color: #f1f5f9;
}
#cee-checkout-app .cee-step-indicator {
    font-size: 0.85rem;
    color: #9ca3af;
    font-weight: 500;
}
#cee-checkout-app .cee-back-btn {
    background: none;
    border: none;
    color: #60a5fa;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 0.25rem 0.5rem;
    font-weight: 500;
}
#cee-checkout-app .cee-back-btn:hover { text-decoration: underline; }

/* Ticket list */
#cee-checkout-app .cee-ticket-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
#cee-checkout-app .cee-ticket-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem;
    background: #1e293b;
    border-radius: 10px;
    border: 1px solid #334155;
}
#cee-checkout-app .cee-ticket-row.cee-sold-out { opacity: 0.5; }
#cee-checkout-app .cee-ticket-details { flex: 1; }
#cee-checkout-app .cee-ticket-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
    color: #f1f5f9;
}
#cee-checkout-app .cee-ticket-desc {
    font-size: 0.85rem;
    color: #94a3b8;
    margin: 0 0 0.5rem 0;
}
#cee-checkout-app .cee-ticket-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fbbf24;
}
#cee-checkout-app .cee-ticket-remaining {
    font-size: 0.75rem;
    color: #f97316;
    margin-left: 0.5rem;
}
#cee-checkout-app .cee-sold-out-badge {
    background: #ef4444;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Quantity controls */
#cee-checkout-app .cee-ticket-qty {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
#cee-checkout-app .cee-qty-btn {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    border: 2px solid #475569;
    background: transparent;
    color: #e2e8f0;
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
    padding: 0;
}
#cee-checkout-app .cee-qty-btn:hover:not(:disabled) {
    border-color: #fbbf24;
    color: #fbbf24;
    background: rgba(251,191,36,0.1);
}
#cee-checkout-app .cee-qty-btn:disabled {
    opacity: 0.3;
    cursor: default;
}
#cee-checkout-app .cee-qty-val {
    font-size: 1.1rem;
    font-weight: 700;
    min-width: 2rem;
    text-align: center;
    color: #f1f5f9;
}

/* Cart summary */
#cee-checkout-app .cee-cart-summary {
    margin-top: 1.5rem;
    padding: 1.25rem;
    background: #0f172a;
    border-radius: 10px;
    border: 1px solid #334155;
}
#cee-checkout-app .cee-cart-line {
    display: flex;
    justify-content: space-between;
    font-size: 1.1rem;
    font-weight: 600;
    color: #f1f5f9;
    margin-bottom: 1rem;
}

/* Buttons */
#cee-checkout-app .cee-checkout-btn {
    display: block;
    width: 100%;
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s;
    text-align: center;
    text-decoration: none;
}
#cee-checkout-app .cee-primary-btn {
    background: #3b82f6;
    color: #ffffff;
}
#cee-checkout-app .cee-primary-btn:hover { background: #2563eb; }
#cee-checkout-app .cee-primary-btn:disabled {
    background: #64748b;
    cursor: not-allowed;
}

/* Info form */
#cee-checkout-app .cee-info-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
#cee-checkout-app .cee-form-row {
    display: flex;
    gap: 1rem;
}
#cee-checkout-app .cee-form-field {
    flex: 1;
    min-width: 0;
}
#cee-checkout-app .cee-form-field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #cbd5e1;
    margin-bottom: 0.35rem;
}
#cee-checkout-app .cee-form-field input,
#cee-checkout-app .cee-form-field input[type="text"],
#cee-checkout-app .cee-form-field input[type="email"],
#cee-checkout-app .cee-form-field input[type="tel"] {
    display: block;
    width: 100%;
    padding: 0.65rem 0.75rem;
    border: 1px solid #475569;
    border-radius: 6px;
    background: #1e293b;
    color: #f1f5f9;
    font-size: 0.95rem;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
}
#cee-checkout-app .cee-form-field input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59,130,246,0.3);
}

/* Order summary */
#cee-checkout-app .cee-order-summary {
    background: #0f172a;
    border-radius: 10px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    border: 1px solid #334155;
}
#cee-checkout-app .cee-order-summary h3 {
    margin: 0 0 0.75rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
#cee-checkout-app .cee-summary-line {
    display: flex;
    justify-content: space-between;
    padding: 0.35rem 0;
    color: #cbd5e1;
    font-size: 0.95rem;
}
#cee-checkout-app .cee-summary-fee { color: #94a3b8; font-size: 0.85rem; }
#cee-checkout-app .cee-summary-total {
    border-top: 1px solid #334155;
    padding-top: 0.75rem;
    margin-top: 0.5rem;
    font-weight: 700;
    font-size: 1.1rem;
    color: #fbbf24;
}

/* Payment */
#cee-checkout-app .cee-provider-select {
    margin-bottom: 1.5rem;
}
#cee-checkout-app .cee-provider-select > label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #cbd5e1;
    margin-bottom: 0.5rem;
}
#cee-checkout-app .cee-provider-options {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
#cee-checkout-app .cee-provider-option {
    padding: 0.65rem 1rem;
    border: 2px solid #334155;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    color: #cbd5e1;
    transition: all 0.15s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
#cee-checkout-app .cee-provider-option:hover { border-color: #64748b; }
#cee-checkout-app .cee-provider-option.cee-selected {
    border-color: #3b82f6;
    background: rgba(59,130,246,0.1);
    color: #93c5fd;
}
#cee-checkout-app .cee-provider-option input[type="radio"] { display: none; }

#cee-checkout-app #cee-stripe-element,
#cee-checkout-app #cee-square-card {
    background: #1e293b;
    border: 1px solid #475569;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    min-height: 44px;
}
#cee-checkout-app #cee-paypal-buttons {
    margin-bottom: 1.5rem;
}

#cee-checkout-app .cee-checkout-error-msg {
    background: #451a1a;
    color: #fca5a5;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    border: 1px solid #7f1d1d;
}
#cee-checkout-app .cee-no-payment {
    text-align: center;
    padding: 2rem;
    background: #1e293b;
    border-radius: 10px;
    border: 1px solid #334155;
    margin-bottom: 1.5rem;
    color: #94a3b8;
}

/* Processing */
#cee-checkout-app .cee-processing {
    text-align: center;
    padding: 4rem 2rem;
}
#cee-checkout-app .cee-spinner-lg {
    width: 48px;
    height: 48px;
    border: 4px solid #334155;
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: cee-spin 0.8s linear infinite;
    margin: 0 auto 1.5rem;
}
@keyframes cee-spin { to { transform: rotate(360deg); } }
#cee-checkout-app .cee-processing h2 { color: #f1f5f9; }
#cee-checkout-app .cee-processing p { color: #94a3b8; }

/* Success */
#cee-checkout-app .cee-success {
    text-align: center;
    padding: 3rem 2rem;
}
#cee-checkout-app .cee-success-icon {
    width: 64px;
    height: 64px;
    line-height: 64px;
    font-size: 2rem;
    background: #22c55e;
    color: white;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
}
#cee-checkout-app .cee-success h2 { color: #f1f5f9; margin-bottom: 0.5rem; }
#cee-checkout-app .cee-order-number {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fbbf24;
    margin-bottom: 0.5rem;
}
#cee-checkout-app .cee-success p { color: #94a3b8; }
#cee-checkout-app .cee-success-amount {
    font-size: 1.1rem;
    font-weight: 600;
    color: #cbd5e1;
    margin-top: 1rem;
}

@media (max-width: 640px) {
    #cee-checkout-app .cee-form-row { flex-direction: column; }
    #cee-checkout-app .cee-provider-options { flex-direction: column; }
    #cee-checkout-app .cee-ticket-row { flex-direction: column; gap: 1rem; align-items: flex-start; }
    #cee-checkout-app .cee-addon-row { flex-direction: column; gap: 0.75rem; align-items: flex-start; }
}

/* ─── Checkout: Sale Prices ─────────────────────────────── */
#cee-checkout-app .cee-price-original,
#cee-checkout-app .cee-price-original-sm {
    text-decoration: line-through;
    color: #94a3b8;
    font-weight: 400;
    margin-right: 0.5rem;
}
#cee-checkout-app .cee-price-original { font-size: 0.9rem; }
#cee-checkout-app .cee-price-original-sm { font-size: 0.8rem; }
#cee-checkout-app .cee-price-sale {
    color: #22c55e;
    font-weight: 700;
    font-size: 1.2rem;
}
#cee-checkout-app .cee-sale-badge {
    display: inline-block;
    background: #22c55e;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
#cee-checkout-app .cee-sale-name {
    display: block;
    font-size: 0.75rem;
    color: #22c55e;
    margin-top: 2px;
}

/* ─── Checkout: Add-ons ─────────────────────────────────── */
#cee-checkout-app .cee-addons-section {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #334155;
}
#cee-checkout-app .cee-addons-section h3 {
    color: #f1f5f9;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}
#cee-checkout-app .cee-addon-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
#cee-checkout-app .cee-addon-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 8px;
    padding: 1rem;
}
#cee-checkout-app .cee-addon-details {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}
#cee-checkout-app .cee-addon-img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 6px;
}
#cee-checkout-app .cee-addon-name {
    color: #f1f5f9;
    font-weight: 600;
    font-size: 0.95rem;
    margin: 0 0 2px;
}
#cee-checkout-app .cee-addon-desc {
    color: #94a3b8;
    font-size: 0.8rem;
    margin: 0 0 4px;
}
#cee-checkout-app .cee-addon-price {
    color: #3b82f6;
    font-weight: 600;
    font-size: 0.9rem;
}
#cee-checkout-app .cee-addon-qty {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ─── Checkout: Custom Questions ────────────────────────── */
#cee-checkout-app .cee-questions-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}
#cee-checkout-app .cee-question-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
#cee-checkout-app .cee-question-field label {
    color: #cbd5e1;
    font-size: 0.85rem;
    font-weight: 500;
}
#cee-checkout-app .cee-question-input,
#cee-checkout-app .cee-question-field select,
#cee-checkout-app .cee-question-field textarea {
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 6px;
    color: #f1f5f9;
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
}
#cee-checkout-app .cee-question-input:focus,
#cee-checkout-app .cee-question-field select:focus,
#cee-checkout-app .cee-question-field textarea:focus {
    border-color: #3b82f6;
    outline: none;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.3);
}
#cee-checkout-app .cee-checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #cbd5e1;
    font-size: 0.9rem;
    cursor: pointer;
}
#cee-checkout-app .cee-question-checkbox {
    width: 18px;
    height: 18px;
    accent-color: #3b82f6;
}

/* ─── Checkout: Order Summary (enhanced) ────────────────── */
#cee-checkout-app .cee-summary-addon { color: #94a3b8; font-size: 0.85rem; }
#cee-checkout-app .cee-summary-subtotal {
    border-top: 1px solid #334155;
    padding-top: 0.5rem;
    margin-top: 0.25rem;
    font-weight: 500;
}
#cee-checkout-app .cee-summary-discount {
    color: #22c55e;
    font-size: 0.9rem;
    font-weight: 500;
}

/* ─── Q&A / FAQ ──────────────────────────────────────────── */
.cee-qna-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    box-sizing: border-box;
}
/* Ensure the shortcode wrapper is full width so auto margins work */
.wp-block-shortcode {
    width: 100%;
}
.cee-qna-item {
    background: #16213e;
    border-radius: 8px;
    border: 1px solid #1e3a5f;
    overflow: hidden;
    transition: border-color 0.2s;
}
.cee-qna-item[open] {
    border-color: #fbbf24;
}
.cee-qna-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    color: #f1f5f9;
    list-style: none;
    user-select: none;
}
.cee-qna-question::-webkit-details-marker {
    display: none;
}
.cee-qna-question::marker {
    content: '';
}
.cee-qna-question:hover {
    background: rgba(251, 191, 36, 0.05);
}
.cee-qna-question-text {
    flex: 1;
    margin-right: 1rem;
}
.cee-qna-chevron {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    position: relative;
}
.cee-qna-chevron::before,
.cee-qna-chevron::after {
    content: '';
    position: absolute;
    background: #fbbf24;
    border-radius: 1px;
    transition: transform 0.2s ease;
}
.cee-qna-chevron::before {
    width: 12px;
    height: 2px;
    top: 9px;
    left: 4px;
}
.cee-qna-chevron::after {
    width: 2px;
    height: 12px;
    top: 4px;
    left: 9px;
}
.cee-qna-item[open] .cee-qna-chevron::after {
    transform: rotate(90deg);
    opacity: 0;
}
.cee-qna-answer {
    padding: 0 1.5rem 1.25rem;
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.7;
}
.cee-qna-answer a {
    color: #fbbf24;
    text-decoration: underline;
}
.cee-qna-answer p {
    margin: 0 0 0.5rem 0;
}
.cee-qna-answer p:last-child {
    margin-bottom: 0;
}

/* ─── Ticket Recovery ────────────────────────────────────── */
#cee-ticket-recovery {
    max-width: 560px;
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
}
#cee-ticket-recovery .cee-recovery-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #f1f5f9;
    margin: 0 0 0.5rem 0;
}
#cee-ticket-recovery .cee-recovery-desc {
    font-size: 0.95rem;
    color: #94a3b8;
    margin: 0 0 1.5rem 0;
    line-height: 1.6;
}
#cee-ticket-recovery .cee-recovery-input-row {
    display: flex;
    gap: 0.5rem;
}
#cee-ticket-recovery .cee-recovery-input {
    flex: 1;
    padding: 0.7rem 1rem;
    border: 1px solid #475569;
    border-radius: 8px;
    background: #1e293b;
    color: #f1f5f9;
    font-size: 0.95rem;
    -webkit-appearance: none;
    appearance: none;
}
#cee-ticket-recovery .cee-recovery-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59,130,246,0.3);
}
#cee-ticket-recovery .cee-recovery-btn {
    padding: 0.7rem 1.5rem;
    background: #3b82f6;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s;
}
#cee-ticket-recovery .cee-recovery-btn:hover { background: #2563eb; }
#cee-ticket-recovery .cee-recovery-btn:disabled { opacity: 0.6; cursor: not-allowed; }
#cee-ticket-recovery .cee-recovery-result {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    line-height: 1.5;
}
#cee-ticket-recovery .cee-recovery-success {
    background: rgba(34,197,94,0.1);
    color: #4ade80;
    border: 1px solid rgba(34,197,94,0.2);
}
#cee-ticket-recovery .cee-recovery-error {
    background: rgba(239,68,68,0.1);
    color: #fca5a5;
    border: 1px solid rgba(239,68,68,0.2);
}
@media (max-width: 480px) {
    #cee-ticket-recovery .cee-recovery-input-row {
        flex-direction: column;
    }
}

/* =======================================
   VENDOR DIRECTORY STYLES
   ======================================= */

.cee-vendor-directory {
    margin: 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.cee-vendor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.cee-vendor-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cee-vendor-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.cee-vendor-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: #f5f5f5;
}

.cee-vendor-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
}

.cee-vendor-info {
    padding: 16px 20px 20px;
}

.cee-vendor-name {
    font-size: 1.15em;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 8px;
}

.cee-vendor-booth {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.cee-vendor-description {
    font-size: 0.9em;
    color: #555;
    line-height: 1.6;
    margin: 0 0 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cee-vendor-website-link {
    display: inline-block;
    font-size: 0.9em;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
    transition: color 0.2s;
}

.cee-vendor-website-link:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

@media (max-width: 600px) {
    .cee-vendor-grid {
        grid-template-columns: 1fr;
    }
}

/* =======================================
   VENDOR PORTAL STYLES
   ======================================= */

.cee-vendor-portal {
    max-width: 600px;
    margin: 20px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.cee-vendor-lookup-form {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 30px;
}

.cee-vendor-lookup-form h3 {
    font-size: 1.4em;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 8px;
}

.cee-vendor-lookup-form > p {
    color: #666;
    font-size: 0.95em;
    margin: 0 0 20px;
    line-height: 1.5;
}

.cee-vendor-lookup-error {
    margin-top: 16px;
}

.cee-vendor-status {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 30px;
}

.cee-vendor-status h3 {
    font-size: 1.4em;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 16px;
}

.cee-vendor-status-card {
    background: #f8f9fa;
    border-radius: 6px;
    padding: 16px 20px;
}

.cee-vendor-status-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #e8e8e8;
}

.cee-vendor-status-row:last-child {
    border-bottom: none;
}

.cee-vendor-status-label {
    font-weight: 600;
    color: #555;
    font-size: 0.95em;
}

.cee-vendor-status-value {
    color: #333;
    font-size: 0.95em;
}

.cee-vendor-status-badge {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 12px;
    font-size: 0.85em;
    font-weight: 600;
    text-transform: capitalize;
}

.cee-vendor-status-badge.status-pending {
    background: #fff3cd;
    color: #856404;
}

.cee-vendor-status-badge.status-approved {
    background: #d4edda;
    color: #155724;
}

.cee-vendor-status-badge.status-rejected {
    background: #f8d7da;
    color: #721c24;
}

.cee-vendor-status-badge.status-waitlisted {
    background: #d1ecf1;
    color: #0c5460;
}

.cee-vendor-status-badge.status-cancelled {
    background: #e2e3e5;
    color: #383d41;
}

@media (max-width: 480px) {
    .cee-vendor-portal {
        margin: 10px;
    }

    .cee-vendor-lookup-form,
    .cee-vendor-status {
        padding: 20px;
    }
}