/**
 * FCA Events - Frontend Styles
 * Designed to integrate with Fluent Community theme
 */

/* ===== FCA Events Frontend Styles ===== */

/* ===== Base & Layout ===== */
.fca-events-page-container {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.fca-events-content-container {
    flex: 1;
    max-width: 1080px;
    margin: 2rem auto;
        width: 100%;
   
}

/* ===== Loading States ===== */
.fca-loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--fcom-secondary-border, #D9D7D5);
    border-top-color: var(--fcom-text-link, #F97316);
    border-radius: 50%;
    animation: fca-spin 1s linear infinite;
    margin-bottom: 16px;
}

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

.fca-events-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    color: var(--fcom-secondary-text, #666666);
    font-size: 16px;
}

/* ===== Error States ===== */
.fca-events-error {
    background: var(--fcom-highlight-bg, #FFF5EC);
    border: 1px solid rgba(249, 115, 22, 0.2);
    border-radius: 10px;
    padding: 48px 32px;
    text-align: center;
    margin: 40px 0;
}

.fca-error-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.fca-events-error h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--fcom-primary-text, #160C01);
    margin: 0 0 12px 0;
}

.fca-events-error p {
    color: var(--fcom-secondary-text, #666666);
    margin-bottom: 24px;
}

/* ===== Empty States ===== */
.fca-empty-state {
    text-align: center;
    padding: 80px 32px;
    color: var(--fcom-secondary-text, #666666);
    background: var(--fcom-primary-bg, #FFFFFF);
    border-radius: 10px;
    border: 1px solid var(--fcom-primary-border, #D9D7D5);
}

.fca-empty-icon {
    font-size: 64px;
    margin-bottom: 24px;
    opacity: 0.7;
}

.fca-empty-state h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--fcom-primary-text, #160C01);
    margin: 0 0 16px 0;
}

.fca-empty-state p {
    font-size: 16px;
    margin-bottom: 24px;
    line-height: 1.6;
}

/* ===== Search Container (Search + View Switcher on same row) ===== */
.fca-events-search-container {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 24px;
}

.fca-events-search-bar {
    flex: 1;
    display: flex;
    gap: 16px;
    align-items: center;
    background: var(--fcom-primary-bg, #fff);
    border: 1px solid var(--fcom-primary-border, #D9D7D5);
    border-radius: 8px;
    padding: 8px 16px;
}

.fca-search-input-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
}

.fca-search-input-wrapper i {
    color: var(--fcom-secondary-text, #666);
}

.fca-search-input {
    flex: 1;
    border: 1px solid var(--fcom-primary-border, #D9D7D5);
    border-radius: 6px;
    outline: none;
    font-size: 14px;
    padding: 8px 12px;
    background: var(--fcom-primary-bg, #fff);
    color: var(--fcom-primary-text, #160C01);
    transition: all 0.2s ease;
}

.fca-search-input:hover {
    border-color: var(--fcom-secondary-text, #666666);
}

.fca-search-input:focus {
    border-color: var(--fcom-text-link, #F97316);
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.1);
}

.fca-search-input::placeholder {
    color: var(--fcom-secondary-text, #666);
}

.fca-inline-filters {
    display: flex;
    gap: 12px;
    align-items: center;
}

.fca-filter-select {
    padding: 8px 12px;
    border: 1px solid var(--fcom-primary-border, #D9D7D5);
    border-radius: 6px;
    font-size: 14px;
    color: var(--fcom-primary-text, #160C01);
    background: var(--fcom-primary-bg, #fff);
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 120px;
}

.fca-filter-select:hover {
    border-color: var(--fcom-secondary-text, #666666);
}

.fca-filter-select:focus {
    outline: none;
    border-color: var(--fcom-text-link, #F97316);
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.1);
}

/* ===== Active Filters ===== */
.fca-active-filters {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 8px 16px;
    background: var(--fcom-highlight-bg, #FFF5EC);
    border-radius: 6px;
    font-size: 14px;
    color: var(--fcom-secondary-text, #666);
}

.fca-clear-filters-btn {
    background: none;
    border: none;
    color: var(--fcom-text-link, #F97316);
    font-size: 14px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background 0.2s;
}

.fca-clear-filters-btn:hover {
    background: rgba(249, 115, 22, 0.1);
}

/* ===== 3 Column Grid ===== */
.fca-events-grid-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.fca-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

/* ===== View Switcher (now inline with search) ===== */
.fca-view-switcher {
    display: flex;
    gap: 2px;
    background: var(--fcom-secondary-bg, #F2F2F2);
    border-radius: 6px;
    padding: 2px;
    flex-shrink: 0;
}

.fca-view-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    color: var(--fcom-secondary-text, #666);
    transition: all 0.2s;
}

.fca-view-icon:hover {
    background: rgba(0,0,0,0.05);
}

.fca-view-icon.is-active {
    background: var(--fcom-primary-bg, #fff);
    color: var(--fcom-text-link, #F97316);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* ===== Calendar View ===== */
.fca-events-calendar-view {
    background: var(--fcom-primary-bg, #fff);
    border-radius: 10px;
    padding: 24px;
    border: 1px solid var(--fcom-primary-border, #D9D7D5);
}

.fca-calendar-container {
    width: 100%;
}

.fca-calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding: 0 8px;
}

.fca-calendar-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--fcom-primary-text, #160C01);
    margin: 0;
}

.fca-calendar-nav-btn {
    background: var(--fcom-secondary-bg, #F2F2F2);
    border: 1px solid var(--fcom-primary-border, #D9D7D5);
    border-radius: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--fcom-primary-text, #160C01);
}

.fca-calendar-nav-btn:hover {
    background: var(--fcom-highlight-bg, #FFF5EC);
    border-color: var(--fcom-text-link, #F97316);
    color: var(--fcom-text-link, #F97316);
}

.fca-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background: var(--fcom-primary-border, #D9D7D5);
    border-radius: 8px;
    overflow: hidden;
}

.fca-calendar-day-header {
    background: var(--fcom-secondary-bg, #F8F9FA);
    padding: 12px 8px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--fcom-secondary-text, #666);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fca-calendar-day {
    background: var(--fcom-primary-bg, #fff);
    min-height: 120px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    position: relative;
    cursor: pointer;
    transition: background 0.2s;
}

.fca-calendar-day:hover {
    background: var(--fcom-highlight-bg, #FFF5EC);
}

.fca-calendar-day.fca-other-month {
    background: var(--fcom-secondary-bg, #F8F9FA);
    color: var(--fcom-text-off, #999);
}

.fca-calendar-day.fca-today {
    background: rgba(249, 115, 22, 0.1);
    border: 2px solid var(--fcom-text-link, #F97316);
    border-radius: 4px;
}

.fca-calendar-day.fca-today .fca-calendar-day-number {
    color: var(--fcom-text-link, #F97316);
    font-weight: 700;
}

.fca-calendar-day.fca-has-events .fca-calendar-day-number {
    font-weight: 600;
}

.fca-calendar-day-number {
    font-size: 16px;
    font-weight: 500;
    color: var(--fcom-primary-text, #160C01);
    margin-bottom: 4px;
    align-self: flex-start;
}

.fca-calendar-events {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.fca-calendar-event {
    background: var(--fcom-text-link, #F97316);
    color: white;
    border-radius: 3px;
    padding: 2px 6px;
    font-size: 11px;
    line-height: 1.2;
    cursor: pointer;
    transition: all 0.2s;
    overflow: hidden;
}

.fca-calendar-event:hover {
    background: #E6650E;
    transform: scale(1.02);
}

.fca-calendar-event-time {
    font-size: 10px;
    opacity: 0.9;
    margin-bottom: 1px;
}

.fca-calendar-event-title {
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fca-calendar-more-events {
    font-size: 10px;
    color: var(--fcom-text-link, #F97316);
    font-weight: 600;
    padding: 2px 0;
    text-align: center;
}

/* Responsive Calendar */
@media (max-width: 768px) {
    .fca-calendar-day {
        min-height: 80px;
        padding: 6px;
    }
    
    .fca-calendar-day-number {
        font-size: 14px;
    }
    
    .fca-calendar-event {
        font-size: 10px;
        padding: 1px 4px;
    }
    
    .fca-calendar-event-time {
        font-size: 9px;
    }
    
    .fca-calendar-title {
        font-size: 20px;
    }
    
    .fca-calendar-nav-btn {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 480px) {
    .fca-calendar-day {
        min-height: 60px;
        padding: 4px;
    }
    
    .fca-calendar-day-number {
        font-size: 12px;
    }
    
    .fca-calendar-event {
        font-size: 9px;
        padding: 1px 3px;
    }
    
    .fca-calendar-event-title {
        display: none; /* Hide titles on very small screens */
    }
    
    .fca-calendar-event-time {
        font-size: 8px;
    }
}

/* ===== Space Card Styles (Fluent Community Compatible) ===== */
.fca-space-card {
    background-color: var(--fcom-primary-bg, #fff);
    border: 1px solid var(--fcom-primary-border, #D9D7D5);
    border-radius: 8px; 
    overflow: hidden; 
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease-in-out;
    cursor: pointer;
}

.fca-space-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.fca-space-card-avatar {
    position: relative;
    width: 100%;
    padding-top: 50%;
    background-color: var(--fcom-secondary-bg, #f0f0f0);
}

.fca-space-card-avatar a {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.fca-space-card-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fca-space-card-info {
    padding: 15px;
    flex-grow: 1; 
    display: flex;
    flex-direction: column;
}

.fca-space-card-name {
    margin-bottom: 8px;
}

.fca-space-card-name a {
    font-size: 1.1em;
    font-weight: 600;
    color: var(--fcom-primary-text, #333);
    text-decoration: none;
}

.fca-space-card-name a:hover {
    text-decoration: underline;
}

/* Event card title styling - matches space card name */
.fca-space-card-title {
    margin-bottom: 8px;
}

.fca-space-card-title a {
    font-size: 1.1em;
    font-weight: 600;
    color: var(--fcom-primary-text, #333);
    text-decoration: none;
}

.fca-space-card-title a:hover {
    text-decoration: underline;
}

.fca-space-card-details {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 10px;
    color: var(--fcom-secondary-text, #666);
    font-size: 0.9em;
}

.fca-space-card-detail-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.fca-space-card-description {
    font-size: 0.95em;
    color: var(--fcom-secondary-text, #555);
    margin: 0;
    line-height: 1.5;
    flex-grow: 1;
}

.fca-space-card-action {
    margin-top: auto;
    padding: 15px;
    padding-top: 10px;
}

.fca-space-card-button { 
    display: inline-block;
    width: 100%;
    padding: 8px;
    font-size: 0.9em;
    font-weight: 500;
    text-align: center;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    border: none;
    background: var(--fcom-active-bg, #f0f2f5);
    color: var(--fcom-menu-text-active, var(--fcom-menu-text, #545861));
    transition: filter 0.2s ease;
}

.fca-space-card-button:hover {
    filter: brightness(95%); 
}

/* ===== Event-specific Card Additions ===== */
.fca-event-placeholder-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--fcom-secondary-bg, #f0f0f0);
}

.fca-placeholder-icon {
    font-size: 64px;
    opacity: 0.5;
}

.fca-event-date-overlay {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--fcom-primary-bg, #fff);
    border-radius: 8px;
    padding: 8px 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    min-width: 50px;
    z-index: 10;
    border: 1px solid rgba(0,0,0,0.1);
}

.fca-date-month {
    font-size: 12px;
    color: var(--fcom-text-link, #F97316);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
    line-height: 1;
}

.fca-date-day {
    font-size: 20px;
    font-weight: 800;
    color: var(--fcom-primary-text, #160C01);
    line-height: 1;
}

/* ===== Enhanced Card Details Layout ===== */
.fca-event-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.fca-event-location-row {
    margin-bottom: 8px;
}

.fca-event-meta-row .fca-space-card-detail-item {
    margin: 0;
}

.fca-event-location-row .fca-space-card-detail-item {
    margin: 0;
    width: 100%;
}

.fca-location-full-width {
    width: 100%;
}

/* ===== Enhanced List View ===== */
.fca-events-list-view {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: none;
    border-radius: 0;
    overflow: visible;
}

.fca-event-list-item {
    display: flex;
    align-items: center;
    background: var(--fcom-primary-bg, #fff);
    padding: 20px 16px;
    margin-bottom: 16px;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
    gap: 16px;
    transition: background 0.2s;
    cursor: pointer;
}

.fca-event-list-item:hover {
    background: var(--fcom-highlight-bg, #FFF5EC);
}

.fca-event-list-image {
    flex: 0 0 60px;
    width: 60px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    background: var(--fcom-secondary-bg, #F2F2F2);
}

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

.fca-event-list-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fca-placeholder-icon-small {
    font-size: 24px;
}

.fca-event-list-content {
    flex: 1;
    min-width: 0;
}

.fca-event-list-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--fcom-primary-text, #160C01);
    margin: 0 0 8px 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fca-event-list-meta {
    display: flex;
    gap: 16px;
    font-size: 0.875rem;
    color: var(--fcom-secondary-text, #666);
    margin-bottom: 4px;
}

.fca-event-list-excerpt {
    font-size: 0.875rem;
    color: var(--fcom-secondary-text, #666);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fca-event-list-badges {
    flex: 0 0 auto;
    display: flex;
    gap: 8px;
}

.fca-event-status-badge {
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fca-event-status-badge.upcoming {
    background: var(--fcom-success-light, #d4edda);
    color: var(--fcom-success, #28a745);
}

.fca-event-status-badge.past {
    background: var(--fcom-secondary-bg, #F2F2F2);
    color: var(--fcom-secondary-text, #666);
}

.fca-event-status-badge.confirmed {
    background: var(--fcom-success-light, #d4edda);
    color: var(--fcom-success, #28a745);
}

.fca-event-list-action {
    flex: 0 0 auto;
    display: flex;
    gap: 8px;
    align-items: center;
}

.fca-edit-link {
    background: none;
    border: none;
    color: var(--fcom-text-link, #F97316);
    font-size: 14px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background 0.2s;
}

.fca-edit-link:hover {
    background: var(--fcom-highlight-bg, #FFF5EC);
}

/* ===== User Avatar for Registrations ===== */
.fca-user-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--fcom-text-link, #F97316);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 20px;
}

/* ===== Event Sections ===== */
.fca-events-section {
    margin-bottom: 48px;
}

.fca-events-section h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--fcom-primary-text, #160C01);
    margin: 0 0 32px 0;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--fcom-primary-border, #D9D7D5);
}

/* ===== Event Summary Stats ===== */
.fca-event-summary {
    background: var(--fcom-primary-bg, #fff);
    border-radius: 10px;
    padding: 32px;
    margin-bottom: 32px;
    border: 1px solid var(--fcom-primary-border, #D9D7D5);
}

.fca-event-summary h2 {
    margin: 0 0 24px 0;
    color: var(--fcom-primary-text, #160C01);
    font-size: 24px;
    font-weight: 700;
}

.fca-registration-stats {
    display: flex;
    gap: 32px;
}

.fca-stat {
    text-align: center;
}

.fca-stat strong {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: var(--fcom-text-link, #F97316);
    margin-bottom: 4px;
}

.fca-stat span {
    font-size: 14px;
    color: var(--fcom-secondary-text, #666);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== Single Event Page Layout ===== */
.fca-single-event {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px; /* Desktop padding */
}

.fca-event-main-content-grid {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 48px;
    align-items: start;
}

.fca-event-main-left {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.fca-event-main-right {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.fca-event-featured-image-hero {
    position: relative;
    width: 100%;
    height: 340px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0;
    background: var(--fcom-secondary-bg, #F2F2F2);
}

.fca-event-featured-image-hero .fca-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.fca-event-featured-image-hero .fca-hero-overlay-content {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    display: flex;
    align-items: flex-end;
    gap: 24px;
    padding: 32px;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 60%, transparent 100%);
}

.fca-hero-date-badge {
    background: var(--fcom-primary-bg, #fff);
    border-radius: 10px;
    padding: 16px 20px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    min-width: 60px;
}

.fca-hero-title-block {
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.fca-hero-title-block .fca-event-title {
    color: #fff;
    font-size: 2.2rem;
    font-weight: 800;
    margin: 0 0 8px 0;
}

.fca-hero-time {
    font-size: 1.1rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.fca-event-description-main-bg {
    background: var(--fcom-primary-bg, #fff);
    border-radius: 10px;
    padding: 32px;
    margin-bottom: 24px;
}

.fca-event-description-main-bg h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--fcom-primary-text, #160C01);
    margin: 0 0 24px 0;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--fcom-primary-border, #D9D7D5);
}

.fca-event-location-simple {
    background: var(--fcom-primary-bg, #fff);
    border-radius: 10px;
    padding: 24px 32px;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border: 1px solid var(--fcom-primary-border, #D9D7D5);
}

.fca-event-location-simple h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--fcom-primary-text, #160C01);
    margin: 0 0 24px 0;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--fcom-primary-border, #D9D7D5);
}

.fca-location-row {
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: 15px;
}

.fca-location-label {
    font-weight: 600;
    color: var(--fcom-secondary-text, #666666);
}

.fca-location-value {
    color: var(--fcom-primary-text, #160C01);
}

.fca-registration-card,
.fca-event-details-card {
    background: var(--fcom-primary-bg, #FFFFFF);
    border: 1px solid var(--fcom-primary-border, #D9D7D5);
    border-radius: 10px;
    padding: 32px;
}

.fca-event-details-card {
    margin-bottom: 24px;
}

/* Make the entire sidebar sticky */
.fca-event-main-right {
    position: sticky;
    top: 24px;
    align-self: flex-start;
}

.fca-registration-header h3,
.fca-event-details-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--fcom-primary-text, #160C01);
    margin: 0 0 24px 0;
}

.fca-capacity-display {
    margin-bottom: 24px;
}

.fca-capacity-bar {
    width: 100%;
    height: 8px;
    background: var(--fcom-secondary-bg, #F2F2F2);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.fca-capacity-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--fcom-text-link, #F97316), #FF8C42);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.fca-capacity-text {
    font-size: 14px;
    color: var(--fcom-secondary-text, #666666);
    margin: 0;
}

.fca-registered-badge,
.fca-closed-badge,
.fca-full-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.fca-registered-badge {
    background: var(--fcom-light-bg, #FAE5D3);
    color: var(--fcom-text-link, #F97316);
}

.fca-closed-badge,
.fca-full-badge {
    background: var(--fcom-secondary-bg, #F2F2F2);
    color: var(--fcom-secondary-text, #666666);
}

.fca-register-btn {
    width: 100%;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 16px;
    background: var(--fcom-primary-button, #F97316);
    color: var(--fcom-primary-button-text, #FFFFFF);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.fca-register-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.3);
}

.fca-deadline-notice {
    font-size: 13px;
    color: var(--fcom-secondary-text, #666666);
    margin-top: 12px;
    text-align: center;
}

.fca-details-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.fca-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid var(--fcom-primary-border, #D9D7D5);
}

.fca-detail-row:last-child {
    border-bottom: none;
}

.fca-detail-label {
    font-weight: 600;
    font-size: 14px;
    color: var(--fcom-secondary-text, #666666);
    padding-right: 8px;
}

.fca-detail-value {
    font-size: 14px;
    color: var(--fcom-primary-text, #160C01);
    text-align: left;
    flex: 1;
}

/* ===== Form Styling ===== */
.fca-event-form {
    background: var(--fcom-primary-bg, #FFFFFF);
    border-radius: 16px;
    padding: 40px;
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid var(--fcom-primary-border, #D9D7D5);
}

/* FCA Events Specific Input Styling - Higher specificity to override Fluent Community styles */
.fca-events-page-container input[type="text"],
.fca-events-page-container input[type="email"],
.fca-events-page-container input[type="password"],
.fca-events-page-container input[type="number"],
.fca-events-page-container input[type="url"],
.fca-events-page-container input[type="tel"],
.fca-events-page-container input[type="search"],
.fca-events-page-container input[type="date"],
.fca-events-page-container input[type="time"],
.fca-events-page-container input[type="datetime-local"],
.fca-events-page-container textarea,
.fca-events-page-container select,
.fca-event-form input[type="text"],
.fca-event-form input[type="email"],
.fca-event-form input[type="password"],
.fca-event-form input[type="number"],
.fca-event-form input[type="url"],
.fca-event-form input[type="tel"],
.fca-event-form input[type="search"],
.fca-event-form input[type="date"],
.fca-event-form input[type="time"],
.fca-event-form input[type="datetime-local"],
.fca-event-form textarea,
.fca-event-form select,
.fca-events-content-container input[type="text"],
.fca-events-content-container input[type="email"],
.fca-events-content-container input[type="password"],
.fca-events-content-container input[type="number"],
.fca-events-content-container input[type="url"],
.fca-events-content-container input[type="tel"],
.fca-events-content-container input[type="search"],
.fca-events-content-container input[type="date"],
.fca-events-content-container input[type="time"],
.fca-events-content-container input[type="datetime-local"],
.fca-events-content-container textarea,
.fca-events-content-container select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--fcom-primary-border, #D9D7D5) !important;
    border-radius: 6px;
    font-size: 14px;
    background: var(--fcom-primary-bg, #fff);
    color: var(--fcom-primary-text, #160C01);
    transition: all 0.2s ease;
    box-sizing: border-box;
    font-family: inherit;
}

.fca-events-page-container input[type="text"]:hover,
.fca-events-page-container input[type="email"]:hover,
.fca-events-page-container input[type="password"]:hover,
.fca-events-page-container input[type="number"]:hover,
.fca-events-page-container input[type="url"]:hover,
.fca-events-page-container input[type="tel"]:hover,
.fca-events-page-container input[type="search"]:hover,
.fca-events-page-container input[type="date"]:hover,
.fca-events-page-container input[type="time"]:hover,
.fca-events-page-container input[type="datetime-local"]:hover,
.fca-events-page-container textarea:hover,
.fca-events-page-container select:hover,
.fca-event-form input[type="text"]:hover,
.fca-event-form input[type="email"]:hover,
.fca-event-form input[type="password"]:hover,
.fca-event-form input[type="number"]:hover,
.fca-event-form input[type="url"]:hover,
.fca-event-form input[type="tel"]:hover,
.fca-event-form input[type="search"]:hover,
.fca-event-form input[type="date"]:hover,
.fca-event-form input[type="time"]:hover,
.fca-event-form input[type="datetime-local"]:hover,
.fca-event-form textarea:hover,
.fca-event-form select:hover,
.fca-events-content-container input[type="text"]:hover,
.fca-events-content-container input[type="email"]:hover,
.fca-events-content-container input[type="password"]:hover,
.fca-events-content-container input[type="number"]:hover,
.fca-events-content-container input[type="url"]:hover,
.fca-events-content-container input[type="tel"]:hover,
.fca-events-content-container input[type="search"]:hover,
.fca-events-content-container input[type="date"]:hover,
.fca-events-content-container input[type="time"]:hover,
.fca-events-content-container input[type="datetime-local"]:hover,
.fca-events-content-container textarea:hover,
.fca-events-content-container select:hover {
    border-color: var(--fcom-secondary-text, #666666) !important;
}

.fca-events-page-container input[type="text"]:focus,
.fca-events-page-container input[type="email"]:focus,
.fca-events-page-container input[type="password"]:focus,
.fca-events-page-container input[type="number"]:focus,
.fca-events-page-container input[type="url"]:focus,
.fca-events-page-container input[type="tel"]:focus,
.fca-events-page-container input[type="search"]:focus,
.fca-events-page-container input[type="date"]:focus,
.fca-events-page-container input[type="time"]:focus,
.fca-events-page-container input[type="datetime-local"]:focus,
.fca-events-page-container textarea:focus,
.fca-events-page-container select:focus,
.fca-event-form input[type="text"]:focus,
.fca-event-form input[type="email"]:focus,
.fca-event-form input[type="password"]:focus,
.fca-event-form input[type="number"]:focus,
.fca-event-form input[type="url"]:focus,
.fca-event-form input[type="tel"]:focus,
.fca-event-form input[type="search"]:focus,
.fca-event-form input[type="date"]:focus,
.fca-event-form input[type="time"]:focus,
.fca-event-form input[type="datetime-local"]:focus,
.fca-event-form textarea:focus,
.fca-event-form select:focus,
.fca-events-content-container input[type="text"]:focus,
.fca-events-content-container input[type="email"]:focus,
.fca-events-content-container input[type="password"]:focus,
.fca-events-content-container input[type="number"]:focus,
.fca-events-content-container input[type="url"]:focus,
.fca-events-content-container input[type="tel"]:focus,
.fca-events-content-container input[type="search"]:focus,
.fca-events-content-container input[type="date"]:focus,
.fca-events-content-container input[type="time"]:focus,
.fca-events-content-container input[type="datetime-local"]:focus,
.fca-events-content-container textarea:focus,
.fca-events-content-container select:focus {
    outline: none !important;
    border-color: var(--fcom-text-link, #F97316) !important;
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.1) !important;
}

.fca-events-page-container input[type="text"]::placeholder,
.fca-events-page-container input[type="email"]::placeholder,
.fca-events-page-container input[type="password"]::placeholder,
.fca-events-page-container input[type="number"]::placeholder,
.fca-events-page-container input[type="url"]::placeholder,
.fca-events-page-container input[type="tel"]::placeholder,
.fca-events-page-container input[type="search"]::placeholder,
.fca-events-page-container textarea::placeholder,
.fca-event-form input[type="text"]::placeholder,
.fca-event-form input[type="email"]::placeholder,
.fca-event-form input[type="password"]::placeholder,
.fca-event-form input[type="number"]::placeholder,
.fca-event-form input[type="url"]::placeholder,
.fca-event-form input[type="tel"]::placeholder,
.fca-event-form input[type="search"]::placeholder,
.fca-event-form textarea::placeholder,
.fca-events-content-container input[type="text"]::placeholder,
.fca-events-content-container input[type="email"]::placeholder,
.fca-events-content-container input[type="password"]::placeholder,
.fca-events-content-container input[type="number"]::placeholder,
.fca-events-content-container input[type="url"]::placeholder,
.fca-events-content-container input[type="tel"]::placeholder,
.fca-events-content-container input[type="search"]::placeholder,
.fca-events-content-container textarea::placeholder {
    color: var(--fcom-text-off, #999999);
}

/* Ensure textarea has proper styling within FCA Events */
.fca-events-page-container textarea,
.fca-event-form textarea,
.fca-events-content-container textarea {
    resize: vertical;
    line-height: 1.6;
    min-height: 80px;
}

/* Ensure select elements have proper styling within FCA Events */
.fca-events-page-container select,
.fca-event-form select,
.fca-events-content-container select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 8px center;
    background-repeat: no-repeat;
    background-size: 16px 12px;
    padding-right: 40px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.fca-form-section {
    margin-bottom: 48px;
}

.fca-form-section:last-child {
    margin-bottom: 0;
}

.fca-form-section h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--fcom-primary-text, #160C01);
    margin: 0 0 32px 0;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--fcom-primary-border, #D9D7D5);
}

.fca-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

/* Enhanced Form Item Layout with Grid */
.el-form-item {
    display: grid;
    grid-template-columns: 200px 1fr 200px;
    gap: 16px;
    align-items: start;
    margin-bottom: 24px;
}

/* Simple layout for registration form modal */
.fca-registration-form-modal .el-form-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.fca-registration-form-modal .el-form-item__label {
    text-align: left;
    padding-top: 0;
    margin-bottom: 4px;
}

.el-form-item:last-child {
    margin-bottom: 0;
}

.el-form-item__label {
    display: block;
    padding-top: 10px;
    font-size: 15px;
    font-weight: 600;
    color: var(--fcom-primary-text, #160C01);
    text-align: right;
}

.el-form-item__label.required:after {
    content: '*';
    color: var(--fcom-text-link, #F97316);
    margin-left: 4px;
}

/* Form Controls Container */
.el-form-item__content {
    grid-column: 2;
}

/* Consistent Input Styling for Element UI components within FCA Events */
.fca-events-page-container .el-input__inner,
.fca-events-page-container .el-textarea__inner,
.fca-events-page-container .el-select,
.fca-events-page-container select.el-input__inner,
.fca-event-form .el-input__inner,
.fca-event-form .el-textarea__inner,
.fca-event-form .el-select,
.fca-event-form select.el-input__inner,
.fca-events-content-container .el-input__inner,
.fca-events-content-container .el-textarea__inner,
.fca-events-content-container .el-select,
.fca-events-content-container select.el-input__inner {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid var(--fcom-primary-border, #D9D7D5) !important;
    border-radius: 6px;
    font-size: 14px;
    background: var(--fcom-primary-bg, #fff);
    color: var(--fcom-primary-text, #160C01);
    transition: all 0.2s ease;
    box-sizing: border-box;
}

/* Enhanced borders for registration form modal inputs */
.fca-registration-form-modal .el-input__inner,
.fca-registration-form-modal .el-textarea__inner,
.fca-registration-form-modal .el-select,
.fca-registration-form-modal select.el-input__inner {
    border: 1px solid var(--fcom-primary-border, #D9D7D5) !important;
    background: var(--fcom-primary-bg, #fff) !important;
    border-radius: 6px !important;
}

.fca-events-page-container .el-textarea__inner,
.fca-event-form .el-textarea__inner,
.fca-events-content-container .el-textarea__inner {
    resize: vertical;
    line-height: 1.6;
    min-height: 80px;
}

.fca-events-page-container .el-input__inner:hover,
.fca-events-page-container .el-textarea__inner:hover,
.fca-events-page-container .el-select:hover,
.fca-events-page-container select.el-input__inner:hover,
.fca-event-form .el-input__inner:hover,
.fca-event-form .el-textarea__inner:hover,
.fca-event-form .el-select:hover,
.fca-event-form select.el-input__inner:hover,
.fca-events-content-container .el-input__inner:hover,
.fca-events-content-container .el-textarea__inner:hover,
.fca-events-content-container .el-select:hover,
.fca-events-content-container select.el-input__inner:hover {
    border-color: var(--fcom-secondary-text, #666666) !important;
}

.fca-events-page-container .el-input__inner:focus,
.fca-events-page-container .el-textarea__inner:focus,
.fca-events-page-container .el-select:focus,
.fca-events-page-container select.el-input__inner:focus,
.fca-event-form .el-input__inner:focus,
.fca-event-form .el-textarea__inner:focus,
.fca-event-form .el-select:focus,
.fca-event-form select.el-input__inner:focus,
.fca-events-content-container .el-input__inner:focus,
.fca-events-content-container .el-textarea__inner:focus,
.fca-events-content-container .el-select:focus,
.fca-events-content-container select.el-input__inner:focus {
    outline: none !important;
    border-color: var(--fcom-text-link, #F97316) !important;
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.1) !important;
}

/* Enhanced focus states for registration form modal */
.fca-registration-form-modal .el-input__inner:focus,
.fca-registration-form-modal .el-textarea__inner:focus,
.fca-registration-form-modal .el-select:focus,
.fca-registration-form-modal select.el-input__inner:focus {
    outline: none !important;
    border-color: var(--fcom-text-link, #F97316) !important;
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.1), 0 2px 6px rgba(0, 0, 0, 0.15) !important;
}

.fca-events-page-container .el-input__inner::placeholder,
.fca-events-page-container .el-textarea__inner::placeholder,
.fca-event-form .el-input__inner::placeholder,
.fca-event-form .el-textarea__inner::placeholder,
.fca-events-content-container .el-input__inner::placeholder,
.fca-events-content-container .el-textarea__inner::placeholder {
    color: var(--fcom-text-off, #999999);
}

/* Help Text Styling - Third Column */
.fca-field-help {
    grid-column: 3;
    padding-top: 10px;
    font-size: 13px;
    color: var(--fcom-text-off, #999999);
    line-height: 1.4;
}

/* Full-width form items */
.el-form-item--full {
    grid-template-columns: 200px 1fr;
}

.el-form-item--full .fca-field-help {
    grid-column: 2;
    padding-top: 4px;
    padding-left: 0;
    margin-top: 8px;
}

/* Featured Image Upload - Full Width Layout */
.fca-featured-image-section {
    margin-top: 16px;
}

.fca-featured-image-section .el-form-item {
    display: block;
}

.fca-image-preview {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background: var(--fcom-secondary-bg, #F2F2F2);
}

.fca-preview-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.fca-image-actions {
    position: absolute;
    top: 12px;
    right: 12px;
}

.fca-upload-area {
    border: 2px dashed var(--fcom-primary-border, #D9D7D5);
    border-radius: 10px;
    padding: 48px 32px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--fcom-secondary-bg, #F2F2F2);
}

.fca-upload-area:hover {
    border-color: var(--fcom-text-link, #F97316);
    background: var(--fcom-highlight-bg, #FFF5EC);
}

.fca-upload-icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.7;
}

.fca-upload-area h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--fcom-primary-text, #160C01);
    margin: 0 0 8px 0;
}

.fca-upload-area p {
    color: var(--fcom-secondary-text, #666666);
    margin: 0 0 8px 0;
}

.fca-upload-area small {
    color: var(--fcom-text-off, #999999);
    font-size: 13px;
}

/* ===== Checkbox Styling ===== */
.el-checkbox {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    padding: 16px 0;
}

.el-checkbox input[type="checkbox"] {
    margin-right: 12px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--fcom-text-link, #F97316);
}

.el-checkbox__label {
    font-size: 15px;
    font-weight: 500;
    color: var(--fcom-primary-text, #160C01);
    line-height: 1.4;
}

/* Special checkbox items that don't need grid */
.el-form-item--checkbox {
    display: block;
}

.el-form-item--checkbox .el-checkbox {
    padding: 12px 0;
}

.fca-registration-options {
    margin-top: 24px;
    padding: 24px;
    background: var(--fcom-highlight-bg, #FFF5EC);
    border-radius: 16px;
    border: 1px solid rgba(249, 115, 22, 0.2);
}

/* Nested form items in registration options */
.fca-registration-options .el-form-item {
    grid-template-columns: 160px 1fr 160px;
}

/* ===== Button Styling ===== */
.el-button.fcom_primary_button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    line-height: 1;
    height: 32px;
    white-space: nowrap;
    cursor: pointer;
    color: var(--fcom-primary-button-text, #FFFFFF);
    background-color: var(--fcom-primary-button, #1877F2);
    border: 1px solid var(--fcom-primary-button, #1877F2);
    text-align: center;
    box-sizing: border-box;
    outline: none;
    margin: 0;
    font-weight: 500;
    user-select: none;
    padding: 8px 15px;
    font-size: 14px;
    border-radius: 4px;
    transition: background-color 0.1s ease, border-color 0.1s ease, color 0.1s ease;
    text-decoration: none;
}

.el-button.fcom_primary_button:hover,
.el-button.fcom_primary_button:focus {
    filter: brightness(90%);
}

.el-button.fcom_secondary_button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    line-height: 1;
    height: 32px;
    white-space: nowrap;
    cursor: pointer;
    color: var(--fcom-menu-text-active, var(--fcom-menu-text, #545861));
    background: var(--fcom-active-bg, #f0f3f5);
    border: 1px solid var(--fcom-secondary-border, #CED0D4);
    text-align: center;
    box-sizing: border-box;
    outline: none;
    margin: 0;
    font-weight: 500;
    user-select: none;
    padding: 8px 15px;
    font-size: 14px;
    border-radius: 4px;
    transition: filter 0.1s ease;
    text-decoration: none;
}

.el-button.fcom_secondary_button:hover,
.el-button.fcom_secondary_button:focus {
    filter: brightness(95%);
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .fca-events-grid-3col {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .fca-event-main-content-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .fca-event-main-right {
        flex-direction: column;
        gap: 24px;
    }
    
    /* Form adjustments for tablets */
    .el-form-item {
        grid-template-columns: 150px 1fr 150px;
        gap: 12px;
    }
    
    .fca-registration-options .el-form-item {
        grid-template-columns: 140px 1fr 140px;
    }
}

@media (max-width: 768px) {
    .fca-events-content-container {
        padding: 20px 10px 40px;
        margin: 0;
    }
    
    .fca-single-event {
        padding: 20px 10px 40px;
        margin: 0;
    }
    
    .fca-events-search-container {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }
    
    .fca-events-search-bar {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }
    
    .fca-inline-filters {
        width: 100%;
        justify-content: space-between;
    }
    
    .fca-view-switcher {
        align-self: center;
    }
    
    .fca-event-list-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .fca-event-list-image {
        width: 100%;
        height: 120px;
    }
    
    .fca-event-list-action {
        width: 100%;
        justify-content: space-between;
    }
    
    .fca-event-list-action .el-button {
        flex: 1;
    }
    
    .fca-event-main-content-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .fca-event-main-right {
        flex-direction: column;
        gap: 16px;
        width: 100%;
    }
    
    .fca-registration-card,
    .fca-event-details-card {
        position: static;
        width: 100%;
    }
    
    .fca-event-featured-image-hero {
        height: 200px;
        margin: 0 0 16px 0;
        border-radius: 6px;
    }
    
    .fca-event-main-left, 
    .fca-event-main-right {
        gap: 16px;
    }
    
    .fca-event-description-main-bg {
        padding: 16px;
        margin: 0 0 16px 0;
    }
    
    .fca-hero-title-block .fca-event-title {
        font-size: 1.2rem;
    }
    
    .fca-hero-overlay-content {
        padding: 12px;
        gap: 12px;
    }
    
    .fca-form-row {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .fca-event-form {
        padding: 16px;
        margin: 0;
    }
    
    /* Mobile form layout - Stack labels above inputs */
    .el-form-item {
        display: block;
        margin-bottom: 20px;
    }
    
    .el-form-item__label {
        text-align: left;
        padding-top: 0;
        margin-bottom: 8px;
    }
    
    .el-form-item__content {
        grid-column: unset;
    }
    
    .el-form-item--full {
        grid-template-columns: unset;
    }
    
    .fca-registration-options .el-form-item {
        display: block;
    }
    
    /* Form builder mobile adjustments */
    .fca-field-header {
        padding-left: 0;
    }
    
    .fca-drag-handle {
        display: none;
    }
    
    .fca-field-actions .fca-move-btn {
        display: inline-flex;
    }
    
    .fca-form-field-item {
        cursor: default;
        padding: 16px;
    }
    
    .fca-field-description,
    .fca-field-preview {
        padding-left: 0;
        margin-left: 0;
    }
    
    .fca-registration-stats {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .fca-empty-state {
        padding: 40px 16px;
        margin: 16px 0;
    }
    
    .fca-event-summary {
        padding: 16px;
        margin: 0 0 16px 0;
    }
}

@media (max-width: 600px) {
    .fca-events-grid-3col,
    .fca-events-grid {
        grid-template-columns: 1fr;
    }
    
    /* Very small screens - Compact form layout */
    .el-form-item {
        margin-bottom: 16px;
    }
    
    .fca-events-page-container .el-input__inner,
    .fca-events-page-container .el-textarea__inner,
    .fca-events-page-container .el-select,
    .fca-events-page-container select.el-input__inner,
    .fca-event-form .el-input__inner,
    .fca-event-form .el-textarea__inner,
    .fca-event-form .el-select,
    .fca-event-form select.el-input__inner,
    .fca-events-content-container .el-input__inner,
    .fca-events-content-container .el-textarea__inner,
    .fca-events-content-container .el-select,
    .fca-events-content-container select.el-input__inner {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .el-form-item__label {
        font-size: 14px;
    }
    
    /* Ensure inputs are properly sized on mobile */
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="number"],
    input[type="url"],
    input[type="tel"],
    input[type="search"],
    input[type="date"],
    input[type="time"],
    input[type="datetime-local"],
    textarea,
    select {
        font-size: 16px; /* Prevent zoom on iOS */
        padding: 12px 14px;
    }
}

/* Print styles */
@media print {
    .fca-events-search-bar,
    .fhr_page_actions,
    .fca-space-card-action,
    .fca-event-list-action {
        display: none !important;
    }
    
    .fca-space-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
}

/* ===== Form Builder Modal Styles ===== */
.fca-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
    box-sizing: border-box;
}

.fca-modal-content {
    background: var(--fcom-primary-bg, #fff);
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.fca-modal-header {
    padding: 24px 32px;
    border-bottom: 1px solid var(--fcom-primary-border, #D9D7D5);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--fcom-secondary-bg, #F8F9FA);
}

.fca-modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: var(--fcom-primary-text, #160C01);
}

.fca-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--fcom-secondary-text, #666);
    padding: 4px;
    border-radius: 4px;
    transition: background 0.2s;
}

.fca-modal-close:hover {
    background: rgba(0, 0, 0, 0.1);
}

.fca-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 32px;
}

.fca-modal-footer {
    padding: 24px 32px;
    border-top: 1px solid var(--fcom-primary-border, #D9D7D5);
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    background: var(--fcom-secondary-bg, #F8F9FA);
}

/* ===== Field Types Grid ===== */
.fca-field-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.fca-field-type-option {
    padding: 20px;
    border: 2px solid var(--fcom-primary-border, #D9D7D5);
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    background: var(--fcom-primary-bg, #fff);
}

.fca-field-type-option:hover {
    border-color: var(--fcom-text-link, #F97316);
    background: var(--fcom-highlight-bg, #FFF5EC);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.15);
}

.fca-field-type-option i {
    font-size: 32px;
    color: var(--fcom-text-link, #F97316);
    margin-bottom: 12px;
    display: block;
}

.fca-field-type-option span {
    font-size: 14px;
    font-weight: 600;
    color: var(--fcom-primary-text, #160C01);
}

/* ===== Form Builder Styles ===== */
.fca-form-builder {
    border: 1px solid var(--fcom-primary-border, #D9D7D5);
    border-radius: 10px;
    overflow: hidden;
    margin-top: 16px;
}

.fca-form-builder-header {
    background: var(--fcom-secondary-bg, #F8F9FA);
    padding: 16px 24px;
    border-bottom: 1px solid var(--fcom-primary-border, #D9D7D5);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.fca-form-builder-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--fcom-primary-text, #160C01);
}

.fca-empty-form {
    padding: 48px 24px;
    text-align: center;
    color: var(--fcom-secondary-text, #666);
    background: var(--fcom-primary-bg, #fff);
}

.fca-form-fields-list {
    background: var(--fcom-primary-bg, #fff);
    position: relative;
}

/* Draggable Field Item */
.fca-form-field-item {
    padding: 20px 24px;
    border-bottom: 1px solid var(--fcom-primary-border, #D9D7D5);
    cursor: move;
    transition: all 0.3s ease;
    position: relative;
    background: var(--fcom-primary-bg, #fff);
}

.fca-form-field-item:last-child {
    border-bottom: none;
}

/* Drag Handle */
.fca-drag-handle {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--fcom-secondary-text, #666);
    cursor: grab;
    opacity: 0;
    transition: opacity 0.2s;
}

.fca-form-field-item:hover .fca-drag-handle {
    opacity: 1;
}

.fca-drag-handle:active {
    cursor: grabbing;
}

.fca-drag-handle::before,
.fca-drag-handle::after {
    content: '⋮';
    font-size: 18px;
    line-height: 1;
}

/* Field being dragged */
.fca-form-field-item.dragging {
    opacity: 0.5;
    background: var(--fcom-highlight-bg, #FFF5EC);
    border: 2px dashed var(--fcom-text-link, #F97316);
    z-index: 1000;
}

/* Drop indicator */
.fca-drop-indicator {
    height: 4px;
    background: var(--fcom-text-link, #F97316);
    margin: 0 24px;
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.2s;
}

.fca-drop-indicator.active {
    opacity: 1;
}

/* Hover state for draggable fields */
.fca-form-field-item:hover {
    background: var(--fcom-secondary-bg, #F8F9FA);
}

/* Field Header with Drag Handle Space */
.fca-field-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-left: 24px; /* Space for drag handle */
}

.fca-field-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.fca-field-info i {
    color: var(--fcom-text-link, #F97316);
    font-size: 16px;
}

.fca-field-label {
    font-weight: 600;
    color: var(--fcom-primary-text, #160C01);
}

.fca-field-type {
    color: var(--fcom-secondary-text, #666);
    font-size: 13px;
}

.fca-field-required {
    color: var(--fcom-text-link, #F97316);
    font-weight: 700;
    font-size: 14px;
}

.fca-field-actions {
    display: flex;
    gap: 4px;
}

.fca-field-actions button {
    padding: 4px 8px;
    font-size: 14px;
}

/* Hide up/down buttons when drag & drop is available */
.fca-field-actions .fca-move-btn {
    display: none;
}

/* Show move buttons on touch devices */
@media (hover: none) and (pointer: coarse) {
    .fca-drag-handle {
        display: none;
    }
    
    .fca-field-actions .fca-move-btn {
        display: inline-flex;
    }
    
    .fca-form-field-item {
        cursor: default;
    }
    
    .fca-field-header {
        padding-left: 0;
    }
}

.fca-field-description {
    color: var(--fcom-secondary-text, #666);
    font-size: 14px;
    margin-bottom: 12px;
    font-style: italic;
    padding-left: 24px; /* Align with header */
}

.fca-field-preview {
    background: var(--fcom-secondary-bg, #F8F9FA);
    border: 1px solid var(--fcom-primary-border, #D9D7D5);
    border-radius: 6px;
    padding: 12px;
    margin-left: 24px; /* Align with header */
}

/* Sortable transition group animations */
.fca-field-list-move {
    transition: transform 0.3s ease;
}

.fca-field-list-enter-active,
.fca-field-list-leave-active {
    transition: all 0.3s ease;
}

.fca-field-list-enter-from {
    opacity: 0;
    transform: translateX(-30px);
}

.fca-field-list-leave-to {
    opacity: 0;
    transform: translateX(30px);
}

.fca-save-template {
    padding: 20px 24px;
    background: var(--fcom-secondary-bg, #F8F9FA);
    border-top: 1px solid var(--fcom-primary-border, #D9D7D5);
    text-align: center;
}

/* ===== Field Editor Modal ===== */
.fca-field-editor-modal {
    max-width: 500px;
}

.fca-options-editor {
    border: 1px solid var(--fcom-primary-border, #D9D7D5);
    border-radius: 6px;
    padding: 16px;
    background: var(--fcom-secondary-bg, #F8F9FA);
}

.fca-option-row {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 8px;
}

.fca-option-row:last-child {
    margin-bottom: 0;
}

.fca-option-row input {
    flex: 1;
}

/* ===== Template Manager Modal ===== */
.fca-template-manager-modal {
    max-width: 700px;
}

.fca-templates-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.fca-template-item {
    border: 1px solid var(--fcom-primary-border, #D9D7D5);
    border-radius: 8px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    transition: box-shadow 0.2s;
}

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

.fca-template-info {
    flex: 1;
}

.fca-template-info h4 {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--fcom-primary-text, #160C01);
}

.fca-template-info p {
    margin: 0 0 8px 0;
    color: var(--fcom-secondary-text, #666);
    font-size: 14px;
}

.fca-template-info small {
    color: var(--fcom-text-off, #999);
    font-size: 12px;
}

.fca-template-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

/* ===== Registration Form Modal ===== */
.fca-registration-form-modal {
    max-width: 600px;
}

.fca-form-intro {
    margin-bottom: 24px;
    color: var(--fcom-secondary-text, #666);
    font-size: 16px;
    line-height: 1.5;
}



.fca-radio-group,
.fca-checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
}

.fca-radio-option,
.fca-checkbox-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid var(--fcom-primary-border, #D9D7D5);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.fca-radio-option:hover,
.fca-checkbox-option:hover {
    background: var(--fcom-highlight-bg, #FFF5EC);
    border-color: var(--fcom-text-link, #F97316);
}

.fca-radio-option input,
.fca-checkbox-option input {
    margin: 0;
    accent-color: var(--fcom-text-link, #F97316);
}

.fca-radio-option span,
.fca-checkbox-option span {
    flex: 1;
    font-size: 14px;
    color: var(--fcom-primary-text, #160C01);
}

.fca-field-error {
    color: #ff4757;
    font-size: 13px;
    margin-top: 4px;
    font-weight: 500;
}

.el-form-item__label.required:after {
    content: '*';
    color: var(--fcom-text-link, #F97316);
    margin-left: 4px;
}

/* ===== Mobile Responsive Modal Styles ===== */
@media (max-width: 768px) {
    .fca-modal-overlay {
        padding: 10px;
    }
    
    .fca-modal-content {
        max-width: 100%;
        max-height: 95vh;
    }
    
    .fca-modal-header,
    .fca-modal-body,
    .fca-modal-footer {
        padding: 16px 20px;
    }
    
    .fca-field-types-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 12px;
    }
    
    .fca-field-type-option {
        padding: 16px;
    }
    
    .fca-field-type-option i {
        font-size: 24px;
        margin-bottom: 8px;
    }
    
    .fca-field-type-option span {
        font-size: 12px;
    }
    
    .fca-template-item {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }
    
    .fca-template-actions {
        align-self: flex-end;
    }
    
    .fca-field-header {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
    
    .fca-field-actions {
        align-self: flex-end;
    }
}

/* ===== Registrations Management Table Styles ===== */

/* Enhanced Event Summary with Details */
.fca-event-summary-detailed {
    background: var(--fcom-primary-bg, #fff);
    border-radius: 10px;
    padding: 32px;
    margin-bottom: 32px;
    border: 1px solid var(--fcom-primary-border, #D9D7D5);
}

.fca-event-summary-detailed h2 {
    margin: 0 0 24px 0;
    color: var(--fcom-primary-text, #160C01);
    font-size: 24px;
    font-weight: 700;
}

.fca-event-details-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 32px;
    padding: 20px;
    background: var(--fcom-secondary-bg, #F8F9FA);
    border-radius: 8px;
    border: 1px solid var(--fcom-primary-border, #D9D7D5);
}

.fca-event-detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--fcom-primary-text, #160C01);
}

.fca-event-detail-item i {
    color: var(--fcom-text-link, #F97316);
    font-size: 16px;
    width: 16px;
    text-align: center;
}

/* Column Customization Controls */
.fca-column-controls {
    background: var(--fcom-primary-bg, #fff);
    border: 1px solid var(--fcom-primary-border, #D9D7D5);
    border-radius: 10px;
    margin-bottom: 24px;
    overflow: hidden;
}

.fca-column-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    background: var(--fcom-secondary-bg, #F8F9FA);
    border-bottom: 1px solid var(--fcom-primary-border, #D9D7D5);
}

.fca-column-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--fcom-primary-text, #160C01);
}

.fca-column-options {
    padding: 20px 24px;
}

.fca-column-options p {
    margin: 0 0 16px 0;
    color: var(--fcom-secondary-text, #666);
    font-size: 14px;
}

.fca-column-checkboxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.fca-column-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid var(--fcom-primary-border, #D9D7D5);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.fca-column-checkbox:hover {
    background: var(--fcom-highlight-bg, #FFF5EC);
    border-color: var(--fcom-text-link, #F97316);
}

.fca-column-checkbox input {
    margin: 0;
    accent-color: var(--fcom-text-link, #F97316);
}

.fca-column-checkbox span {
    font-size: 14px;
    color: var(--fcom-primary-text, #160C01);
}

/* Table Container & Header */
.fca-registrations-table-container {
    background: var(--fcom-primary-bg, #fff);
    border: 1px solid var(--fcom-primary-border, #D9D7D5);
    border-radius: 10px;
    overflow: hidden;
}

.fca-table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background: var(--fcom-secondary-bg, #F8F9FA);
    border-bottom: 1px solid var(--fcom-primary-border, #D9D7D5);
}

.fca-bulk-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.fca-select-all {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: var(--fcom-primary-text, #160C01);
}

.fca-select-all input {
    margin: 0;
    accent-color: var(--fcom-text-link, #F97316);
}

.fca-selection-count {
    font-size: 14px;
    color: var(--fcom-text-link, #F97316);
    font-weight: 600;
}

.fca-table-actions {
    display: flex;
    gap: 8px;
}

/* Table Styling */
.fca-registrations-table {
    overflow-x: auto;
}

.fca-registrations-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.fca-registrations-table th {
    background: var(--fcom-secondary-bg, #F8F9FA);
    color: var(--fcom-primary-text, #160C01);
    font-weight: 600;
    text-align: left;
    padding: 12px 16px;
    border-bottom: 1px solid var(--fcom-primary-border, #D9D7D5);
    white-space: nowrap;
}

.fca-registrations-table td {
    padding: 16px;
    border-bottom: 1px solid var(--fcom-primary-border, #D9D7D5);
    vertical-align: middle;
}

.fca-registrations-table tbody tr {
    transition: background 0.2s;
}

.fca-registrations-table tbody tr:hover {
    background: var(--fcom-highlight-bg, #FFF5EC);
}

.fca-registrations-table tbody tr.fca-selected {
    background: rgba(249, 115, 22, 0.1);
}

/* Table Column Styling */
.fca-checkbox-column,
.fca-checkbox-cell {
    width: 40px;
    text-align: center;
}

.fca-checkbox-cell input {
    margin: 0;
    accent-color: var(--fcom-text-link, #F97316);
}

.fca-attendee-cell {
    min-width: 180px;
}

.fca-attendee-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.fca-user-avatar-small {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--fcom-text-link, #F97316);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    flex-shrink: 0;
}

.fca-attendee-name {
    font-weight: 600;
    color: var(--fcom-primary-text, #160C01);
}

.fca-email-cell {
    min-width: 200px;
}

.fca-email-link {
    color: var(--fcom-text-link, #F97316);
    text-decoration: none;
}

.fca-email-link:hover {
    text-decoration: underline;
}

.fca-date-cell {
    min-width: 140px;
    color: var(--fcom-secondary-text, #666);
}

.fca-status-cell {
    min-width: 100px;
}

.fca-status-badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fca-status-badge.confirmed {
    background: var(--fcom-success-light, #d4edda);
    color: var(--fcom-success, #28a745);
}

.fca-status-badge.pending {
    background: var(--fcom-warning-light, #fff3cd);
    color: var(--fcom-warning, #856404);
}

.fca-status-badge.cancelled {
    background: var(--fcom-danger-light, #f8d7da);
    color: var(--fcom-danger, #721c24);
}

.fca-form-data-cell {
    max-width: 150px;
    color: var(--fcom-secondary-text, #666);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fca-actions-column,
.fca-actions-cell {
    width: 100px;
    text-align: center;
}

.fca-action-buttons {
    display: flex;
    gap: 4px;
    justify-content: center;
}

.fca-action-btn {
    padding: 4px 8px;
    font-size: 14px;
    min-width: auto;
    height: auto;
}

.fca-delete-btn {
    color: #ff4757;
}

.fca-delete-btn:hover {
    background: rgba(255, 71, 87, 0.1);
}

/* Danger Button Styling */
.el-button--danger {
    color: #fff;
    background-color: #ff4757;
    border-color: #ff4757;
}

.el-button--danger:hover {
    background-color: #ff3838;
    border-color: #ff3838;
}

/* Responsive Table */
@media (max-width: 1200px) {
    .fca-registrations-table {
        font-size: 13px;
    }
    
    .fca-attendee-cell {
        min-width: 150px;
    }
    
    .fca-email-cell {
        min-width: 180px;
    }
    
    .fca-date-cell {
        min-width: 120px;
    }
    
    .fca-form-data-cell {
        max-width: 120px;
    }
}

@media (max-width: 768px) {
    .fca-event-details-summary {
        flex-direction: column;
        gap: 12px;
    }
    
    .fca-column-checkboxes {
        grid-template-columns: 1fr;
    }
    
    .fca-table-header {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }
    
    .fca-bulk-actions {
        justify-content: space-between;
    }
    
    .fca-table-actions {
        justify-content: flex-end;
    }
    
    /* Mobile Table - Stack columns */
    .fca-registrations-table table,
    .fca-registrations-table thead,
    .fca-registrations-table tbody,
    .fca-registrations-table th,
    .fca-registrations-table td,
    .fca-registrations-table tr {
        display: block;
    }
    
    .fca-registrations-table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    
    .fca-registrations-table tr {
        border: 1px solid var(--fcom-primary-border, #D9D7D5);
        border-radius: 8px;
        margin-bottom: 12px;
        padding: 16px;
        background: var(--fcom-primary-bg, #fff);
    }
    
    .fca-registrations-table td {
        border: none !important;
        padding: 8px 0;
        position: relative;
        padding-left: 35%;
    }
    
    .fca-registrations-table td::before {
        content: attr(data-label) ": ";
        position: absolute;
        left: 0;
        width: 30%;
        font-weight: 600;
        color: var(--fcom-secondary-text, #666);
        font-size: 12px;
        text-transform: uppercase;
    }
    
    .fca-checkbox-cell {
        padding-left: 0 !important;
        text-align: left;
    }
    
    .fca-checkbox-cell::before {
        content: none;
    }
    
    .fca-actions-cell {
        padding-left: 0 !important;
        text-align: left;
    }
    
    .fca-actions-cell::before {
        content: "Actions: ";
        position: absolute;
        left: 0;
        width: 30%;
        font-weight: 600;
        color: var(--fcom-secondary-text, #666);
        font-size: 12px;
        text-transform: uppercase;
    }
    
    .fca-action-buttons {
        justify-content: flex-start;
    }
}

/* ===== Tooltip Styles ===== */
.fca-help-tooltip {
    display: inline-block;
    margin-left: 6px;
    position: relative;
    cursor: help;
}

.fca-help-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--fcom-secondary-bg, #F2F2F2);
    color: var(--fcom-secondary-text, #666);
    font-size: 11px;
    font-weight: 700;
    transition: all 0.2s ease;
}

.fca-help-icon:hover {
    background: var(--fcom-text-link, #F97316);
    color: white;
    transform: scale(1.1);
}

.fca-tooltip-content {
    position: absolute;
    z-index: 1000;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    font-size: 13px;
    font-weight: normal;
    line-height: 1.4;
    border-radius: 6px;
    white-space: nowrap;
    max-width: 250px;
    visibility: hidden;
    opacity: 0;
    transition: all 0.2s ease;
    pointer-events: none;
}

.fca-tooltip-content.fca-tooltip-wide {
    white-space: normal;
}

.fca-help-tooltip:hover .fca-tooltip-content {
    visibility: visible;
    opacity: 1;
}

/* Tooltip arrow */
.fca-tooltip-content::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid rgba(0, 0, 0, 0.9);
}

/* Character counter style (keep inline) */
.fca-char-counter {
    display: inline-block;
    margin-left: 8px;
    font-size: 13px;
    color: var(--fcom-secondary-text, #666);
}

/* Form controls with tooltips alignment */
.el-form-item__label-wrap {
    display: flex;
    align-items: center;
}

/* Hide old help text */
.fca-field-help {
    display: none !important;
}

/* Tooltip positioning adjustments for mobile */
@media (max-width: 768px) {
    .fca-help-tooltip {
        position: static;
        display: inline-block;
        margin-left: 4px;
    }
    
    .fca-tooltip-content {
        position: fixed;
        left: 10px !important;
        right: 10px !important;
        transform: none !important;
        max-width: none;
        width: auto;
        bottom: auto !important;
        top: 50% !important;
        margin-top: -50px;
    }
    
    .fca-tooltip-content::after {
        display: none;
    }
}

/* Form item spacing without help text */
.el-form-item {
    margin-bottom: 20px;
}

/* ===== Button Styling ===== */
.el-button.fcom_primary_button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    line-height: 1;
    height: 32px;
    white-space: nowrap;
    cursor: pointer;
    color: var(--fcom-primary-button-text, #FFFFFF);
    background-color: var(--fcom-primary-button, #1877F2);
    border: 1px solid var(--fcom-primary-button, #1877F2);
    text-align: center;
    box-sizing: border-box;
    outline: none;
    margin: 0;
    font-weight: 500;
    user-select: none;
    padding: 8px 15px;
    font-size: 14px;
    border-radius: 4px;
    transition: background-color 0.1s ease, border-color 0.1s ease, color 0.1s ease;
    text-decoration: none;
}

.el-button.fcom_primary_button:hover,
.el-button.fcom_primary_button:focus {
    filter: brightness(90%);
}

.el-button.fcom_secondary_button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    line-height: 1;
    height: 32px;
    white-space: nowrap;
    cursor: pointer;
    color: var(--fcom-menu-text-active, var(--fcom-menu-text, #545861));
    background: var(--fcom-active-bg, #f0f3f5);
    border: 1px solid var(--fcom-secondary-border, #CED0D4);
    text-align: center;
    box-sizing: border-box;
    outline: none;
    margin: 0;
    font-weight: 500;
    user-select: none;
    padding: 8px 15px;
    font-size: 14px;
    border-radius: 4px;
    transition: filter 0.1s ease;
    text-decoration: none;
}

.el-button.fcom_secondary_button:hover,
.el-button.fcom_secondary_button:focus {
    filter: brightness(95%);
}

/* ===== Events Options Enhanced Styles ===== */
.fca-options-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

.fca-options-section {
    margin-bottom: 48px;
    background: var(--fcom-primary-bg, #fff);
    border-radius: 16px;
    border: 1px solid var(--fcom-primary-border, #D9D7D5);
    overflow: hidden;
}

.fca-section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 32px;
    background: none;
    border-bottom: 1px solid var(--fcom-primary-border, #D9D7D5);
}

.fca-section-icon {
    font-size: 32px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--fcom-primary-bg, #fff);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.fca-section-title h2 {
    margin: 0 0 4px 0;
    color: var(--fcom-primary-text, #160C01);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
}

.fca-section-title p {
    margin: 0;
    color: var(--fcom-secondary-text, #666);
    font-size: 14px;
    line-height: 1.4;
}

.fca-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 24px;
    padding: 32px;
}

.fca-option-card {
    background: var(--fcom-primary-bg, #fff);
    border: 1px solid var(--fcom-primary-border, #D9D7D5);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.fca-option-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--fcom-text-link, #F97316) 0%, var(--fcom-primary-button, #1877F2) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.fca-option-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: var(--fcom-text-link, #F97316);
}

.fca-option-card:hover::before {
    opacity: 1;
}

.fca-option-card--large {
    grid-column: 1 / -1;
}

.fca-option-header {
    margin-bottom: 20px;
}

.fca-option-header h3 {
    color: var(--fcom-primary-text, #160C01);
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.fca-option-header p {
    color: var(--fcom-secondary-text, #666);
    font-size: 14px;
    margin: 0;
    line-height: 1.5;
}

.fca-option-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.fca-option-help {
    color: var(--fcom-secondary-text, #666);
    font-size: 12px;
    margin-top: 4px;
    font-style: italic;
}

/* View Options Styling */
.fca-view-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.fca-view-option {
    position: relative;
    cursor: pointer;
    border: 2px solid var(--fcom-primary-border, #D9D7D5);
    border-radius: 12px;
    padding: 20px;
    background: var(--fcom-primary-bg, #fff);
    transition: all 0.3s ease;
    overflow: hidden;
}

.fca-view-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.05) 0%, rgba(24, 119, 242, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.fca-view-option:hover {
    border-color: var(--fcom-text-link, #F97316);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(249, 115, 22, 0.15);
}

.fca-view-option:hover::before {
    opacity: 1;
}

.fca-view-option.is-selected {
    border-color: var(--fcom-text-link, #F97316);
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.05) 0%, rgba(24, 119, 242, 0.05) 100%);
    box-shadow: 0 4px 16px rgba(249, 115, 22, 0.2);
}

.fca-view-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.fca-view-option-content {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    z-index: 1;
}

.fca-view-option-icon {
    font-size: 24px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--fcom-secondary-bg, #F8F9FA);
    border-radius: 10px;
    flex-shrink: 0;
}

.fca-view-option.is-selected .fca-view-option-icon {
    background: var(--fcom-text-link, #F97316);
    color: white;
}

.fca-view-option-text {
    flex: 1;
}

.fca-view-option-text strong {
    display: block;
    color: var(--fcom-primary-text, #160C01);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    line-height: 1.3;
}

.fca-view-option-text span {
    color: var(--fcom-secondary-text, #666);
    font-size: 13px;
    line-height: 1.4;
}

/* Toggle Switch Styling */
.fca-toggle-switch {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 8px 0;
}

.fca-toggle-switch input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.fca-toggle-slider {
    position: relative;
    width: 48px;
    height: 24px;
    background: var(--fcom-secondary-bg, #F2F2F2);
    border-radius: 12px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.fca-toggle-slider::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.fca-toggle-switch input:checked + .fca-toggle-slider {
    background: var(--fcom-text-link, #F97316);
}

.fca-toggle-switch input:checked + .fca-toggle-slider::before {
    transform: translateX(24px);
}

.fca-toggle-label {
    color: var(--fcom-primary-text, #160C01);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
}

/* Input Group Styling */
.fca-input-group {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 200px;
}

.fca-number-input {
    width: 80px !important;
    text-align: center;
    font-weight: 600;
}

.fca-input-suffix {
    color: var(--fcom-secondary-text, #666);
    font-size: 14px;
    font-weight: 500;
}

.fca-select-input {
    max-width: 200px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .fca-options-grid {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 16px;
    }
    
    .fca-section-header {
        padding: 20px;
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .fca-section-icon {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
    
    .fca-section-title h2 {
        font-size: 20px;
    }
    
    .fca-view-options {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .fca-view-option {
        padding: 16px;
    }
    
    .fca-view-option-content {
        gap: 12px;
    }
    
    .fca-view-option-icon {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
    
    .fca-option-card {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .fca-options-content {
        padding: 10px 0;
    }
    
    .fca-options-grid {
        padding: 16px;
        gap: 12px;
    }
    
    .fca-section-header {
        padding: 16px;
    }
    
    .fca-option-card {
        padding: 16px;
    }
    
    .fca-view-option {
        padding: 12px;
    }
    
    .fca-view-option-content {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .fca-view-option-icon {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
}

/* Improved Event List Category Styles and Spacing */
.fca-event-list-categories {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    min-width: 120px;
    margin-left: 24px;
    gap: 4px;
}

.fca-event-category-list {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    color: var(--fcom-secondary-text, #888);
    background: #f5f5f7;
    border-radius: 10px;
    padding: 2px 10px 2px 6px;
    margin-bottom: 2px;
    margin-left: 0;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    font-weight: 400;
    letter-spacing: 0.1px;
    white-space: nowrap;
}

.fca-event-category-list:hover {
    background: #eaeaea;
    color: var(--fcom-text-link, #F97316);
}

/* Card View Category Tag Styles */
.fca-event-categories-card {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}
.fca-event-category-card {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    color: var(--fcom-secondary-text, #888);
    background: #f5f5f7;
    border-radius: 10px;
    padding: 2px 10px 2px 6px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    font-weight: 400;
    letter-spacing: 0.1px;
    white-space: nowrap;
}
.fca-event-category-card:hover {
    background: #eaeaea;
    color: var(--fcom-text-link, #F97316);
}

/* Single Event Sidebar Category Tag Styles */
.fca-event-categories-single {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 2px;
}
.fca-event-category-single {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    color: var(--fcom-secondary-text, #888);
    background: #f5f5f7;
    border-radius: 10px;
    padding: 2px 10px 2px 6px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    font-weight: 400;
    letter-spacing: 0.1px;
    white-space: nowrap;
}
.fca-event-category-single:hover {
    background: #eaeaea;
    color: var(--fcom-text-link, #F97316);
}

/* Pagination styles */
.fca-pagination-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e1e5e9;
}

.fca-pagination-info {
    font-size: 14px;
    color: #6c757d;
}

.fca-pagination-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.fca-pagination-btn {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 8px 12px;
    cursor: pointer;
    color: #495057;
    font-size: 14px;
    transition: all 0.2s;
}

.fca-pagination-btn:hover:not(:disabled) {
    background: #e9ecef;
    border-color: #adb5bd;
}

.fca-pagination-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: #f8f9fa;
}

.fca-pagination-current {
    font-size: 14px;
    color: #495057;
    font-weight: 500;
    margin: 0 10px;
}

@media (max-width: 768px) {
    .fca-pagination-container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .fca-pagination-controls {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .fca-pagination-btn {
        padding: 6px 10px;
        font-size: 13px;
    }
}

/* ===== Rich Text Editor Styles ===== */
.fca-rich-text-editor {
    width: 100%;
    border-radius: 6px;
    background: var(--fcom-primary-bg, #fff);
    overflow: hidden;
    border: 1px solid var(--fcom-primary-border, #D9D7D5);
    transition: all 0.2s ease;
}

.fca-rich-text-editor:hover {
    border-color: var(--fcom-secondary-text, #666666);
}

.fca-rich-text-editor:focus-within {
    border-color: var(--fcom-text-link, #F97316);
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.1);
}

.fca-rich-text-toolbar {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 12px 16px;
    background: var(--fcom-secondary-bg, #F8F9FA);
    border-bottom: 1px solid var(--fcom-primary-border, #D9D7D5);
    flex-wrap: wrap;
}

.fca-format-btn {
    padding: 6px 12px;
    border: 1px solid var(--fcom-primary-border, #D9D7D5);
    background: var(--fcom-primary-bg, #fff);
    color: var(--fcom-primary-text, #160C01);
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    min-width: 36px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-family: inherit;
}

.fca-format-btn:hover {
    background: var(--fcom-highlight-bg, #FFF5EC);
    border-color: var(--fcom-text-link, #F97316);
    color: var(--fcom-text-link, #F97316);
}

.fca-format-btn.active {
    background: var(--fcom-text-link, #F97316);
    border-color: var(--fcom-text-link, #F97316);
    color: white;
}

.fca-format-btn:focus {
    outline: 2px solid var(--fcom-text-link, #F97316);
    outline-offset: 2px;
}

.fca-format-btn svg {
    display: inline-block;
    vertical-align: middle;
    width: 14px;
    height: 14px;
    color: inherit;
}

.fca-format-btn:hover svg {
    color: inherit;
}

.fca-format-btn.active svg {
    color: inherit;
}

.fca-toolbar-separator {
    width: 1px;
    height: 24px;
    background: var(--fcom-primary-border, #D9D7D5);
    margin: 0 8px;
}

.fca-rich-text-content {
    min-height: 200px;
    max-height: 600px;
    overflow-y: auto;
    padding: 12px 16px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--fcom-primary-text, #160C01);
    background: var(--fcom-primary-bg, #fff);
    position: relative;
    font-family: inherit;
    resize: vertical;
}

.fca-rich-text-content:focus {
    outline: none;
}

.fca-rich-text-content:empty:before {
    content: attr(data-placeholder);
    color: var(--fcom-text-off, #999999);
    pointer-events: none;
    position: absolute;
    top: 12px;
    left: 16px;
    font-style: italic;
}

/* Rich text content styling */
.fca-rich-text-content p {
    margin: 0 0 12px 0;
}

.fca-rich-text-content p:last-child {
    margin-bottom: 0;
}

.fca-rich-text-content ul,
.fca-rich-text-content ol {
    margin: 12px 0;
    padding-left: 24px;
    list-style: inherit;
}

.fca-rich-text-content ul {
    list-style-type: disc;
}

.fca-rich-text-content ol {
    list-style-type: decimal;
}

.fca-rich-text-content li {
    margin: 4px 0;
    display: list-item;
    list-style: inherit;
}

.fca-rich-text-content a {
    color: var(--fcom-text-link, #F97316);
    text-decoration: underline;
}

.fca-rich-text-content a:hover {
    color: var(--fcom-text-link-hover, #E85D04);
}

.fca-rich-text-content strong {
    font-weight: 600;
}

.fca-rich-text-content em {
    font-style: italic;
}

.fca-rich-text-content u {
    text-decoration: underline;
}

/* Text alignment styles */
.fca-rich-text-content [style*="text-align: left"] {
    text-align: left !important;
}

.fca-rich-text-content [style*="text-align: center"] {
    text-align: center !important;
}

.fca-rich-text-content [style*="text-align: right"] {
    text-align: right !important;
}

.fca-rich-text-content div[style*="text-align"],
.fca-rich-text-content p[style*="text-align"] {
    margin: 10px 0;
}

/* Responsive rich text editor */
@media (max-width: 768px) {
    .fca-rich-text-toolbar {
        padding: 8px 12px;
        gap: 2px;
    }
    
    .fca-format-btn {
        padding: 4px 8px;
        font-size: 12px;
        min-width: 32px;
        height: 28px;
    }
    
    .fca-rich-text-content {
        min-height: 150px;
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .fca-rich-text-content:empty:before {
        left: 12px;
    }
}

/* Rich Text Editor Image and Video Styles */
.fca-rich-text-content .fca-editor-image-wrapper {
    margin: 15px 0;
    text-align: center;
}

.fca-rich-text-content .fca-editor-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.fca-rich-text-content .fca-editor-image:hover {
    transform: scale(1.02);
}

.fca-rich-text-content .fca-image-caption {
    font-size: 0.9em;
    color: #666;
    text-align: center;
    margin-top: 5px;
    font-style: italic;
}

.fca-rich-text-content .fca-editor-video-wrapper {
    margin: 15px 0;
    text-align: center;
}

.fca-rich-text-content .fca-editor-video-wrapper iframe {
    border-radius: 8px;
}

.fca-rich-text-content .fca-editor-video-wrapper video {
    border-radius: 8px;
}

.fca-rich-text-content .fca-video-link {
    display: inline-block;
    padding: 12px 18px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.fca-rich-text-content .fca-video-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    color: white;
    text-decoration: none;
}

/* ===== Category Selector - Event Editor Component ===== */
.fca-category-controls {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px !important;
    margin-bottom: 24px !important;
    width: 50%;
}

.fca-add-category-btn {
    margin-top: 0 !important;
}

.fca-selected-categories {
    margin-top: 0 !important;
    margin-left: 32px;
}

.fca-category-dropdown {
    flex: 1;
    max-width: 300px;
    height: 36px;
    padding: 6px 12px;
    background: var(--fcom-primary-bg, #fff);
    border: 1px solid var(--fcom-primary-border, #D9D7D5);
    border-radius: 4px;
    font-size: 14px;
    color: var(--fcom-primary-text, #160C01);
    cursor: pointer;
    transition: all 0.2s ease;
}

.fca-category-dropdown:hover {
    border-color: var(--fcom-secondary-text, #666666);
}

.fca-category-dropdown:focus {
    border-color: var(--fcom-text-link, #F97316);
    outline: none;
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.1);
}

/* Style for placeholder option */
.fca-category-dropdown option[value=""][disabled] {
    color: var(--fcom-text-off, #999999);
}

.fca-category-dropdown option {
    color: var(--fcom-primary-text, #160C01);
}

.fca-add-category-btn {
    height: 36px;
    padding: 6px 12px;
    min-width: auto;
    white-space: nowrap;
    font-size: 13px;
    line-height: 1.4;
    margin-top: 10px;
}

.fca-add-category-btn i {
    margin-right: 4px;
    font-size: 12px;
}

/* Selected Categories Section */
.fca-selected-categories {
    margin-top: 18px;
    background: #f6f7f7;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 14px 18px 10px 18px;
}

.fca-category-label {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--fcom-secondary-text, #666666);
    font-size: 12px;
    text-transform: none;
    letter-spacing: normal;
}

.fca-category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.fca-category-tag {
    background: #fff;
    border: 1px solid #dcdcde;
    border-radius: 4px;
    padding: 5px 14px 5px 10px;
    font-size: 14px;
    color: #222;
    display: flex;
    align-items: center;
    gap: 6px;
}

.fca-category-tag:hover {
    background: var(--fcom-highlight-bg, #FFF5EC);
    border-color: var(--fcom-text-link, #F97316);
}

.fca-remove-tag {
    background: transparent;
    border: none;
    color: var(--fcom-secondary-text, #666666);
    cursor: pointer;
    padding: 2px;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
    transition: all 0.15s ease;
}

.fca-remove-tag:hover {
    background: rgba(249, 115, 22, 0.1);
    color: var(--fcom-text-link, #F97316);
}

.fca-remove-tag:focus {
    outline: 2px solid var(--fcom-text-link, #F97316);
    outline-offset: 1px;
}

.fca-remove-tag svg {
    width: 10px;
    height: 10px;
}

/* Empty state for categories */
.fca-category-controls:only-child {
    margin-bottom: 0;
}

/* Responsive adjustments for category selector */
@media (max-width: 600px) {
    .fca-category-controls {
        flex-direction: column;
        gap: 8px;
    }
    
    .fca-category-dropdown {
        max-width: none;
        width: 100%;
    }
    
    .fca-add-category-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Frontend Content Body Styling - for displaying rich text content */
.fca-content-body {
    font-size: 14px;
    line-height: 1.6;
    color: var(--fcom-primary-text, #160C01);
}

.fca-content-body p {
    margin: 0 0 12px 0;
}

.fca-content-body p:last-child {
    margin-bottom: 0;
}

.fca-content-body ul,
.fca-content-body ol {
    margin: 12px 0;
    padding-left: 24px;
    list-style: inherit;
}

.fca-content-body ul {
    list-style-type: disc;
}

.fca-content-body ol {
    list-style-type: decimal;
}

.fca-content-body li {
    margin: 4px 0;
    display: list-item;
    list-style: inherit;
}

.fca-content-body a {
    color: var(--fcom-text-link, #F97316);
    text-decoration: underline;
}

.fca-content-body a:hover {
    color: var(--fcom-text-link-hover, #E85D04);
}

.fca-content-body strong {
    font-weight: 600;
}

.fca-content-body em {
    font-style: italic;
}

.fca-content-body u {
    text-decoration: underline;
}

/* Text alignment styles for frontend */
.fca-content-body [style*="text-align: left"] {
    text-align: left !important;
}

.fca-content-body [style*="text-align: center"] {
    text-align: center !important;
}

.fca-content-body [style*="text-align: right"] {
    text-align: right !important;
}

.fca-content-body div[style*="text-align"],
.fca-content-body p[style*="text-align"] {
    margin: 10px 0;
}

/* Frontend Image and Video Styles */
.fca-content-body .fca-editor-image-wrapper {
    margin: 15px 0;
    text-align: center;
}

.fca-content-body .fca-editor-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.fca-content-body .fca-editor-image:hover {
    transform: scale(1.02);
}

.fca-content-body .fca-image-caption {
    font-size: 0.9em;
    color: #666;
    text-align: center;
    margin-top: 5px;
    font-style: italic;
}

.fca-content-body .fca-editor-video-wrapper {
    margin: 15px 0;
    text-align: center;
}

.fca-content-body .fca-editor-video-wrapper iframe {
    border-radius: 8px;
}

.fca-content-body .fca-editor-video-wrapper video {
    border-radius: 8px;
}

.fca-content-body .fca-video-link {
    display: inline-block;
    padding: 12px 18px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.fca-content-body .fca-video-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    color: white;
    text-decoration: none;
}

.fca-category-dropdown option[disabled][selected] {
    color: #757575 !important;
    background: #fff;
}

