/**
 * WBD Event Manager - Frontend Styles
 */

/* ========================================
   Event Form Container
   ======================================== */
.wbd-mke-form-container {
    max-width: 900px;
    margin: 40px auto;
    background: #fff;
    border: 2px solid #4443e9;
    border-radius: 20px;
    padding: 30px 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Progress Steps */
.wbd-mke-progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding: 0 20px;
}

.wbd-mke-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: none;
    text-align: center;
}

.wbd-mke-step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: #4443e9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    border: 2px solid #4443e9;
    background: #fff;
    z-index: 1;
}

.wbd-mke-step-label {
    font-size: 14px;
    color: #4443e9;
    font-weight: 500;
    transition: color 0.3s ease;
}

.wbd-mke-step-active .wbd-mke-step-number,
.wbd-mke-step-completed .wbd-mke-step-number {
    background: #4443e9;
    color: #fff;
}

.wbd-mke-step-active .wbd-mke-step-label,
.wbd-mke-step-completed .wbd-mke-step-label {
    color: #4443e9;
}

.wbd-mke-step-connector {
    flex: 1;
    height: 0px;
    margin: 0 -30px;
    margin-bottom: 30px;
    border: 1px dashed #4443e9;
}

/* Form Steps */
.wbd-mke-form-step {
    display: none;
}

.wbd-mke-form-step.wbd-mke-active {
    display: block;
}

.wbd-mke-step-title {
    font-size: 28px;
    font-weight: 600;
    color: #4443e9;
    margin-bottom: 20px;
    text-align: center;
}

.wbd-mke-section-title {
    font-size: 20px;
    font-weight: 600;
    color: #4443e9;
    margin: 30px 0 15px;
}

/* Form Groups */
.wbd-mke-form-group {
    margin-bottom: 25px;
}

.wbd-mke-form-group label, #eventbrite-fields .normalblack{
    display: block;
    margin-bottom: 8px;
    color: #000;
    font-weight: 600;
    font-size: 16px;
}

.wbd-mke-required {
    color: #e74c3c;
}

.wbd-mke-form-group input[type="text"],
.wbd-mke-form-group input[type="number"],
.wbd-mke-form-group input[type="email"],
.wbd-mke-form-group input[type="url"],
.wbd-mke-form-group input[type="tel"],
.wbd-mke-form-group input[type="date"],
.wbd-mke-form-group input[type="time"],
.wbd-mke-form-group select,
.wbd-mke-form-group textarea {
    width: 100%;
    padding: 9px 15px;
    border: 1px solid #00064d;
    border-radius: 40px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
    height: 46px;
}

.wbd-mke-form-group select{
    background-position: right 15px center;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2300064d' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

/* Show number input spinner arrows */
/*.wbd-mke-form-group input[type="number"]::-webkit-inner-spin-button,
.wbd-mke-form-group input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: auto !important;
    opacity: 1 !important;
    margin-right: 10px;
}

.wbd-mke-form-group input[type="number"] {
    -moz-appearance: number-input !important;
}*/

.wbd-mke-form-group textarea {
    border-radius: 20px;
    min-height: 120px;
    resize: vertical;
    font-family: inherit;
    line-height: 1.5;
}

.wbd-mke-form-group textarea#company_info {
    min-height: 100px;
}

.wbd-mke-form-group input:focus,
.wbd-mke-form-group select:focus,
.wbd-mke-form-group textarea:focus {
    outline: none;
    border-color: #4443e9;
    box-shadow: 0 0 0 3px rgba(68, 67, 233, 0.1);
}

.wbd-mke-char-counter {
    font-size: 13px;
    color: #666;
    text-align: right;
    margin-top: 5px;
}

.wbd-mke-field-hint {
    font-size: 13px;
    color: #666;
    margin-top: 5px;
}

/* File Input - Hide Native Filename */
.wbd-mke-form-group input[type="file"] {
    width: auto;
    max-width: 100%;
    color: transparent;
}

.wbd-mke-form-group input[type="file"]::file-selector-button {
    background: #1a3a5c;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    margin-right: 0;
    transition: background 0.3s ease;
}

.wbd-mke-form-group input[type="file"]::file-selector-button:hover {
    background: #2a5a8c;
}

