/**
 * Filament admin panel — dashboard layout overrides
 * Loaded via AdminPanelProvider
 */

/* Be Vietnam Pro — same as public/css/style.css (home page) */
@font-face {
    font-family: 'Be Vietnam Pro';
    src: url('../../fonts/BeVietnamPro-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Be Vietnam Pro';
    src: url('../../fonts/BeVietnamPro-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Be Vietnam Pro';
    src: url('../../fonts/BeVietnamPro-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Be Vietnam Pro';
    src: url('../../fonts/BeVietnamPro-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
}

.fi-body,
.fi-sidebar,
.fi-topbar,
.fi-main,
.fi-modal,
.dashboard-main,
.dashboard-main * {
    font-family: 'Be Vietnam Pro', sans-serif !important;
}

/* Sidebar */
.fi-sidebar { background-color: #f8faff !important;}

.text-primary-600{color: #0059ff !important;}
.text-custom-600{color: #0059ff !important;}
.bg-custom-600{background-color: #0059ff !important;}
.fi-sidebar-header,
.fi-sidebar-nav {
    background-color: transparent;
}

/* Main content area (right side) */
.fi-main {
    background: linear-gradient(
        180deg,
        #ffffff 0%,
        #d6e4ff 40%,
        #cfdfff 48%,
        #ffffff 100%
    ) !important;
}

.fi-main-ctn {
    background: transparent;
}

/* Dashboard page */
.fi-dashboard-page {
    background: transparent;
}

/* ============================================
   Product Form — Scoped Styles
   All selectors scoped under .fp-wrapper
   ============================================ */
/* Main container */
.fp-wrapper, .fc-wrapper {
    background: #ffffff;
    border-radius: 8px;
    padding: 0;
}

/* ── Input fields ── */
.fp-wrapper input[type="text"],
.fp-wrapper input[type="number"],
.fp-wrapper input[type="email"],
.fp-wrapper input[type="url"],
.fp-wrapper textarea,
.fp-wrapper select {
    color: #474747 !important;
    border-radius: 6px !important;
    width: 100%;
    padding: 5px 10px;
}

/* Placeholder */
.fp-wrapper input::placeholder,
.fp-wrapper textarea::placeholder {
    color: #C0C0C0 !important;
    opacity: 1;
}

/* ── Labels ── */
.fp-wrapper label {
    
    font-size: 14px;
}

/* ── Amount row ── */
.fp-amount-row {
    position: relative;
}

.fp-amount-row .fp-fixed-label {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #C0C0C0;
    font-size: 14px;
    pointer-events: none;
}

/* ── Cart Recovery row ── */
.fp-cart-recovery-row {
    position: relative;
}

.fp-cart-recovery-row .fp-enable-label {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #000000;
    font-size: 14px;
    pointer-events: none;
}

/* ── Upload Products section ── */
.fp-upload-section > div {
    background: #EDF5FF !important;
    border-radius: 8px !important;
    border: none !important;
    padding: 16px !important;
}

/* ── Or divider ── */
.fp-or-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #000000;
    font-size: 14px;
    margin: 8px 0;
}

.fp-or-divider::before,
.fp-or-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #000000B0;
}
.fp-btn-create, .fp-btn-cancel {
    width: 24%;
    padding: 12px !important;
    font-size: 20px;
    font-weight: 400;
    font-family: 'Be Vietnam Pro';
}

/* ── RichEditor scrollbar fix ── */
.fp-wrapper .fp-description .ProseMirror,
.fp-wrapper .fp-terms .ProseMirror,
.fp-wrapper .fp-description [contenteditable],
.fp-wrapper .fp-terms [contenteditable] {
    max-height: none !important;
    overflow: visible !important;
    overflow-y: visible !important;
}

.fp-wrapper .fp-description .tiptap,
.fp-wrapper .fp-terms .tiptap {
    max-height: none !important;
    overflow: visible !important;
}

/* ── RichEditor border ── */
.fp-wrapper .fp-description,
.fp-wrapper .fp-terms {
    border: 1.09px solid #C0C0C0 !important;
    border-radius: 6px !important;
}

/* ── Create / Cancel buttons ── */
[class*="fp-btn-create"] {
    background: #0059FF !important;
    color: #fff !important;
    border-radius: 6px !important;
}

[class*="fp-btn-cancel"] {
    background: #FF0000!important;
    color: #fff !important;
    border-radius: 6px !important;
}

.fp-wrapper .fi-input {
    color: #C0C0C0 !important;
}
.fp-wrapper .fi-input::placeholder {
    color: #C0C0C0 !important;
    opacity: 1;
}

.fp-fixed-btn {
    color: #C0C0C0;
    border: 1.09px solid #C0C0C0;
    border-radius: 4px;
    padding: 2px 10px;
    font-size: 13px;
    white-space: nowrap;
    cursor: pointer;
}
.fp-enable-btn {
    color: #C0C0C0;
    border: 1.09px solid #C0C0C0;
    border-radius: 4px;
    padding: 2px 10px;
    font-size: 13px;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s ease;
}

.fp-enable-btn.active {
    background: #0059FF !important;
    border-color: #0059FF !important;
    color: #fff !important;
}

/* ── Cart Recovery UI ── */
.fp-cart-recovery-wrap {
    position: relative;
    margin-top: 4px;
}

.fp-cart-recovery-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.fp-cart-recovery-wrap .fp-cart-recovery-label {
    font-size: 14px;
    font-weight: 500;
    color: #1e293b;
    margin: 0;
}

.fp-cart-recovery-loader {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    font-size: 13px;
    color: #64748b;
}

.fp-cart-recovery-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid #cbd5e1;
    border-top-color: #0059FF;
    border-radius: 50%;
    animation: fp-cart-recovery-spin 0.7s linear infinite;
}

@keyframes fp-cart-recovery-spin {
    to { transform: rotate(360deg); }
}

/* .fp-cart-recovery-inline {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e2e8f0;
} */

.fp-cart-recovery-inline__hint {
    font-size: 13px;
    color: #64748b;
    margin: 0 0 12px;
}

.fp-cart-recovery-inline__fields {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-left: -8px;
    margin-right: -8px;
}

.fp-cart-recovery-inline__fields .col-md-4 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
    padding: 0 8px;
    box-sizing: border-box;
}

@media (max-width: 767px) {
    .fp-cart-recovery-inline__fields .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 12px;
    }
}

.fp-cart-recovery-modal__radios {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.fp-cart-recovery-radio {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #334155;
    cursor: pointer;
}

.fp-cart-recovery-modal__field label {
    display: block;
    font-size: 13px;
    color: #64748b;
    margin-bottom: 4px;
}

.fp-cart-recovery-modal__field input {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 8px 10px;
    font-size: 14px;
    color: #0f172a;
}

.fp-cart-recovery-modal__field input.is-readonly,
.fp-cart-recovery-modal__field input:read-only {
    background: #f8fafc;
    color: #64748b;
    cursor: not-allowed;
}

/* ── Preview Wrapper ── */
.fp-preview-wrapper {
    width: 100%;
}

/* ── Tabs ── */
.fp-preview-tabs {
    display: flex;
    align-items: center;
    gap: 6px;
}

.fp-tab {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    transition: background 0.2s;
}


.fp-tab.fp-tab-active {
    background: #0059FF3B;
    color: #0059FF;
}

.fp-tab:hover {
    background: #0059FF1A;
    color: #0059FF;
}

.fp-tab svg {
    display: block;
    color: #000000;
}

/* ── Preview Card ── */
.fp-preview-card {
    background: #0059FF12;
    border-radius: 12px;
    padding: 16px;
    transition: max-width 0.3s ease;
    width: 100%;
}

.fp-preview-card.fp-mobile {
    max-width: 320px;
    margin: 0 auto;
}

/* ── Image ── */
.fp-preview-image-wrap {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 12px;
    min-height: 180px;
    background: #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fp-preview-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}

#fp-preview-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

/* ── Title ── */
.fp-preview-title {
    font-weight: 700;
    font-size: 16px;
    color: #1e293b;
    margin-bottom: 10px;
}

/* ── Links ── */
.fp-preview-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 16px;
}

.fp-preview-links span {
    font-weight: 600;
    font-size: 20px;
    color: #1e293b;
    cursor: pointer;
}

/* ── CTA Button ── */
.fp-preview-cta {
    background: #0059FF;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px;
    width: 100%;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

/* ── Gallery count badge inside upload field ── */
.fp-gallery-upload .fp-gallery-count-badge {
    font-size: 13px;
    color: #0059FF;
    font-weight: 600;
    padding: 6px 0 2px 0;
}

/* ── Gallery count in preview section ── */
#fp-preview-gallery-count {
    font-size: 13px;
    color: #1e293b;
    font-weight: 500;
    margin-top: 12px;
    padding: 8px 12px;
    background: #0059FF1A;
    border-radius: 6px;
    text-align: center;
}
/* ── Gallery Preview Grid ── */
#fp-preview-gallery {
    display: flex;
    flex-wrap: wrap;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 16px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.fp-gallery-item {
    width: calc(33% - 10px);
}

.fp-gallery-item img {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 6px;
    display: block;
}

.fp-gallery-item span {
    font-size: 11px;
    color: #1e293b;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

/* ── Preview Description ── */
#fp-preview-desc {
    font-size: 16px;
    color: #1e293b;
    margin-bottom: 12px;
    line-height: 1.5;
}

.fp-gallery-item {
    position: relative;
}

.fp-gallery-delete {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 20px;
    height: 20px;
    color: white;
    border: 1px solid #FFFFFF;
    border-radius: 50%;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.fp-gallery-delete:hover {
    background: red;
}

.fp-gallery-label {
    display: block;
    text-align: center;
    font-size: 11px;
    margin-top: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.fp-upload-section .fi-section-content {
    padding: 0 !important;
}

.fp-upload-section {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
}

.fp-upload-section.fi-section {
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

.fp-upload-section .fi-section-content-ctn {
    border-top: none !important;
}

.fp-left-col .fi-section-content {
    padding-top: 16px !important;
    padding-bottom: 16px !important;
}

.fp-left-col .fi-fo-component-ctn {
    gap: 16px !important;
}

.fp-upload-section .fi-fo-component-ctn {
    gap: 12px !important;
}

.fp-description {
    margin-top: 0 !important;
}

#fp-preview-desc {
    font-size: 13px;
    color: #475569;
    margin-top: 6px;
    margin-bottom: 12px;
    line-height: 1.5;
}

.fp-preview-links span {
    font-size: 13px;
    font-weight: 500;
    color: #1e293b;
    display: block;
    margin-bottom: 2px;
}

#fp-preview-terms {
    font-size: 20px;
    color: #475569;
    margin-bottom: 8px;
    line-height: 1.5;
}
.fp-cart-recovery-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.fp-cart-recovery-label {
    font-size: 14px;
    font-weight: 500;
    color: #1e293b;
}
.fi-fo-rich-editor-toolbar .flex {
    flex-wrap: wrap !important;
}
[data-trix-button-group="history-tools"] {
    order: -1;
}
#data\.settings .fi-section-content {
    padding: 0 !important;
}

#data\.settings .fi-section-content-ctn {
    border-top: none !important;
}

#data\.settings {
    box-shadow: none !important;
    background: transparent !important;
    border: none !important;
    ring: none !important;
}
#data\.settings .fi-section-header {
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.fp-gallery-upload .filepond--item,
.fp-image-upload .filepond--item {
    height: 54px !important;
}

.fp-gallery-upload .filepond--image-preview-wrapper,
.fp-gallery-upload .filepond--image-preview-overlay,
.fp-gallery-upload .filepond--image-preview,
.fp-gallery-upload .filepond--image-clip,
.fp-image-upload .filepond--image-preview-wrapper,
.fp-image-upload .filepond--image-preview-overlay,
.fp-image-upload .filepond--image-preview,
.fp-image-upload .filepond--image-clip {
    display: none !important;
    height: 0 !important;
}

.fp-gallery-upload .filepond--panel-center.filepond--item-panel,
.fp-image-upload .filepond--panel-center.filepond--item-panel {
    transform: none !important;
}
.fp-right-col .fi-section-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.fp-preview-wrapper {
    display: flex;
    flex-direction: column;
}

.fp-preview-tabs {
    position: absolute;
    top: 5px;
    right: 16px;
}

.fp-right-col .fi-section-header {
    position: relative;
}
.fp-preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
a.fp-add-new-digital-product,
a.fp-add-new-digital-product.fi-btn {
    background-color: #0059FF !important;
    font-weight: 400 !important;
    font-family: 'Be Vietnam Pro', sans-serif !important;
    font-size: 20px !important;
    transition: background-color 0.2s ease !important;
    padding: 8px 26px !important;
}

a.fp-add-new-digital-product:hover,
a.fp-add-new-digital-product.fi-btn:hover {
    background-color: #0047cc !important;
}

/* ── ========================== Course Preview ==============================── */
#fc-preview-card.fp-mobile {
    max-width: 375px;
    margin: 0 auto;
}
.fc-preview-card {
    background: #f0f4ff;
    border-radius: 12px;
    padding: 0 0 16px 0;
    overflow: hidden;
}

.fc-preview-image-wrap {
    position: relative;
    width: 100%;
    margin-bottom: 12px;
}

.fc-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.fc-preview-title {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    padding: 0 16px;
    margin-bottom: 6px;
}

.fc-preview-desc {
    font-size: 13px;
    color: #475569;
    padding: 0 16px;
    margin-bottom: 16px;
    line-height: 1.5;
}

.fc-preview-cta {
    display: block;
    width: calc(100% - 32px);
    margin: 0 16px;
    padding: 12px;
    background: #0059FF;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
}

.fc-preview-cta:hover {
    background: #0047cc;
}

.fc-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.fc-modal {
    background: white;
    border-radius: 12px;
    padding: 24px;
    width: 90%;
    max-width: 400px;
    position: relative;
}

.fc-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #64748b;
}

.fc-modal-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}

.fc-modal-content p {
    font-size: 14px;
    color: #475569;
}

.fc-trix-wrap trix-toolbar {
    border: 1px solid #C0C0C0 !important;
    border-bottom: none !important;
    border-radius: 8px 8px 0 0 !important;
    overflow: visible !important;
    padding: 0 3px !important;
}

.fc-trix-wrap trix-toolbar .trix-button-group {
    overflow: visible !important;
    flex-wrap: wrap !important;
}

.fc-trix-wrap trix-toolbar .trix-button-row {
    flex-wrap: wrap !important;
    overflow: visible !important;
    padding: 5px 0px;
}
.fc-trix-wrap trix-toolbar .trix-button-group:not(:first-child){
    margin:0 !important;
    height: fit-content;
}

.fi-resource-courses .fc-image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 48px 16px;
    color: #94a3b8;
    font-size: 13px;
    background: #EDF5FF;
    border-radius: 8px;
    width: 100%;
}

.fi-resource-courses .fi-form-actions .fi-ac button:nth-child(1) {
    background: #0059FF !important;
    color: #fff !important;
}

.fi-resource-courses .fi-form-actions .fi-ac button:nth-child(2):hover {
    background: #0059FF !important;
    color: #fff !important;
}

.fi-resource-courses .fi-form-actions .fi-ac button:nth-child(3) {
    background: #FF0000 !important;
    color:#FFF;
}

.fi-resource-courses .fi-form-actions .fi-ac button:nth-child(3):hover {
    background: #FF0000 !important;
    color: #fff !important;
}

.fi-form-actions .fc-btn-create{
    width: 24%;
    padding: 12px !important;
    font-size: 20px !important;
    font-weight: 400 !important;
    font-family: 'Be Vietnam Pro' !important;
}
.fi-form-actions .fc-btn-cancel {
    background: #FF0000;
    color: #FFF;
    width: 24%;
    padding: 12px;
    font-size: 20px !important;
    font-weight: 400 !important;
    font-family: 'Be Vietnam Pro' !important;
    flex: unset !important;
}
.fi-form-actions .fc-btn-cancel:hover{
    background: #FF0000 !important;
    color: #FFF !important;
}



/* ============================================
   Session 1:1 Form — Scoped Styles (sp-)
   ============================================ */

.sp-wrapper {
    background: #ffffff;
    border-radius: 8px;
    padding: 0;
}

.sp-wrapper input[type="text"],
.sp-wrapper input[type="number"],
.sp-wrapper input[type="url"],
.sp-wrapper textarea,
.sp-wrapper select {
    color: #474747 !important;
    border-radius: 6px !important;
    width: 100%;
    padding: 5px 10px;
}

.sp-wrapper input::placeholder,
.sp-wrapper textarea::placeholder {
    color: #C0C0C0 !important;
    opacity: 1;
}

.sp-wrapper label {
    color: #C0C0C0 !important;
    font-size: 14px;
}

/* ── Left col spacing ── */
.sp-left-col .fi-section-content {
    padding-top: 16px !important;
    padding-bottom: 16px !important;
}

.sp-left-col .fi-fo-component-ctn {
    gap: 16px !important;
}

/* ── RichEditor ── */
.sp-wrapper .sp-description {
    border: 1.09px solid #C0C0C0 !important;
    border-radius: 6px !important;
}

.sp-wrapper .sp-description .ProseMirror,
.sp-wrapper .sp-description [contenteditable] {
    max-height: none !important;
    overflow: visible !important;
}

/* ── Preview header ── */
.sp-preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.sp-right-col .fi-section-header {
    position: relative;
}

/* ── Tabs ── */
.sp-preview-tabs {
    display: flex;
    align-items: center;
    gap: 6px;
}

.sp-tab {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    transition: background 0.2s;
}

.sp-tab.sp-tab-active {
    background: #0059FF3B;
    color: #0059FF;
}

.sp-tab:hover {
    background: #0059FF1A;
    color: #0059FF;
}

.sp-tab svg {
    display: block;
    color: #000000;
}

/* ── Preview Card ── */
.sp-preview-card {
    background: #0059FF12;
    border-radius: 12px;
    overflow: hidden;
    transition: max-width 0.3s ease;
    width: 100%;
}

.sp-preview-card.sp-mobile {
    max-width: 320px;
    margin: 0 auto;
}

/* ── Banner image ── */
.sp-preview-image-wrap {
    width: 100%;
    margin-bottom: 0;
    min-height: 180px;
    background: #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#sp-preview-image-placeholder {
    color: #94a3b8;
    font-size: 13px;
}