/* File Input Selected Indicator */
.wbd-mke-file-selected {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #cbe63e 0%, #a8c92e 100%);
    padding: 8px 16px;
    border-radius: 25px;
    margin-top: 10px;
    font-size: 14px;
    box-shadow: 0 2px 6px rgba(203, 230, 62, 0.3);
}

.wbd-mke-file-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: #fff;
    border-radius: 50%;
    color: #4a8c2a;
    font-weight: bold;
    font-size: 12px;
}

.wbd-mke-file-name {
    color: #1a3a5c;
    font-weight: 600;
    max-width: 250px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wbd-mke-file-size {
    color: #4a6b3a;
    font-size: 12px;
}

/* Form Row */
.wbd-mke-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Phone Row - Country Code + Phone Input */
.wbd-mke-phone-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 15px;
    align-items: start;
}

.wbd-mke-country-code-select {
    width: 100%;
}

.wbd-mke-phone-input {
    width: 100%;
}

/* Virtual Event Row */
.wbd-mke-virtual-event-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Date Row - Tarihler yan yana */
.wbd-mke-date-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
}

/* Event Date From Group - Hidden by default */
#event_date_from_group {
    display: none;
}

/* When from date is hidden, event_dates takes full width */
.wbd-mke-date-row:has(#event_date_from_group:not([style*="display: block"])) {
    grid-template-columns: 1fr;
}

/* Fallback for browsers that don't support :has() */
@supports not (selector(:has(*))) {
    .wbd-mke-date-row #event_date_from_group + .wbd-mke-form-group {
        grid-column: 1 / -1;
    }
    .wbd-mke-date-row #event_date_from_group[style*="display: block"] + .wbd-mke-form-group {
        grid-column: auto;
    }
}

/* Checkbox Label */
.wbd-mke-checkbox-label {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.wbd-mke-checkbox-label input[type="checkbox"] {
    width: auto !important;
    margin: 0;
    flex-shrink: 0;
    margin-top: 6px;
}

/* Social Media Icons */
.wbd-mke-social-icons {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.wbd-mke-social-btn {
    width: 50px;
    height: 50px;
    border: 2px solid #ddd;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #666;
}

.wbd-mke-social-btn:hover {
    border-color: #00064d;
    color: #00064d;
}

.wbd-mke-social-btn.active {
    border-color: #00064d;
    background: #00064d;
    color: #fff;
}

.wbd-mke-social-btn svg {
    width: 24px;
    height: 24px;
}

.wbd-mke-social-inputs {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wbd-mke-social-input {
    display: none;
}

.wbd-mke-social-input input {
    width: 100%;
    padding: 9px 15px;
    border: 1px solid #00064d;
    border-radius: 40px;
    font-size: 16px;
    box-sizing: border-box;
}

.wbd-mke-social-input input:focus {
    outline: none;
    border-color: #4443e9;
    box-shadow: 0 0 0 3px rgba(68, 67, 233, 0.1);
}

/* Map Container */
.wbd-mke-map-container {
    margin: 20px 0;
}

.wbd-mke-map {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    border: 1px solid #ddd;
    margin-bottom: 10px;
}

.wbd-mke-map-hint {
    font-size: 14px;
    color: #666;
    font-style: italic;
}

/* Form Actions */
.wbd-mke-form-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

/* Buttons */
.wbd-mke-btn {
    padding: 2px 10px;
    border-radius: 40px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid;
    text-decoration: none;
    display: inline-block;
}

.wbd-mke-btn-primary {
    background: #4443e9;
    color: white;
    border-color: #4443e9;
}

.wbd-mke-btn-primary:hover {
    background: #fff;
    color: #4443e9;
}

.wbd-mke-btn-secondary {
    background: #fff;
    color: #4443e9;
    border-color: #4443e9;
}

.wbd-mke-btn-secondary:hover {
    background: #4443e9;
    color: #fff;
}

.wbd-mke-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Submission Message */
.wbd-mke-submission-message {
    text-align: center;
    padding: 0 20px;
}

.wbd-mke-subtitle {
    font-size: 18px;
    color: #4443e9;
    font-weight: 600;
    margin: 10px 0 20px;
}

.wbd-mke-submission-message p {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 20px;
}

/* Messages */
.wbd-mke-message {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 16px;
}

.wbd-mke-error {
    background: #fee;
    color: #c33;
    border: 1px solid #fcc;
}

.wbd-mke-success {
    background: #efe;
    color: #363;
    border: 1px solid #cfc;
}

/* ========================================
   Event List Container
   ======================================== */
.wbd-mke-event-list-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0;
}

/* Filters */
.wbd-mke-event-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    border-radius: 20px;
    margin-bottom: 60px;
}

.wbd-mke-filter-group {
    position: relative;
}

.wbd-mke-filter-input {
    width: 250px;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 40px;
    font-size: 16px;
}

/* Reset Button - Hidden */
#wbd-mke-reset-filters {
    display: none;
}

.wbd-mke-suggestions {
    position: absolute;
    width: 100%;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 0 0 10px 10px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 100;
    display: none;
}

.wbd-mke-suggestions.wbd-mke-active {
    display: block;
}

.wbd-mke-suggestion-item {
    padding: 10px 15px;
    cursor: pointer;
    transition: background 0.2s ease;
    font-size: 16px;
    font-weight: 500;
}

.wbd-mke-suggestion-item:hover {
    background: #f1ffe6;
}

/* Event Type Tags - Push to right on desktop */
.wbd-mke-filter-group:has(.wbd-mke-event-type-tags) {
    margin-left: auto;
}

.wbd-mke-event-type-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.wbd-mke-tag {
    padding: 8px 16px;
    border-radius: 20px;
    border: 2px solid #4443e9;
    background: white;
    color: #4443e9;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 14px;
}

.wbd-mke-tag:hover,
.wbd-mke-tag.wbd-mke-active {
    background: #4443e9;
    color: white;
}

/* Event Grid */
.wbd-mke-event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

/* Event Card - Yeni Tasarım */
.wbd-mke-event-card {
    background-color: #cbe63e;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.wbd-mke-event-card:hover {
    background-color: #fafff6;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

/* Bilgi Alanı - Üst */
.wbd-mke-event-info {
    padding: 24px;
    /*flex: 1;*//*mke*/
    display:flex;
    flex-direction:column;
    flex: 1 1 auto;
}

.wbd-mke-company-name {
    font-size: 20px;
    font-weight: 700;
    color: #000;
    margin: 0 0 4px 0;
}

.wbd-mke-event-title {
    font-size: 19px;
    font-weight: 400;
    color: #000;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

/* Box tasarımı için location */
.wbd-mke-event-card-old .wbd-mke-event-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #000;
    font-weight: 500;
    margin-top: auto;
}

.wbd-mke-event-card-old .wbd-mke-event-location svg {
    flex-shrink: 0;
}

.wbd-mke-event-excerpt {
    font-size: 15px;
    line-height: 1.5;
    color: #000;
    margin-bottom: 12px;
}

.wbd-mke-event-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top:auto;
}

.wbd-mke-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #000;
    font-weight: 500;
}

.wbd-mke-meta-item svg {
    flex-shrink: 0;
}

/* Image Alanı - Alt */
.wbd-mke-event-image-wrapper {
    position: relative;
    height: 240px;
}

.wbd-mke-event-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

/* Box tasarımı için grayscale hover efekti */
.wbd-mke-event-card-old .wbd-mke-event-image-wrapper img {
    filter: grayscale(100%);
    transition: filter 0.4s ease;
}

.wbd-mke-event-card-old:hover .wbd-mke-event-image-wrapper img {
    filter: grayscale(0%);
}

/* Footer Overlay (Badge + Arrow) */
.wbd-mke-event-footer-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wbd-mke-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px !important;
    font-weight: 600;
    text-transform: uppercase;
}

.wbd-mke-badge-physical {
    background: #f1ffe6;
    color: #333;
}

.wbd-mke-badge-virtual {
    background: #f1ffe6;
    color: #333;
}

/* Arrow Button */
.wbd-mke-arrow-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #f1ffe6;
    color: #333;
    border-radius: 50%;
    font-size: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.wbd-mke-arrow-btn:hover {
    background: #cbe63e;
    transform: scale(1.1);
    text-transform: none;
}