#sp-preview-image {
    width: 100%;
    height: auto;
    display: block;
}

/* ── Card content padding ── */
.sp-preview-card .sp-preview-title,
.sp-preview-card .sp-preview-desc,
.sp-preview-card .sp-preview-cta {
    padding-left: 16px;
    padding-right: 16px;
}

/* ── Title ── */
.sp-preview-title {
    font-weight: 700;
    font-size: 16px;
    color: #1e293b;
    margin-top: 12px;
    margin-bottom: 6px;
}

/* ── Description ── */
#sp-preview-desc {
    font-size: 13px;
    color: #475569;
    margin-bottom: 16px;
    line-height: 1.5;
}

.sp-preview-cta {
    display: block;
    width: calc(50% - 32px);
    margin: 0 16px 16px 16px;
    padding: 12px;
    background: #0059FF;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 400;
    cursor: pointer;
    text-align: center;
    font-family:'Be Vietnam Pro'
}

.sp-preview-cta:hover {
    background: #0047cc;
}

.sp-preview-cta {
    display: block;
    width: calc(50% - 32px);
    margin: 0 16px 16px 16px;
    padding: 12px;
    background: #0059FF;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 400;
    cursor: pointer;
    text-align: center;
    font-family:'Be Vietnam Pro'
}

.fi-resource-session-one-to-one .fi-form-actions .fi-ac button:nth-child(1) {
    background: #0059FF !important;
    color: #fff !important;
    font-weight:400;
    border:1px solid #0059FF;
}
.fi-resource-session-one-to-one .fi-form-actions .fi-ac button:nth-child(1):hover{
    background:#FFFFFF !important;
    border:1px solid #0059FF;
    color: #1e293b !important;
}

.fi-resource-session-one-to-one .fi-form-actions .fi-ac button:nth-child(2){
    font-weight:400;
}
.fi-resource-session-one-to-one .fi-form-actions .fi-ac button:nth-child(2):hover{
    background: #0059FF !important;
    color: #fff !important;
}

.fi-resource-session-one-to-one .fi-form-actions .fi-ac button:nth-child(3) {
    background: #FF0000 !important;
    color: #fff !important;
    font-weight:400;
}

.fi-resource-session-one-to-one .fi-ac .fi-ac-btn-action {
    border-radius: 10px !important;
    padding: 10px 20px !important;
    font-family: 'Be Vietnam Pro', sans-serif !important;
    font-weight: 400 !important;
    font-size: 20px !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
}

.fi-resource-session-one-to-one .fi-ac .fi-ac-btn-action[type="button"] {
    background-color: #FF0000 !important;
    color: #ffffff !important;
    box-shadow: none !important;
}
@media (max-width: 480px) {
    .fi-resource-session-one-to-one .fi-ac .fi-ac-btn-action {
        width: 190px !important;
    }
}
/* ====================== Dashboard Styles for sidebar =================================== */
/* Sub menu dots/line hide karo */
.fi-sidebar-item .fi-sidebar-item-button .fi-sidebar-item-icon {
    display: flex !important;
}

/* Default bullet/dot hide karo */
.fi-sidebar-group .fi-sidebar-item::before {
    display: none !important;
}

/* Sub menu left border/line hide karo */
.fi-sidebar-group .fi-sidebar-items {
    border-left: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}
/* Dot aur line hide karo */
.fi-sidebar-item-grouped-border {
    display: none !important;
}

/* Icon hamesha show karo (sidebar open ho ya closed) */
.fi-sidebar-sub-group-items .fi-sidebar-item-icon {
    display: block !important;
}
.fi-sidebar-sub-group-items {
    padding-left: 12px !important;
}
.fi-sidebar-open .fi-sidebar-item > a[href*="/admin/services"] .fi-sidebar-item-label {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
}

.fi-sidebar-open .fi-sidebar-item > a[href*="/admin/services"] .fi-sidebar-item-label::after {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    min-width: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='3' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='m19.5 8.25-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    margin-left: auto !important;
    transition: transform 0.3s ease !important;
}
/* Language switcher */
#admin-locale-form select {
    border: 1px solid #e2e8f0 !important;
    border-radius: 6px !important;
    padding: 4px 24px 4px 8px !important;
    font-size: 13px !important;
    color: #475569 !important;
    background-color: #ffffff !important;
    cursor: pointer !important;
}

#admin-locale-form select:focus {
    outline: none !important;
    border-color: #0059FF !important;
    box-shadow: 0 0 0 2px #0059FF1A !important;
}

.fi-topbar #admin-locale-form select {
    background-color: #ffffff !important;
}
.fi-main-ctn .fi-main {
    padding-left: 10px !important;
    padding-right: 10px !important;
}

/* Referral Codes — Generate Code + search on one row */
.fi-resource-referral-codes .fi-ta-header-ctn {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    padding: 0.75rem 1.5rem;
}

.fi-resource-referral-codes .fi-ta-header-ctn > :not([hidden]) ~ :not([hidden]) {
    border-top-width: 0 !important;
}

.fi-resource-referral-codes .fi-ta-header-ctn .fi-ta-header {
    padding: 0 !important;
}

.fi-resource-referral-codes .fi-ta-header-ctn .fi-ta-header-toolbar {
    padding: 0 !important;
    width: auto;
    flex: 0 0 auto;
}