/* Loading & No Events - Grid'i tamamen kaplasın ve ortada görünsün */
.wbd-mke-loading,
.wbd-mke-no-events {
    grid-column: 1 / -1; /* Tüm kolonları kaplasın */
    text-align: center;
    padding: 60px 20px;
    font-size: 18px;
    color: #3a3ad1;
    background: #fafff6;
    border-radius: 10px;
    margin: 20px 0;
    height: 400px;
    align-content: center;
}

/* Pagination */
.wbd-mke-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.wbd-mke-pagination button {
    padding: 0 10px;
    border: 1px solid #4443e9;
    background: white;
    color: #4443e9;
    border-radius: 15px;
    cursor: pointer;
    font-weight: 400;
    transition: all 0.3s ease;
}

.wbd-mke-pagination button:hover,
.wbd-mke-pagination button.wbd-mke-active {
    background: #4443e9;
    color: white;
}

.wbd-mke-pagination button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Responsive */
@media (max-width: 768px) {
    .wbd-mke-form-container {
        padding: 20px;
    }

    .wbd-mke-progress-steps {
        padding: 0;
    }

    .wbd-mke-step-label {
        font-size: 12px;
    }

    .wbd-mke-form-row,
    .wbd-mke-virtual-event-row,
    .wbd-mke-date-row {
        grid-template-columns: 1fr;
    }

    /* Phone Row - Mobile single column */
    .wbd-mke-phone-row {
        grid-template-columns: 1fr;
    }

    .wbd-mke-event-grid {
        grid-template-columns: 1fr;
    }

    .wbd-mke-form-actions {
        flex-direction: column;
    }

    .wbd-mke-btn {
        width: 100%;
    }

    /* Filters - Mobile Layout */
    .wbd-mke-event-filters {
        flex-direction: column;
        align-items: stretch;
    }

    /* Type buttons first (order: 1) */
    .wbd-mke-event-filters .wbd-mke-filter-group:has(.wbd-mke-event-type-tags) {
        order: 1;
        width: 100%;
    }

    .wbd-mke-event-type-tags {
        justify-content: center;
    }

    /* Search inputs below (order: 2, 3) */
    .wbd-mke-event-filters .wbd-mke-filter-group:has(.wbd-mke-filter-input) {
        order: 2;
        width: 100%;
    }

    .wbd-mke-filter-input {
        width: 100%;
    }
}

/* WordPress Editor Overrides */
.wbd-mke-form-group .wp-editor-container {
    border: 1px solid #00064d;
    border-radius: 10px;
    overflow: hidden;
}

.wbd-mke-form-group .wp-editor-container iframe {
    border-radius: 10px;
}

/* ========================================
   Current Image Preview (Edit Mode)
   ======================================== */
.wbd-mke-current-image {
    margin-bottom: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
}

.wbd-mke-current-image img {
    border-radius: 8px;
    border: 2px solid #ddd;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* ========================================
   My Events Container
   ======================================== */
.wbd-mke-my-events-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0;
}

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

/* My Events - Event Header (Company Name + Status) */
.wbd-mke-my-event-card .wbd-mke-event-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 4px;
    gap: 10px;
}

.wbd-mke-my-event-card .wbd-mke-company-name {
    flex: 1;
}

.wbd-mke-event-status {
    flex-shrink: 0;
}

.wbd-mke-status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wbd-mke-status-approved {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.wbd-mke-status-pending {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

/* My Events Footer - Edit & Delete Actions */
.wbd-mke-my-events-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wbd-mke-my-events-actions {
    display: flex;
    gap: 8px;
}

.wbd-mke-my-events-actions .wbd-mke-btn {
    width: 36px;
    height: 36px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 16px;
}

.wbd-mke-btn-sm {
    padding: 8px 20px;
    font-size: 14px;
}

.wbd-mke-btn-danger {
    background: #fff;
    color: #e74c3c;
    border-color: #e74c3c;
}

.wbd-mke-btn-danger:hover {
    background: #e74c3c;
    color: #fff;
}

.wbd-mke-no-events {
    grid-column: 1 / -1; /* Tüm kolonları kaplasın */
    text-align: center;
    padding: 60px 20px;
    background: #fafff6;
    border-radius: 10px;
    margin: 20px 0;
    align-content: center;
}

.wbd-mke-no-events p {
    font-size: 18px;
    color: #666;
    margin-bottom: 20px;
}

/* Create Event Card - My Events Grid */
.wbd-mke-create-event-card {
    background: transparent;
    border: 3px dashed #cbe63e;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.wbd-mke-create-event-card:hover {
    background: #fafff6;
    border-color: #b8d435;
    transform: translateY(-2px);
}

.wbd-mke-create-event-content {
    text-align: center;
    padding: 30px;
}

.wbd-mke-create-event-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: #cbe63e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.wbd-mke-create-event-card:hover .wbd-mke-create-event-icon {
    background: #b8d435;
    transform: scale(1.1);
}

.wbd-mke-create-event-icon svg {
    color: #1a3a5c;
}

.wbd-mke-create-event-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a3a5c;
    margin-bottom: 8px;
}

.wbd-mke-create-event-desc {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* Responsive - My Events */
@media (max-width: 768px) {
    .wbd-mke-events-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Company Social Links
   ======================================== */
.wbd-company-social-links {
    display: flex;
    align-items: flex-start;
    gap: 5px;
    flex-wrap: wrap;
    flex-direction: column;
}

.wbd-company-social-links a {
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.wbd-company-social-links a:hover {
    opacity: 0.8;
}

.wbd-social-icons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.wbd-social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.wbd-social-icons a:hover {
    transform: scale(1.1);
}

/* Responsive - Social Links */
@media (max-width: 768px) {
    .wbd-company-social-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .wbd-social-icons {
        gap: 12px;
    }
}

/* ========================================
   Eventbrite Integration Styles
   ======================================== */

/* Footer Left Container */
.wbd-mke-footer-left {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

/* Eventbrite Badge */
.wbd-mke-badge-eventbrite {
    background: #4443e9;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
}

.wbd-mke-badge-eventbrite svg {
    width: 10px;
    height: 10px;
}

/* Attendee Badge */
.wbd-mke-attendee-badge {
    background: #4443e9;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
}

.wbd-mke-attendee-badge svg {
    width: 12px;
    height: 12px;
}

/* Secondary Button Style */
.wbd-mke-btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    border: 1px solid #ddd;
}

.wbd-mke-btn-secondary:hover {
    background: #fff;
    border-color: #4443e9;
    color: #4443e9;
}

/* View Attendees Button */
.wbd-mke-view-attendees {
    cursor: pointer;
}

.wbd-mke-view-attendees svg {
    width: 14px;
    height: 14px;
}

/* ========================================
   Attendees Modal
   ======================================== */

/* Modal Open State */
body.wbd-mke-modal-open {
    overflow: hidden;
}

/* Modal Container */
.wbd-mke-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Modal Overlay */
.wbd-mke-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    cursor: pointer;
}

/* Modal Content */
.wbd-mke-modal-content {
    position: relative;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    max-width: 700px;
    width: 100%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    animation: wbd-mke-modal-appear 0.2s ease-out;
}

@keyframes wbd-mke-modal-appear {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Modal Header */
.wbd-mke-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #eee;
}

.wbd-mke-modal-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.wbd-mke-modal-title span {
    color: #4443e9;
}

.wbd-mke-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.2s;
}

.wbd-mke-modal-close:hover {
    color: #333;
}

/* Modal Body */
.wbd-mke-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 25px;
    min-height: 150px;
}

/* Loading State */
.wbd-mke-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    min-height: 120px;
}

.wbd-mke-spinner {
    width: 40px;
    height: 40px;
    margin: 0 auto 15px;
    border: 3px solid #eee;
    border-top-color: #4443e9;
    border-radius: 50%;
    animation: wbd-mke-spin 0.8s linear infinite;
}

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

.wbd-mke-loading p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

/* Attendees Summary */
.wbd-mke-attendees-summary {
    margin-bottom: 20px;
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.wbd-mke-attendees-summary span {
    font-weight: 600;
    color: #333;
}

/* Attendees Table */
.wbd-mke-attendees-table-wrapper {
    overflow-x: auto;
}

.wbd-mke-attendees-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.wbd-mke-attendees-table th,
.wbd-mke-attendees-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.wbd-mke-attendees-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
}

.wbd-mke-attendees-table tbody tr:hover {
    background: #f8f9fa;
}