/* Referrals list — compact header, search-only toolbar */
.fi-resource-referrals.fi-resource-list-records-page > section {
    gap: 1rem;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.fi-resource-referrals.fi-resource-list-records-page > section > .grid {
    gap: 0.75rem;
}

.fi-resource-referrals .fi-ta-header-ctn {
    padding: 0.75rem 1.5rem;
}

.fi-resource-referrals .fi-ta-header-toolbar {
    padding: 0 !important;
    justify-content: flex-end;
}

/* ===== Create Chat Room Modal ===== */

/* Heading */
.chat-room-modal .fi-modal-heading {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-weight: 600;
    font-size: 32px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
}

/* Field labels */
.chat-room-modal .fi-fo-field-wrp-label span {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0px;
    color: #474747;
}

/* Input wrapper */
.chat-room-modal .fi-input-wrp {
    height: 48px;
    padding: 10px 20px;
    border: 1.09px solid var(--Text-color-4, #C0C0C0);
    align-items: center;
    box-shadow: none;
}

/* Input */
.chat-room-modal .fi-input {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0px;
    padding: 0;
}

/* Placeholder */
.chat-room-modal .fi-input::placeholder {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-weight: 400;
    font-size: 16px;
}

/* Submit button */
.chat-room-modal .fi-modal-footer .fi-btn-color-primary {
    width: 100%;
    height: 46px;
    padding-left: 16px;
    padding-right: 16px;
    border-radius: 10px;
    font-family: 'Be Vietnam Pro', sans-serif;
    font-weight: 600;
    font-size: 16px;
}

/* Hide extra buttons */
.chat-room-modal .fi-modal-footer .fi-btn-color-gray {
    display: none;
}
/* ===== Chat Room Listing Table ===== */

/* Page title - "List of Rooms" */
.fi-resource-chat-rooms .fi-header-heading {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: -0.02em;
    vertical-align: middle;
}

/* Search field wrapper */
.fi-resource-chat-rooms .fi-ta-search-field-wrp {
    width: 351.82px;
    height: 41px;
    border-radius: 10px;
    border-width: 1.09px;
}

/* Search input */
.fi-resource-chat-rooms .fi-ta-search-field-wrp input {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0px;
    padding: 10px 20px;
    height: 41px;
    border-radius: 10px;
}

/* Search placeholder */
.fi-resource-chat-rooms .fi-ta-search-field-wrp input::placeholder {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-weight: 400;
    font-size: 16px;
}

/* Column headings */
.fi-resource-chat-rooms .fi-ta-header-cell {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 100%;
    letter-spacing: 0%;
    text-transform: uppercase;
}

/* Table cell values */
.fi-resource-chat-rooms .fi-ta-cell {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 100%;
    letter-spacing: 0%;
}

/* Action buttons - blue circular */
.fi-resource-chat-rooms .fi-ta-actions .fi-btn {
    background-color: #0059FF;
    color: #ffffff;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: unset;
}

.fi-resource-chat-rooms .fi-ta-actions .fi-btn:hover {
    background-color: #0047CC;
}

.fi-resource-chat-rooms .fi-ta-actions .fi-btn .fi-btn-icon {
    width: 16px;
    height: 16px;
}

.fi-resource-chat-rooms .fi-ta-actions .fi-btn .fi-btn-label {
    display: none;
}

/* ===== List of Rooms - Header Fix ===== */

.fi-resource-chat-rooms .fi-ta-header-ctn {
    display: flex;
    flex-direction: column;
}

.fi-resource-chat-rooms .fi-ta-header {
    display: none;
}

.fi-resource-chat-rooms .fi-ta-header-toolbar {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
}

.fi-resource-chat-rooms .fi-ta-header-toolbar::before {
    content: 'List of Rooms';
    font-family: 'Be Vietnam Pro', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: -0.02em;
    color: #111827;
}
/* ================================================================
   Discord Listing Page — Styles
   Add these to your existing CSS file
   ================================================================ */

.fi-resource-discord .dl-create-btn,
.fi-resource-discord .fi-btn.dl-create-btn {
    background: #0059FF !important;
    color: #fff !important;
    border-radius: 8px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    font-family: 'Be Vietnam Pro', sans-serif !important;
    padding: 10px 20px !important;
    border: none !important;
}

.fi-resource-discord .dl-stats-row {
    display: flex;
    gap: 16px;
    margin: 16px 0 8px 0;
    flex-wrap: wrap;
}

.fi-resource-discord .dl-stat-card {
    background: #fff;
    border-radius: 12px;
    padding: 18px 24px;
    flex: 1;
    min-width: 160px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.fi-resource-discord .dl-stat-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.fi-resource-discord .dl-stat-value {
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1;
}

.fi-resource-discord .dl-stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.fi-resource-discord .dl-stat-label {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

.fi-resource-discord .fi-tabs {
    background: transparent !important;
    border-bottom: none !important;
    gap: 8px !important;
    padding: 0 !important;
    margin-bottom: 16px !important;
}

.fi-resource-discord .fi-tabs-tab {
    background: #fff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 8px !important;
    color: #475569 !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    padding: 8px 20px !important;
    transition: all 0.15s !important;
}

.fi-resource-discord .fi-tabs-tab:hover {
    border-color: #0059FF !important;
    color: #0059FF !important;
}

.fi-resource-discord .fi-tabs-tab[aria-selected="true"],
.fi-resource-discord .fi-tabs-tab.fi-active {
    background: #0059FF !important;
    border-color: #0059FF !important;
    color: #fff !important;
}

.fi-resource-discord .fi-tabs-tab .fi-badge {
    background: rgba(255,255,255,0.25) !important;
    color: inherit !important;
    font-size: 12px !important;
    border-radius: 20px !important;
    padding: 1px 8px !important;
    margin-left: 6px !important;
}

.fi-resource-discord .fi-tabs-tab[aria-selected="true"] .fi-badge {
    background: rgba(255,255,255,0.3) !important;
    color: #fff !important;
}

.fi-resource-discord .fi-ta-empty-state {
    background: transparent !important;
    padding: 60px 20px !important;
    text-align: center !important;
}

.fi-resource-discord .fi-ta-empty-state-heading {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    margin-bottom: 10px !important;
}

.fi-resource-discord .fi-ta-empty-state-description {
    font-size: 14px !important;
    color: #64748b !important;
    max-width: 340px !important;
    margin: 0 auto 24px auto !important;
    line-height: 1.6 !important;
}

.fi-resource-discord .dl-empty-create-btn,
.fi-resource-discord .fi-ta-empty-state .fi-btn {
    background: #0059FF !important;
    color: #fff !important;
    border-radius: 8px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    padding: 10px 24px !important;
    border: none !important;
    cursor: pointer !important;
}

.fi-resource-discord .dl-empty-create-btn:hover,
.fi-resource-discord .fi-ta-empty-state .fi-btn:hover {
    background: #0047cc !important;
}

.fi-resource-discord .fi-page-header-heading {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
}

@media (max-width: 767px) {
    .fi-resource-discord .dl-stats-row {
        flex-direction: column;
    }
    .fi-resource-discord .dl-stat-card {
        min-width: unset;
    }
}

.fd-wrapper {
    align-items: start;
}


.fd-left-col {
    border-radius: 12px;
}

.fd-image-upload {
    border-radius: 10px;
}

.fd-title input {
    font-size: 16px;
    font-weight: 600;
}

.fd-amount input {
    font-weight: 600;
}

.fd-upload-section {
    background: #f8fafc !important;
    border: 1px dashed #cbd5e1 !important;
    border-radius: 10px !important;
}

.fd-upload-label {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
}

.fd-or-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
}

.fd-or-line {
    flex: 1;
    height: 1px;
    background: #e2e8f0;
}

.fd-or-text {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 600;
}


.fp-right-col {
    position: sticky;
    top: 16px;
}

.fp-right-col .fi-section-header {
    border-bottom: 1px solid #e2e8f0 !important;
    padding-bottom: 14px !important;
}

.fp-preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
}

.fp-preview-tabs {
    display: flex;
    gap: 6px;
    background: #f1f5f9;
    border-radius: 8px;
    padding: 4px;
}

.fp-preview-tabs .fp-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    color: #94a3b8;
    transition: all 0.15s ease;
}

.fp-preview-tabs .fp-tab:hover {
    color: #475569;
}

.fp-preview-tabs .fp-tab.fp-tab-active {
    background: #0059FF3B;
    color: #fff;
    box-shadow: 0 1px 3px rgba(0, 89, 255, 0.35);
    border-radius: 20px;
}

.fp-preview-tabs .fp-tab.fp-tab-active:hover {
    color: #fff;
}


.fd-preview-wrapper {
    display: flex;
    justify-content: center;
    padding: 24px 0;
    background: #f8fafc;
    border-radius: 12px;
}

.fd-preview-card {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    transition: max-width 0.25s ease;
}

/* ── Mobile mode ───────────────────────────────────────────────── */
.fd-preview-card.fp-mobile {
    max-width: 300px;
}

/* ════════════════════════════════════════════════════════════
   IMAGE
   ════════════════════════════════════════════════════════════ */

.fd-preview-image-wrap {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #f0f4ff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.fd-preview-image-wrap img {
    width: 100%;
    height: 100%;
}

.fd-image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 500;
}

/* ════════════════════════════════════════════════════════════
   CARD BODY
   ════════════════════════════════════════════════════════════ */