.wbd-mke-attendees-table tbody tr:last-child td {
    border-bottom: none;
}

/* No Data State */
.wbd-mke-no-data {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.wbd-mke-no-data p {
    margin: 0;
}

/* Error State */
.wbd-mke-modal-body .wbd-mke-error {
    text-align: center;
    padding: 40px 20px;
    color: #dc3545;
}

.wbd-mke-modal-body .wbd-mke-error p {
    margin: 0;
}

/* Modal Footer */
.wbd-mke-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 20px 25px;
    border-top: 1px solid #eee;
    background: #f8f9fa;
    border-radius: 0 0 12px 12px;
}

.wbd-mke-modal-footer .wbd-mke-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.wbd-mke-modal-footer .wbd-mke-btn svg {
    width: 14px;
    height: 14px;
}

/* Modal Close Button */
.wbd-mke-modal-close-btn {
    background: #f0f0f0;
    color: #333;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.2s;
}

.wbd-mke-modal-close-btn:hover {
    background: #e0e0e0;
}

/* Responsive Modal */
@media (max-width: 600px) {
    .wbd-mke-form-group input[type="time"] {
        height: 46px !important;
        min-height: 46px !important;
        line-height: 26px;
        padding-top: 9px !important;
        padding-bottom: 9px !important;
    }
    .wbd-mke-modal {
        padding: 10px;
    }

    .wbd-mke-modal-content {
        max-height: 90vh;
    }

    .wbd-mke-modal-header,
    .wbd-mke-modal-body,
    .wbd-mke-modal-footer {
        padding: 15px;
    }

    .wbd-mke-modal-title {
        font-size: 16px;
    }

    .wbd-mke-attendees-table th,
    .wbd-mke-attendees-table td {
        padding: 10px;
        font-size: 13px;
    }

    .wbd-mke-modal-footer {
        flex-direction: column;
    }

    .wbd-mke-modal-footer .wbd-mke-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ========================================
   Eventbrite Form Fields
   ======================================== */

#eventbrite-fields {
    margin-top: 10px;
}


.wbd-mke-hint {
    font-size: 12px;
    color: #666;
    margin-top: 8px;
    font-style: italic;
}

/* ========================================
   Timezone Select
   ======================================== */

.wbd-mke-tz-wrapper {
    position: relative;
    width: 100%;
}

.wbd-mke-tz-selected {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 15px;
    border: 1px solid #00064d;
    border-radius: 40px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    font-size: 16px;
}

.wbd-mke-tz-selected:hover {
    border-color: #4443e9;
}

.wbd-mke-tz-wrapper.open .wbd-mke-tz-selected {
    border-color: #4443e9;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 0 0 3px rgba(68, 67, 233, 0.1);
}

.wbd-mke-tz-text {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wbd-mke-tz-arrow {
    width: 12px;
    height: 12px;
    margin-left: 10px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2300064d' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transition: transform 0.2s;
    flex-shrink: 0;
    font-size: 0;
    color: transparent;
    overflow: hidden;
}

.wbd-mke-tz-wrapper.open .wbd-mke-tz-arrow {
    transform: rotate(180deg);
}

.wbd-mke-tz-search {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 9px 15px;
    border: 1px solid #4443e9;
    border-top: none;
    border-radius: 0px !important;
    outline: none;
    font-size: 16px;
    z-index: 1001;
    background: #fff;
}

.wbd-mke-tz-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 40px);
    left: 0;
    right: 0;
    max-height: 250px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #4443e9;
    border-top: none;
    border-radius: 0 0 20px 20px;
    z-index: 1000;
}

.wbd-mke-tz-group {
    padding: 8px 15px;
    background: #f5f5f5;
    font-weight: 600;
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: sticky;
    top: 0;
}

.wbd-mke-tz-option {
    padding: 10px 15px;
    cursor: pointer;
    transition: background 0.15s;
    font-size: 16px;
}

.wbd-mke-tz-option:hover {
    background: #f0f0ff;
}

.wbd-mke-tz-option.selected {
    background: #e8e8ff;
    color: #00064d;
    font-weight: 500;
}

.wbd-mke-tz-no-results {
    padding: 15px;
    text-align: center;
    color: #999;
}