.fd-preview-body {
    padding: 18px 20px 22px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fd-preview-title {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.3;
    word-break: break-word;
}

.fd-preview-desc {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
}

.fd-preview-desc p {
    margin: 0 0 6px 0;
}

/* ── Terms & Conditions ───────────────────────────────────────── */
.fd-terms-preview-wrap {
    border-top: 1px solid #f1f5f9;
    padding-top: 12px;
}

.fd-terms-heading {
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    display: block;
    margin-bottom: 6px;
}

.fd-preview-terms {
    font-size: 13px;
    color: #64748b;
    line-height: 1.6;
    max-height: 120px;
    overflow-y: auto;
}

/* ── Refund Policy line ───────────────────────────────────────── */
.fd-preview-links {
    font-size: 13px;
    color: #0059FF;
    font-weight: 500;
    cursor: pointer;
    text-decoration: underline;
    width: fit-content;
}

/* ── CTA Button ───────────────────────────────────────────────── */
.fd-preview-cta {
    margin-top: 6px;
    width: 100%;
    background: #0059FF;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    padding: 12px 0;
    cursor: pointer;
    transition: background 0.15s ease;
}

.fd-preview-cta:hover {
    background: #0047cc;
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════ */

@media (max-width: 1023px) {
    .fp-right-col {
        position: static;
    }
    .fd-preview-card {
        max-width: 100%;
    }
}

    .fi-resource-discord .fi-header-heading,
    .fi-resource-discord .fi-header-subheading,
    .fi-resource-discord .fi-ta-header-toolbar,
    .fi-resource-discord .fi-ta-filters-ctn,
    .fi-resource-discord .fi-tabs,
    .fi-resource-discord .fi-ta-content,
    .fi-resource-discord .fi-ta-empty-state { display: none !important; }

    .fi-resource-discord .fi-ta-ctn,
    .fi-resource-discord .fi-ta-wrp {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* ── Page ── */
    .dl-page {
        font-family: 'Be Vietnam Pro', sans-serif;
        width: 100%;
        padding-bottom: 40px;
    }

    /* ── Breadcrumb row ── */
    .dl-breadcrumb-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 20px;
    }
    .dl-breadcrumb {
        font-size: 13px;
        color: #000000;
        font-family: 'Be Vietnam Pro', sans-serif;
    }
    .dl-breadcrumb .dl-bc-active {
        color: #111827;
        font-weight: 600;
    }
    .dl-create-btn {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        background: #0059FF;
        color: #fff !important;
        font-family: 'Be Vietnam Pro', sans-serif;
        font-size: 14px;
        font-weight: 600;
        padding: 10px 20px;
        border-radius: 8px;
        text-decoration: none !important;
        border: none;
        cursor: pointer;
        transition: background 0.15s;
        white-space: nowrap;
    }
    .dl-create-btn:hover { background: #0047CC; }

    /* ── Stats row ── */
    .dl-stats-row {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
        width: 100%;
        margin-bottom: 16px;
    }

    .dl-stat-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 20px 28px;
        background: #fff;
        border: 1px solid #E5E7EB;
        border-radius: 12px;
        min-width: 0;
    }

    .dl-stat-left { display: flex; flex-direction: column; gap: 6px; }

    .dl-stat-value {
        font-family: 'Be Vietnam Pro', sans-serif;
        font-weight: 400;
        font-size: 32px;
        line-height: 100%;
        letter-spacing: 0;
        color: #0059FF;
    }
    .dl-stat-label {
        font-family: 'Be Vietnam Pro', sans-serif;
        font-size: 13px;
        font-weight: 400;
        color: #6B7280;
        white-space: nowrap;
    }

    .dl-stat-icon {
        width: 48px;
        height: 48px;
        border-radius: 12px;
        background: #0059FF17;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    /* Responsive stats */
    @media (max-width: 640px) {
        .dl-stats-row { grid-template-columns: 1fr; gap: 12px; }
    }
    @media (min-width: 641px) and (max-width: 900px) {
        .dl-stats-row { gap: 12px; }
        .dl-stat-item { padding: 16px 14px; }
        .dl-stat-value { font-size: 24px; }
        .dl-stat-icon { width: 38px; height: 38px; }
    }

    /* ── Tabs ── */
    .dl-tabs {
        display: flex;
        gap: 16px;
        margin-bottom: 24px;
    }

    .dl-tab {
        padding: 10px 28px;
        font-family: 'Be Vietnam Pro', sans-serif;
        font-size: 14px;
        font-weight: 500;
        cursor: pointer;
        border: 1.5px solid #E5E7EB;
        border-radius: 8px;
        background: #fff;
        color: #0059FF;
        transition: background 0.15s, color 0.15s, border-color 0.15s;
        text-align: center;
        user-select: none;
        white-space: nowrap;
        width: 262px;
    }
    .dl-tab.active {
        background: #0059FF;
        color: #fff;
        border-color: #0059FF;
    }

    /* ── Content area (100vh bg) ── */
    .dl-content-area {
        border-radius: 12px;
        min-height: calc(100vh - 260px);
        margin-top: 16px;
    }

    /* ── Empty state ── */
    .dl-empty {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 80px 24px 60px;
        text-align: center;
    }
    .dl-empty-title {
        font-family: 'Be Vietnam Pro', sans-serif;
        font-size: 24px;
        font-weight: 700;
        color: #111827;
        margin-bottom: 12px;
    }
    .dl-empty-desc {
        font-family: 'Be Vietnam Pro', sans-serif;
        font-size: 15px;
        color: #6B7280;
        max-width: 380px;
        line-height: 1.7;
        margin-bottom: 28px;
    }
    .dl-empty-btn {
        display: inline-block;
        background: #0059FF;
        color: #fff !important;
        font-family: 'Be Vietnam Pro', sans-serif;
        font-size: 15px;
        font-weight: 600;
        padding: 13px 38px;
        border-radius: 8px;
        text-decoration: none !important;
        border: none;
        cursor: pointer;
        transition: background 0.15s;
    }
    .dl-empty-btn:hover { background: #0047CC; }

    /* ── Card grid ── */
    .dl-card-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 20px;
    }
    .dl-card {
        background: #fff;
        border: 1px solid #E5E7EB;
        border-radius: 12px;
        overflow: hidden;
    }
    .dl-card-img {
        width: 100%;
        height: 160px;
        object-fit: cover;
    }
    .dl-card-img-placeholder {
        width: 100%;
        height: 160px;
        background: #F3F4F6;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #9CA3AF;
        font-size: 13px;
    }
    .dl-card-body { padding: 16px; }
    .dl-card-title-row {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 8px;
        margin-bottom: 6px;
    }
    .dl-card-title {
        font-size: 15px;
        font-weight: 600;
        color: #111827;
    }
    .dl-status-badge {
        flex-shrink: 0;
        font-size: 11px;
        font-weight: 600;
        padding: 3px 8px;
        border-radius: 999px;
        text-transform: capitalize;
    }
    .dl-status-published { background: #DCFCE7; color: #166534; }
    .dl-status-unpublished { background: #FEF3C7; color: #92400E; }
    .dl-status-draft { background: #E5E7EB; color: #374151; }
    .dl-card-amount {
        font-size: 14px;
        color: #0059FF;
        font-weight: 500;
        margin-bottom: 8px;
    }
    .dl-card-link {
        font-size: 11px;
        color: #6B7280;
        word-break: break-all;
        margin-bottom: 12px;
        line-height: 1.4;
    }
    .dl-card-actions { display: flex; flex-wrap: wrap; gap: 8px; }
    .dl-card-action {
        flex: 1;
        text-align: center;
        padding: 7px;
        border-radius: 6px;
        font-size: 13px;
        font-weight: 500;
        cursor: pointer;
        text-decoration: none;
        border: 1px solid #E5E7EB;
        color: #374151;
        background: #fff;
        transition: background 0.12s;
    }
    .dl-card-action:hover { background: #F9FAFB; }
    .dl-card-action.dl-card-action-primary {
        color: #fff;
        background: #0059FF;
        border-color: #0059FF;
    }
    .dl-card-action.dl-card-action-primary:hover { background: #0047CC; }
    .dl-card-action.danger { color: #EF4444; border-color: #FCA5A5; }
    .dl-card-action.danger:hover { background: #FEF2F2; }

    /* ════════════════════════════════════════════════════════════
   EVENT RESOURCE — ALL STYLES PREFIXED WITH ev-
   Completely independent from Discord (fd-) styles.
   ════════════════════════════════════════════════════════════ */

    .fi-resource-events .fi-header-heading,
    .fi-resource-events .fi-header-subheading { display: none !important; }

    .ev-page-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 18px;
    }

    .ev-page-title {
        font-size: 26px;
        font-weight: 800;
        color: #1e293b;
        margin: 0;
    }

    .ev-close-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border-radius: 8px;
        border: 1px solid #e2e8f0;
        background: #fff;
        color: #475569;
        cursor: pointer;
        transition: background 0.15s ease;
    }

    .ev-close-btn:hover {
        background: #f1f5f9;
    }

    .ev-popup-overlay {
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.45);
        z-index: 999;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .ev-popup-card {
        background: #fff;
        border-radius: 14px;
        padding: 32px 36px;
        max-width: 420px;
        width: 90%;
        text-align: center;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.18);
    }

    .ev-popup-title {
        font-size: 22px;
        font-weight: 800;
        color: #1e293b;
        margin: 0 0 12px 0;
    }

    .ev-popup-desc {
        font-size: 14px;
        color: #64748b;
        line-height: 1.6;
        margin: 0 0 24px 0;
    }

    .ev-popup-actions {
        display: flex;
        gap: 12px;
    }

    .ev-popup-btn {
        flex: 1;
        padding: 12px 0;
        border-radius: 8px;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        transition: background 0.15s ease;
    }

    .ev-popup-btn-outline {
        background: #fff;
        border: 1.5px solid #cbd5e1;
        color: #1e293b;
    }

    .ev-popup-btn-outline:hover { background: #f8fafc; }

    .ev-popup-btn-primary {
        background: #0059FF;
        border: none;
        color: #fff;
    }

    .ev-popup-btn-primary:hover { background: #0047cc; }

    .ev-wrapper {
        align-items: start;
        background-color: #FFFFFF;
    }

    .ev-left-col {
        border-radius: 12px;
    }

    .ev-wizard .fi-wizard-header { display: none !important; }

    .ev-wizard-actions {
        display: flex;
        justify-content: flex-end;
        gap: 12px;
        margin-top: 24px;
    }

    .ev-btn {
        padding: 12px 28px;
        border-radius: 8px;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        border: none;
        transition: background 0.15s ease;
    }

    .ev-btn-outline {
        background: #fff;
        border: 1.5px solid #0059FF;
        color: #0059FF;
    }

    .ev-btn-outline:hover { background: #f0f6ff; }

    .ev-btn-primary {
        background: #0059FF;
        color: #fff;
    }

    .ev-btn-primary:hover { background: #0047cc; }

    .ev-title input {
        font-size: 15px;
        font-weight: 500;
    }

    .ev-cover-section {
        background: #fff !important;
        border: 1.5px dashed #cbd5e1 !important;
        border-radius: 10px !important;
    }

    .ev-cover-upload {
        border-radius: 10px;
    }

    .ev-video-link input {
        font-size: 14px;
    }

    .ev-video-add-btn {
        background: #fff !important;
        border: 1px solid #cbd5e1 !important;
        border-radius: 6px !important;
        color: #1e293b !important;
        font-weight: 600 !important;
        font-size: 13px !important;
        padding: 4px 16px !important;
    }

.ev-optional-sections {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    columns: unset !important;
    gap: 12px !important;
    margin-top: 0 !important;
}

@media (max-width: 480px) {
    .ev-optional-sections {
        grid-template-columns: 1fr !important;
    }
}

.ev-optional-sections > div {
    padding-top: 0 !important;
}

.ev-optional-sections .fi-fo-checkbox-list-option-label {
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    padding: 3px 15px;
    margin: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    background: #fff;
    transition: border-color .15s ease, background .15s ease;
}

.ev-optional-sections .fi-fo-checkbox-list-option-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
    margin: 0;
}

.ev-optional-sections .fi-fo-checkbox-list-option-label > div {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ev-optional-sections .fi-fo-checkbox-list-option-label span {
    font-size: 14px;
    font-weight: 500;
    color: #474747;
    border: none;
    background-color: transparent;
    pointer-events: none;
}
.bg-primary-600{background-color: #0059FF !important;}
.ev-optional-sections .fi-fo-checkbox-list-option-label:has(input:checked) {
    border-color: #0059FF !important;
    background: #f0f6ff !important;
}

.ev-optional-sections > div:last-child {
    grid-column: 1 / -1 !important;
}
    .ev-section-heading {
        font-size: 15px;
        font-weight: 700;
        color: #1e293b;
        margin-top: 8px;
    }

    .ev-section-subtext {
        font-size: 13px;
        color: #64748b;
        margin-top: 2px;
        margin-bottom: 8px;
    }

    .ev-datetime-row input {
        font-weight: 500;
    }

   .ev-session-btn {
        width: 100%;
        background: #fff !important;
        border: 1.5px solid #e2e8f0 !important;
        border-radius: 8px !important;
        color: #1e293b !important;
        font-weight: 500 !important;
        font-size: 14px !important;
        padding: 10px 0 !important;
        transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
    }

    .ev-session-btn-active {
        background: #0059FF !important;
        border-color: #0059FF !important;
        color: #fff !important;
    }

    .ev-location-type select,
    .ev-location input {
        font-size: 14px;
    }

    .ev-value-toggle-row button,
    .ev-value-btn {
        width: 100%;
        background: #fff !important;
        border: 1.5px solid #e2e8f0 !important;
        border-radius: 8px !important;
        color: #1e293b !important;
        font-weight: 500 !important;
        font-size: 14px !important;
        padding: 14px 0 !important;
        transition: border-color 0.15s ease, background 0.15s ease;
    }

    .ev-value-btn-active {
        border-color: #0059FF !important;
        background: #f0f6ff !important;
        color: #0059FF !important;
    }

    .ev-value-toggle-row button:hover,
    .ev-value-btn:hover {
        background: #f8fafc !important;
        border-color: #cbd5e1 !important;
    }

    .ev-value-btn-active:hover {
        background: #f0f6ff !important;
        border-color: #0059FF !important;
    }

    .ev-optional-sections .fi-fo-checkbox-list-option-label:hover {
        border-color: #0059FF !important;
        background: #f0f6ff !important;
    }

    .ev-ticket-list .fi-fo-repeater-item {
        border: 1px solid #e2e8f0;
        border-radius: 10px;
        padding: 14px 18px;
        background: #fff;
    }

    .ev-ticket-card {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 4px 16px;
    }

    .ev-ticket-name {
        font-size: 14px;
        font-weight: 600;
        color: #1e293b;
    }

    .ev-ticket-sub {
        font-size: 13px;
        color: #64748b;
        flex: 1;
    }

    .ev-ticket-sale {
        font-size: 13px;
        font-weight: 600;
        color: #0059FF;
    }

    .ev-new-ticket-btn .fi-fo-repeater-add-action button,
    .ev-new-ticket-btn button[type="button"] {
        width: 100%;
        background: #fff !important;
        border: 1.5px solid #e2e8f0 !important;
        border-radius: 8px !important;
        color: #1e293b !important;
        font-weight: 500 !important;
        padding: 12px 0 !important;
    }

    .ev-ticket-name input,
    .ev-ticket-price input {
        font-size: 14px;
    }

    .ev-advance-options {
        border-radius: 8px !important;
    }

    .ev-theme-select {
        display: flex;
        gap: 16px;
    }

    .ev-theme-select .fi-fo-radio-option {
        border: 1.5px solid #e2e8f0;
        border-radius: 10px;
        padding: 10px;
        text-align: center;
    }

    .ev-theme-select .fi-fo-radio-option:has(input:checked) {
        border-color: #0059FF;
    }

    .ev-theme-select .fi-fo-radio-option:has(input:disabled) {
        opacity: 0.6;
        position: relative;
    }

    .ev-style-swatch input[type="color"],
    .ev-style-swatch .fi-color-picker-swatch {
        width: 32px;
        height: 32px;
        border-radius: 50%;
    }

    .ev-style-change-btn button,
    .ev-style-reset-btn button {
        border-radius: 6px !important;
        font-weight: 600 !important;
        font-size: 13px !important;
        padding: 6px 16px !important;
    }

    .ev-style-change-btn button {
        background: #0059FF !important;
        color: #fff !important;
        border: none !important;
    }

    .ev-style-reset-btn button {
        background: #fff !important;
        color: #1e293b !important;
        border: 1px solid #cbd5e1 !important;
    }
    .ev-info-banner {
        background: #eef4ff;
        border-radius: 10px;
        padding: 14px 18px;
        font-size: 13px;
        color: #334155;
        line-height: 1.6;
    }

    .ev-learn-more {
        color: #0059FF;
        font-weight: 600;
        text-decoration: underline;
    }

    .ev-setting-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        padding: 5px 16px;
        background: #fff;
    }

    .ev-setting-row-wrap {
        flex-wrap: wrap;
        gap: 8px;
    }

    .ev-setting-row-actions {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .ev-setting-label {
        font-size: 14px;
        color: #1e293b;
        font-weight: 500;
    }

    .ev-setting-btn {
        background: #fff;
        border: 1px solid #cbd5e1;
        border-radius: 6px;
        padding: 6px 16px;
        font-size: 13px;
        font-weight: 600;
        color: #1e293b;
        cursor: pointer;
    }

    .ev-setting-btn:hover { background: #f8fafc; }

    .ev-setting-help {
        font-size: 12px;
        color: #474747;
        margin-top: 6px;
        margin-left: 2px;
    }

    .ev-icon-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 30px;
        height: 30px;
        border-radius: 6px;
        border: 1px solid #cbd5e1;
        background: #fff;
        color: #475569;
        cursor: pointer;
    }

    .ev-setting-toggle-wrap {
        display: flex;
        align-items: center;
        gap: 10px;
        border: 1px solid #cbd5e1;
        border-radius: 6px;
        padding: 4px 10px 4px 14px;
        cursor: pointer;
    }

    .ev-setting-toggle-label {
        font-size: 13px;
        font-weight: 600;
        color: #1e293b;
    }

    .ev-toggle-switch {
        position: relative;
        display: inline-block;
        width: 36px;
        height: 20px;
        border-radius: 999px;
        background: #cbd5e1;
        cursor: pointer;
        transition: background 0.15s ease;
        flex-shrink: 0;
    }

    .ev-toggle-switch::after {
        content: '';
        position: absolute;
        top: 2px;
        left: 2px;
        width: 16px;
        height: 16px;
        border-radius: 50%;
        background: #fff;
        transition: left 0.15s ease;
    }

    .ev-toggle-switch.ev-toggle-on {
        background: #0059FF;
    }

    .ev-toggle-switch.ev-toggle-on::after {
        left: 18px;
    }

    .ev-page-url input {
        font-size: 14px;
    }

    /* ════════════════════════════════════════════════════════════
    RIGHT COLUMN — EVENT PREVIEW
    ════════════════════════════════════════════════════════════ */

    .ev-right-col {
        position: sticky;
        top: 16px;
    }

    .ev-right-col .fi-section-header {
        border-bottom: 1px solid #e2e8f0 !important;
        padding-bottom: 14px !important;
    }

    .ev-preview-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        font-size: 16px;
        font-weight: 700;
        color: #1e293b;
    }

    .ev-preview-tabs {
        display: flex;
        gap: 6px;
        background: #f1f5f9;
        border-radius: 8px;
        padding: 4px;
    }

    .ev-preview-tabs .ev-tab {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        background: transparent;
        border: none;
        border-radius: 6px;
        cursor: pointer;
        color: #94a3b8;
        transition: all 0.15s ease;
    }

    .ev-preview-tabs .ev-tab:hover { color: #475569; }

    .ev-preview-tabs .ev-tab.ev-tab-active {
        background: #0059FF;
        color: #fff;
        box-shadow: 0 1px 3px rgba(0, 89, 255, 0.35);
        border-radius: 20px;
    }

    .ev-preview-tabs .ev-tab.ev-tab-active:hover { color: #fff; }

    .ev-preview-wrapper {
        display: flex;
        flex-direction: column;
        padding: 0;
    }

    .ev-preview-card {
        width: 100%;
        background: #eaf1ff;
        border-radius: 12px;
        overflow: hidden;
        transition: max-width 0.25s ease;
    }

    .ev-preview-card.ev-mobile {
        max-width: 300px;
        margin: 0 auto;
    }

    .ev-preview-image-wrap {
        width: 100%;
        min-height: 180px;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        background-color: #cbd5e1;
    }

    .ev-preview-image-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .ev-image-placeholder {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        color: #94a3b8;
        font-size: 13px;
        font-weight: 500;
    }

    .ev-preview-body {
        padding: 18px 20px 22px 20px;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .ev-preview-title {
        font-size: 19px;
        font-weight: 700;
        color: #1e293b;
        line-height: 1.3;
        word-break: break-word;
    }

    .ev-preview-desc {
        font-size: 14px;
        color: #475569;
        line-height: 1.6;
    }

    .ev-preview-desc p { margin: 0 0 6px 0; }

    .ev-preview-date {
        font-size: 16px;
        font-weight: 600;
        color: #1e293b;
        margin: 18px 0 14px 0;
    }

    .ev-preview-cta {
        width: 200px;
        background: #0059FF;
        color: #fff;
        font-size: 15px;
        font-weight: 600;
        border: none;
        border-radius: 8px;
        padding: 7px 0;
        cursor: pointer;
        transition: background 0.15s ease;
    }

    .ev-description .ProseMirror,
    .ev-description [contenteditable] {
        min-height: 120px !important;   
        max-height: 200px !important;
        overflow-y: auto !important;
    }
    .ev-preview-cta:hover { background: #0047cc; }

    @media (max-width: 1023px) {
        .ev-right-col { position: static; }
        .ev-preview-card { max-width: 100%; }
    }

    @media (max-width: 640px) {
        .ev-datetime-row,
        .ev-style-row { grid-template-columns: 1fr !important; }
    }

/* Theme grid ko relative positioning context banao */
.ev-theme-select {
    position: relative !important;
    display: flex !important;
    gap: 16px;
}

/* Overlay wrapper card ke upar bilkul match karega */
.ev-theme-unlock-overlay {
    margin-top: -100px !important;  /* thumbnail height ke barabar upar khinch lo, adjust as needed */
    pointer-events: none;            /* sirf buttons clickable rahenge, baaki area se clicks neeche nikal jayenge */
}

.ev-theme-unlock-wrap {
    display: flex;
    gap: 16px;
    pointer-events: none;
}

.ev-theme-unlock-wrap::before {
    content: '';
    flex: 1;
    visibility: hidden; /* "Default" card ke barabar empty space rakhne ke liye */
}

.ev-unlock-btn {
    flex: 1;
    pointer-events: auto;     /* button khud clickable */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #0059FF;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 5px 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    align-self: center;
    transition: background 0.15s ease;
}

.ev-unlock-btn:hover {
    background: #0047cc;
}

.ev-new-ticket-btn .fi-fo-repeater-add-action button,
.ev-new-ticket-btn button[type="button"] {
    width: 100%;
    background: #fff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 8px !important;
    color: #1e293b !important;
    font-weight: 500 !important;
    padding: 12px 0 !important;
}

.ev-theme-thumbs {
    display: flex;
    gap: 16px;
    margin-bottom: 8px;
}

.ev-theme-thumb {
    flex: 1;
    height: 90px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.ev-theme-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ev-step-indicator {
    font-size: 22px;
    font-weight: 800;
    color: #1e293b;
    margin-left: auto;
    margin-right: 16px;
}
.ev-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

/* ── Ticket Modal (Paid/Free/New Ticket) ───────────────────── */
.ev-ticket-modal .ev-ticket-stock-type,
.ev-ticket-modal .ev-ticket-stock-count {
    margin-top: 6px;
}

.ev-ticket-modal .ev-ticket-stock-type .fi-select-input,
.ev-ticket-modal .ev-ticket-stock-count input {
    border-radius: 10px;
    border-color: #E2E8F0;
    height: 44px;
}

.ev-ticket-modal .ev-ticket-stock-count input::placeholder {
    color: #94A3B8;
}

/* Advance Options collapsible section */
.ev-ticket-modal .ev-advance-options {
    /* margin-top: 16px; */
    border-radius: 10px;
    box-shadow: none;
}

.ev-ticket-modal .ev-advance-options .fi-section-header {
    display: flex;
    align-items: center;
    justify-content: left;
    gap: 8px;
    padding: 0px 10px;
}

.ev-ticket-modal .ev-advance-options .fi-section-header > div {
    flex: 0 0 auto !important;
    width: auto !important;
}

.ev-ticket-modal .ev-advance-options .fi-section-header-heading {
    font-weight: 700;
    font-size: 15px;
    color: #0F172A;
    white-space: nowrap;
}

.ev-ticket-modal .ev-advance-options .fi-icon-btn {
    margin: 0 !important;
    width: 20px !important;
    height: 20px !important;
}

.ev-ticket-modal .ev-advance-options .fi-section-content-ctn {
    border-top: 1px solid #E2E8F0;
}

/* Modal footer buttons (Create Ticket / Cancel) */
.ev-ticket-modal .fi-modal-footer {
    display: flex;
    gap: 10px;
    padding-top: 16px;
}

.ev-ticket-modal .fi-modal-footer .fi-btn {
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    height: 44px;
    padding: 0 20px;
    box-shadow: none;
}

.ev-ticket-modal .fi-modal-footer .fi-ac-action:first-child .fi-btn {
    background-color: #0059FF;
    color: #fff;
}

.ev-ticket-modal .fi-modal-footer .fi-ac-action:last-child .fi-btn {
    background-color: #fff;
    color: #0F172A;
    border: 1px solid #E2E8F0;
}

.ev-ticket-modal .fi-fo-component-ctn:has(.ev-ticket-stock-type) {
    align-items: end;
}

/* ── Scoped to Event ticket modals only ───────────────────── */
.ev-ticket-modal .fi-modal-heading {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-weight: 600;
    font-size: 32px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
}

.ev-ticket-modal .fi-modal-header {
    justify-content: center;
    position: relative;
}

.ev-ticket-modal .fi-modal-close-btn {
    position: absolute;
    right: 1rem;
}
.fi-modal .fi-fo-component-ctn:has(.ev-ticket-stock-type) {
    align-items: end;
}
.ev-new-ticket-btn.fi-btn {
    width: 100%;
    background: #ffffff !important;
    border: 1px solid #C0C0C0 !important;
    color: #474747 !important;
}

.ev-new-ticket-btn.fi-btn:hover {
    background: #f0f6ff !important;
}
.ev-ticket-card {
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 14px 16px;
}
.ev-wizard .fi-fo-component-ctn {
    gap: 10px !important;
}
.ev-theme-thumb {
    position: relative;
}

.ev-unlock-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* remove any margin-top: -Xpx hack */
}

/* ================= EVENT LISTING — same as discord ================= */
.fi-resource-events .dl-create-btn,
.fi-resource-events .fi-btn.dl-create-btn { background:#0059FF!important;color:#fff!important;border-radius:8px!important;font-size:15px!important;font-weight:500!important;font-family:'Be Vietnam Pro',sans-serif!important;padding:10px 20px!important;border:none!important; }
.fi-resource-events .fi-header-heading,
.fi-resource-events .fi-header-subheading,
.fi-resource-events .fi-ta-header-toolbar,
.fi-resource-events .fi-ta-filters-ctn,
.fi-resource-events .fi-tabs,
.fi-resource-events .fi-ta-content,
.fi-resource-events .fi-ta-empty-state { display:none!important; }
.fi-resource-events .fi-ta-ctn,
.fi-resource-events .fi-ta-wrp { background:transparent!important;border:none!important;box-shadow:none!important;padding:0!important;margin:0!important; }
/* ================= EVENT TABLE ================= */
.ev-table-wrap {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    overflow-x: auto;
}
.ev-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Be Vietnam Pro', sans-serif;
}
.ev-table thead th {
    text-align: left;
    font-size: 13px;
    font-weight: 600;
    color: #111827;
    padding: 14px 18px;
    border-bottom: 1px solid #E5E7EB;
    white-space: nowrap;
}
.ev-table tbody td {
    padding: 14px 18px;
    font-size: 14px;
    color: #374151;
    border-bottom: 1px solid #F3F4F6;
    vertical-align: middle;
}
.ev-table tbody tr:last-child td { border-bottom: none; }
.ev-table tbody tr:hover { background: #F9FAFB; }

.ev-table-event-cell { display: flex; align-items: center; gap: 12px; }
.ev-table-thumb { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.ev-table-thumb-placeholder {
    width: 40px; height: 40px; border-radius: 8px; background: #F3F4F6;
    display: flex; align-items: center; justify-content: center;
    font-size: 10px; color: #9CA3AF; flex-shrink: 0;
}
.ev-table-name { font-weight: 500; color: #111827; }

.ev-table-payment-btn {
    background: #0059FF;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    padding: 6px 16px;
    border-radius: 6px;
    border: none;
}

.ev-table-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.ev-table-action-btn {
    font-size: 12px;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid #E5E7EB;
    background: #fff;
    color: #374151;
    cursor: pointer;
    text-decoration: none;
}
.ev-table-action-btn:hover { background: #F9FAFB; }
.ev-table-action-btn.primary { background: #0059FF; color: #fff; border-color: #0059FF; }
.ev-table-action-btn.primary:hover { background: #0047CC; }
.ev-table-action-btn.danger { color: #EF4444; border-color: #FCA5A5; }
.ev-table-action-btn.danger:hover { background: #FEF2F2; }
.ev-table-empty {
    text-align: center !important;
    padding: 60px 20px !important;
    color: #6B7280;
    font-size: 14px;
}
.ev-table-card {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    overflow: hidden;
}

.ev-table-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid #F3F4F6;
    flex-wrap: wrap;
    gap: 12px;
}
.ev-table-title {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #111827;
}
.ev-table-toolbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.ev-toolbar-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
}
.ev-toolbar-btn:hover { background: #F9FAFB; }
.ev-toolbar-icon { font-size: 12px; opacity: 0.7; }
.ev-toolbar-search {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 0 14px;
    min-width: 220px;
}
.ev-toolbar-search input {
    border: none;
    outline: none;
    font-size: 13px;
    width: 100%;
    color: #374151;
}

.ev-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Be Vietnam Pro', sans-serif;
}
.ev-table thead th {
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    color: #6B7280;
    letter-spacing: 0.3px;
    padding: 12px 20px;
    border-bottom: 1px solid #F3F4F6;
    white-space: nowrap;
}
.ev-table tbody td {
    padding: 16px 20px;
    font-size: 14px;
    color: #374151;
    border-bottom: 1px solid #F3F4F6;
    vertical-align: middle;
}
.ev-table tbody tr:last-child td { border-bottom: none; }
.ev-table tbody tr:hover { background: #F9FAFB; }

.ev-table-event-cell { display: flex; align-items: center; gap: 12px; }
.ev-table-thumb { width: 36px; height: 36px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.ev-table-thumb-placeholder {
    width: 36px; height: 36px; border-radius: 8px; background: #F3F4F6;
    display: flex; align-items: center; justify-content: center;
    font-size: 10px; color: #9CA3AF; flex-shrink: 0;
}
.ev-table-name { font-weight: 500; color: #111827; }

.ev-table-payment-btn {
    background: #0059FF;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    padding: 6px 16px;
    border-radius: 6px;
    border: none;
}

.ev-table-empty {
    text-align: center !important;
    padding: 60px 20px !important;
    color: #6B7280;
    font-size: 14px;
}

.ev-table-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    font-size: 13px;
    color: #6B7280;
    flex-wrap: wrap;
    gap: 10px;
}
.ev-pagination { display: flex; gap: 6px; }
.ev-page-btn {
    width: 30px;
    height: 30px;
    border: 1px solid #E5E7EB;
    border-radius: 6px;
    background: #fff;
    color: #374151;
    font-size: 13px;
    cursor: pointer;
}
.ev-page-btn.active {
    background: #0059FF;
    color: #fff;
    border-color: #0059FF;
}

/* ================================ Locked content ==================================== */
.fi-resource-locked-content .fi-header-heading,
.fi-resource-locked-content .fi-header-subheading,
.fi-resource-locked-content .fi-ta-header-toolbar,
.fi-resource-locked-content .fi-ta-filters-ctn,
.fi-resource-locked-content .fi-tabs,
.fi-resource-locked-content .fi-ta-content,
.fi-resource-locked-content .fi-ta-empty-state { display: none !important; }

.fi-resource-locked-content .fi-ta-ctn,
.fi-resource-locked-content .fi-ta-wrp {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* ================= LOCKED CONTENT — Publish Form ================= */

.lc-wrapper {
    align-items: start;
    background:#FFFFFF;
    border-radius:20px;
}

.lc-left-col,
.lc-right-col {
    border-radius: 12px;
}

.lc-page-title {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 28px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 8px 0;
    text-align: center;
}

.lc-title-input input,
.lc-price-input input {
    font-size: 15px;
}

.lc-category-select .fi-fo-select {
    font-size: 15px;
}

.lc-advanced-section {
    background: #fff !important;
    border: 1px solid #E5E7EB !important;
    border-radius: 10px !important;
}

.lc-advanced-heading {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.6px;
    color: #111827;
}

.lc-publish-btn {
    width: 100%;
    background: #0059FF;
    color: #fff;
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 16px;
    font-weight: 400;
    padding: 8px 0;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.15s;
}
.lc-publish-btn:hover { background: #0047CC; }

/* ── Right column (light blue box) ── */
.lc-right-col {
    background: #EEF3FF !important;
    border: none !important;
    padding: 20px !important;
}
.lc-right-col .fi-section-content-ctn {
    padding: 0 !important;
}

.lc-right-heading {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 14px;
}

.lc-hidden-message textarea {
    background: #fff;
    border: 1px solid #DCE3F5;
    border-radius: 10px;
    font-size: 14px;
    padding: 12px 14px;
    resize: none;
}

.lc-upload-row {
    display: flex;
    gap: 12px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.lc-upload-btn {
    flex: 1;
    min-width: 100px;
    background: #fff;
    border: 1.5px solid #0059FF;
    color: #0059FF;
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 0;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s;
}
.lc-upload-btn:hover { background: #F0F5FF; }

.lc-upload-helper {
    margin-top: 14px;
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 12.5px;
    color: #6B7280;
    line-height: 1.6;
}

@media (max-width: 1023px) {
    .lc-wrapper { grid-template-columns: 1fr !important; }
}

/* ── Placeholder & Label color ── */
.lc-wrapper input::placeholder,
.lc-wrapper textarea::placeholder,
.lc-wrapper .fi-fo-select .choices__placeholder,
.lc-wrapper .fi-select-input::placeholder {
    color: #474747 !important;
    opacity: 1 !important;
}

.lc-wrapper .fi-fo-field-wrp-label,
.lc-wrapper label {
    color: #474747 !important;
}
.lc-advanced-section {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 4px 0 !important;
}

.lc-advanced-section .fi-section-content-ctn {
    padding: 4px 0 0 0 !important;
}

.lc-advanced-section .fi-section-header {
    padding: 0 !important;
    border: none !important;
}

.lc-advanced-section {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 4px 0 !important;
}

.lc-advanced-section .fi-section-content-ctn {
    padding: 4px 0 0 0 !important;
}

.lc-advanced-section .fi-section-header {
    padding: 0 !important;
    border: none !important;
}

.lc-right-col .fi-section-content-ctn {
    padding: 0 !important;
}

.lc-right-col .fi-fo-component-ctn,
.lc-right-col > div,
.lc-right-col .fi-section-content-ctn > .grid {
    padding: 0 !important;
    gap: 1.25rem !important;
}

.lc-right-heading,
.lc-hidden-message,
.lc-upload-row,
.lc-upload-helper {
    padding: 0 !important;
    margin: 0 !important;
}

.lc-upload-row {
    margin-top: 0 !important;
}

.lc-upload-helper {
    margin-top: 0 !important;
}
.lc-wrapper .lc-right-col .fi-section-content-ctn .fi-section-content.p-6 { padding:0 !important;}
.lc-wrapper > div > div {
    padding: 20px;
}

/* ---------- Section wrapper ---------- */
.user-profile-section,
.user-profile-upload-section {
    --up-border: #E5E7EB;
    --up-text: #111827;
    --up-muted: #6B7280;
    --up-blue: #155DFC;
    --up-red: #E7000B;
}
 
/* ---------- Text inputs / date picker ---------- */
.user-profile-input input,
.user-profile-input .fi-input-wrp {
    border: 1px solid var(--up-border) !important;
    border-radius: 10px !important;
    background: #FFFFFF !important;
    box-shadow: none !important;
}
 
.user-profile-input input {
    height: 48px !important;
    padding: 0 16px !important;
    font-size: 14px !important;
    color: var(--up-text) !important;
}
 
.user-profile-section label,
.user-profile-upload-section label {
    font-weight: 600 !important;
    font-size: 14px !important;
    color: var(--up-text) !important;
    margin-bottom: 6px !important;
}
 
/* ---------- File upload dropzone (dashed upload box) ---------- */
.user-profile-upload .fi-fo-file-upload-dropzone {
    border: 1.5px dashed #D1D5DB !important;
    border-radius: 10px !important;
    background: #FFFFFF !important;
    min-height: 190px !important;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
 
.user-profile-upload-full .fi-fo-file-upload-dropzone {
    min-height: 160px !important;
}
 
/*
 * Filament apna default icon/text khud render karta hai jo figma se match
 * nahi karta. Neeche hum us default content ko visually hide karke
 * apna custom icon + heading + subtext (data attributes se) overlay
 * kar rahe hain - bina Filament ka structure/functionality todhe.
 *
 * NOTE: agar tumhare Filament version me dropzone ke andar ka markup
 * alag hai to browser devtools se select karke ye selector
 * (.fi-fo-file-upload-dropzone > *) adjust kar lena.
 */
.user-profile-upload .fi-fo-file-upload-dropzone > * {
    visibility: hidden !important;
}
 
.user-profile-upload .fi-fo-file-upload-dropzone::before {
    content: '';
    visibility: visible !important;
    position: absolute;
    top: 34%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border-radius: 9999px;
    background: #F3F4F6;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23111827' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12'/%3E%3Cpath d='m7 8 5-5 5 5'/%3E%3Cpath d='M5 21h14'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}
 
.user-profile-upload .fi-fo-file-upload-dropzone::after {
    content: attr(data-heading) '\A' attr(data-subtext);
    visibility: visible !important;
    position: absolute;
    top: 58%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    text-align: center;
    white-space: pre-line;
    font-size: 13px;
    line-height: 1.6;
    color: var(--up-text);
}
 
/* first line (heading) bold, second line (subtext) muted - handled via two-line trick */
.user-profile-upload .fi-fo-file-upload-dropzone::after {
    font-weight: 600;
}
 
.user-profile-upload .fi-fo-file-upload-dropzone svg {
    width: 22px !important;
    height: 22px !important;
    color: #111827 !important;
}
 
/* icon circle background, matches figma's grey round upload icon */
.user-profile-upload .fi-fo-file-upload-dropzone > div:first-child {
    background: #F3F4F6 !important;
    border-radius: 9999px !important;
    padding: 10px !important;
}
 
.user-profile-upload .fi-fo-file-upload-dropzone p {
    color: var(--up-muted) !important;
    font-size: 13px !important;
}
 
/* helper text under each upload box: "Supported file types: .png, .jpg, .jpeg" */
.user-profile-upload-section .fi-fo-field-wrp-helper-text {
    text-align: center !important;
    color: var(--up-muted) !important;
    font-size: 12px !important;
    margin-top: 6px !important;
}
 
/* ---------- Section grid spacing matching original design column gaps ---------- */
.user-profile-section .fi-section-content,
.user-profile-upload-section .fi-section-content {
    row-gap: 20px !important;
    column-gap: 24px !important;
}
 