:root {
    --primary-color: #6366f1;
    --accent-color: #362b7e;
    --text-muted: #6c757d;
    --light-bg: #f2fffd;
}
body {
    font-family: "Poppins", sans-serif;
    background: #eee;
    font-size: 14px;
}
.left-sidebar::-webkit-scrollbar {
    width: 3px;
}

.left-sidebar::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 999px;
}

.left-sidebar::-webkit-scrollbar-track {
    background: transparent;
}
@keyframes gradient-scroll {
    from {
        background-position: 100% 0;
    }
    to {
        background-position: 0% 0;
    }
}
@media (min-width: 990px) {
    .modal-xxl {
        max-width: 1600px;
    }
}
a {
    text-decoration: none;
}
.text-muted {
    color: var(--text-muted);
}
.wb-nav {
    height: 55px;
    position: sticky;
    top: 0;
    z-index: 1029;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 0.8) 45%,
        rgba(255, 255, 255, 0) 100%
    );
}
.navbar-brand {
    font-weight: 600;
    font-size: 18px;
}
.btn-mobile-menu {
    border-radius: 5px;
    padding: 0 5px;
    background: transparent;
    color: #000;
    font-size: 25px;
    border: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast {
    padding: 15px 12px;
}
.dashboard-container {
    padding: 2rem;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.dashboard-title {
    font-weight: 600;
    font-size: 1.8rem;
}

.dashboard-card {
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition:
        transform 0.2s ease,
        box-shadow 0.3s ease;
    background: #fff;
    border: 1px solid #ddd;
}

.dashboard-card .card-header {
    background-color: #fff;
    border-bottom: 1px solid #eee;
    font-weight: 600;
    border-radius: 10px;
}

.dashboard-card .btn-sm {
    font-size: 0.75rem;
}

.btn-sm {
    font-size: 0.75rem !important;
}
.dashboard-card .list-group-item {
    padding: 15px;
}

.badge-verified {
    background-color: var(--primary-color);
    color: #fff;
    font-size: 0.75rem;
    padding: 0.35em 0.6em;
    border-radius: 0.25rem;
}

.badge-unverified {
    background-color: #adb5bd;
    color: #fff;
    font-size: 0.75rem;
    padding: 0.35em 0.6em;
    border-radius: 0.25rem;
}

.section-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.no-content-text {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.alert-info-custom {
    background-color: #fff;
    border: 1px solid #ddd;
    color: #000;
}

.card-custom {
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #ddd;
}

.card-header-custom {
    background-color: #fff;
    font-weight: 600;
    padding: 15px 15px;
    border-bottom: 1px solid #eee;
}
.template-card {
    border: 1px solid #eee !important;
    overflow: hidden;
}
.template-card .card-img-top {
    height: auto;
    aspect-ratio: 16 / 9;
    width: 100%;
    object-fit: cover;
}
.icon-18 {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.icon-25 {
    width: 25px;
    height: 25px;
    object-fit: contain;
}

.icon-35 {
    width: 35px;
    height: 35px;
    object-fit: contain;
}

.icon-45 {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.form-control,
.form-select {
    border-radius: 12px;
    border: 1px solid #d1d5db;
    box-shadow: none !important;
    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease;
    padding: 10px;
    font-size: 14px;
}

.form-select {
    color: #000;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='black' d='M1.5 5.5l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 1rem auto;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-right: 2rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
    outline: none;
}
.left-sidebar {
    height: 100vh;
    overflow-y: auto;
    position: fixed;
    top: 0;
    z-index: 1030;
    background-color: rgba(255, 255, 255, 0.85) !important;
    padding: 10px;
    padding-top: 1rem;
    padding-bottom: 1rem;
    width: 290px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(5px);
}
.main-body.has-sidebar {
    width: calc(100% - 290px);
    margin-left: 290px;
    min-height: calc(100vh - 55px);
}

.left-sidebar .nav {
    width: 100%;
}
.left-sidebar .nav-link {
    padding: 8px 15px;
    color: #000;
    font-size: 15px;
    width: 100%;
    border-radius: 10px;
    margin-bottom: 10px;
}
.left-sidebar .nav-link.active {
    background: #eee;
}
.offcanvas-backdrop {
    z-index: 1029;
}
.modal-title {
    font-size: 16px;
}
.btn {
    font-size: 14px;
}
.btn-outline-light {
    border-color: #ddd !important;
}
.type-box {
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    background: #f8f9fa;
}
input[type="radio"]:checked + .type-box {
    background: #dcebff;
}

.preview-loader {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(5px);
}

.preview-loader.active {
    visibility: visible;
    opacity: 1;
}

.spinner {
    width: 48px;
    height: 48px;
    border: 4px solid #ddd;
    border-top-color: #0d6efd;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
.chat-window {
    background: #fff;
    border-left: 1px solid #ddd;
}
.chat-message {
    display: flex;
    margin-bottom: 0.5rem;
}

.chat-message.ai .bubble {
    padding: 5px 0;
    border-radius: 1rem;
    max-width: calc(100% - 25px);
    word-wrap: break-word;
    font-size: 14px;
    color: #222;
    background: #fff;
    padding: 8px 12px;
    margin: 10px 0;
    border-radius: 1rem;
    border: 1px solid #eee;
    box-shadow: var(--bs-box-shadow-sm) !important;
}

.chat-message.user .bubble {
    padding: 15px 25px;
    border-radius: 1rem;
    max-width: 75%;
    word-wrap: break-word;
    font-size: 14px;
    margin-top: 15px;
    border-radius: 1rem;
    box-shadow: var(--bs-box-shadow-sm) !important;
}

.chat-message.user {
    justify-content: flex-end;
}

.chat-message.user .bubble {
    background-color: #e7eefe;
    color: #222222;
}

.chat-message.ai {
    justify-content: flex-start;
}
.chatforminputprompt {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-left: 1px solid #ddd;
    background: transparent;
}
.chat-column {
    position: relative;
    height: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.chatforminputprompt .form-control {
    border: 0;
    border-radius: 0;
}
.bg-body {
    background: #f2f3f6 !important;
}
@media (max-width: 767.98px) {
    .left-sidebar {
        height: auto;
        margin-top: 0;
    }
    .main-body.has-sidebar {
        width: 100%;
        margin-left: 0;
    }
}
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}
.form-label {
    font-weight: 500;
    color: #374151;
}

.btn-primary-custom {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.btn-primary-custom:hover {
    background-color: #6366f1;
    border-color: #6366f1;
    color: #fff;
}

.btn-primary-custom {
    background-color: #8b5cf6;
    border: none;
    border-radius: 50px;
    color: #fff;
    font-weight: 600;
    transition:
        background 0.3s ease,
        box-shadow 0.3s ease;
}

.btn-primary-custom:hover,
.btn-primary-custom:active,
.btn-primary-custom:focus {
    background-color: var(--primary-color) !important;
    color: #fff !important;
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.2);
}
.btn-primary {
    background-color: #8b5cf6;
    border: 0;
}

.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus {
    background-color: var(--primary-color) !important;
}
.category-btn {
    border-radius: 50px;
    padding: 8px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #374151;
    transition: all 0.2s ease;
}

.category-btn:hover {
    background: #8b5cf6;
    border-color: #8b5cf6;
    color: #fff;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2);
}

.category-btn i {
    margin-right: 8px;
    font-size: 1rem;
}

.prompt-highlight {
    animation: highlight 1.4s ease;
}

@keyframes highlight {
    0% {
        background: rgba(99, 102, 241, 0.08);
    }
    100% {
        background: transparent;
    }
}

@media (max-width: 768px) {
    .nav-link {
        padding: 8px 16px;
    }
    .dashboard-header {
        display: block;
    }
}
.footer {
    font-size: 12px !important;
    width: calc(100% - 290px);
    margin-left: 290px;
}
@media (max-width: 767.98px) {
    .footer {
        width: 100%;
        margin-left: 0;
    }
    .dashboard-container {
        padding: 12px;
        padding-top: 20px;
    }
}
.showaityping {
    display: none;
}
.showaityping.active {
    display: block;
}

.showaityping .typing {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 20px;
}
.showaityping .typing-dot {
    width: 6px;
    height: 6px;
    margin: 0 2px;
    background-color: #663cff;
    border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out both;
}
.showaityping .typing-dot:nth-child(1) {
    animation-delay: 0s;
}
.showaityping .typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}
.showaityping .typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes bounce {
    0%,
    80%,
    100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
    }
}

.cta-button {
    background: linear-gradient(135deg, #e7eefe 0%, #fff 100%);
    color: #000;
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.cta-button.active {
    background: #0d6efd;
    color: #fff;
}

.cta-button:hover {
    transform: translateY(-2px);
}

.pricing-button {
    background: #a54fdd;
    color: #fff;
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease-in-out;
}

.pricing-button:hover {
    background: #8c3dc0;
}
.badge-subscription {
    background: linear-gradient(135deg, #1a74fa 0%, #bdd1ff 100%);
    color: #fff;
}

.pricing-card {
    border: 5px solid rgba(255, 255, 255, 0.788);
    transition: transform 0.3s ease;
    border-radius: 15px;
}
.pricing-card-header {
    background: linear-gradient(to top, #e7eefe, #fff);
    padding: 10px 20px;
    border-radius: 10px 10px 0 0;
}
.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-card.promotion {
    border: 5px solid #a54fdd;
}

.pricing-card.promotion .pricing-card-header {
    background: linear-gradient(to top, #f6e9ff, #fff);
}
.price {
    font-size: 42px;
    font-weight: 600;
}
.pricing-card.active {
    background: linear-gradient(135deg, #f9f9ff, #ffffff);
}

.pricingtabs {
    border-bottom: none;
}

.pricingtabs.nav-tabs {
    border-bottom: none;
    background: #fff;
    display: inline-flex;
    width: auto;
    padding: 5px;
    border-radius: 50px;
    border: 1px solid #ddd;
}

.pricingtabs .nav-link {
    border: none;
    border-radius: 50px;
    padding: 8px 30px;
    color: #000;
    background: #fff;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.pricingtabs .nav-link:hover {
    background: #fff;
    color: #000;
}

.pricingtabs .nav-link.active {
    background: #e7eefe;
}

@media (max-width: 576px) {
    .pricingtabs .nav-link {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

.filemanager-img-preview {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
    border: 1px solid #eee;
}

.table,
.table th,
.table td {
    color: #000 !important;
    background-color: #fff !important;
    border-color: #eee !important;
    border-radius: 15px !important;
}

.table thead th {
    background-color: #fff !important;
    color: #555 !important;
    font-weight: 500 !important;
    padding: 15px 10px;
    text-transform: uppercase;
    font-size: 12px !important;
}
.table tbody td {
    padding: 0.75rem 1rem !important;
}
.table tbody tr {
    background-color: #fff;
    transition: background-color 0.2s ease-in-out;
}

.table tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.2) !important;
    color: #000 !important;
}

.table-striped > tbody > tr:nth-of-type(odd) {
    background-color: rgba(255, 255, 255, 0.2) !important;
}

.table-bordered {
    border: 1px solid #eee !important;
}
.dropdown-menu {
    border-radius: 15px !important;
    background-color: rgba(255, 255, 255, 1) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 8px;
}
.dropdown-menu li {
    padding: 0 10px;
    border-radius: 15px;
}
.dropdown-item {
    border-radius: 15px;
    overflow: hidden;
}
.dropdown-item.active,
.dropdown-item:active {
    background-color: #eee;
    color: #000;
}

.accordion-button {
    transition:
        background-color 0.3s,
        box-shadow 0.3s;
}

.accordion-button:not(.collapsed) {
    background-color: #fff;
    color: #000;
    box-shadow: none;
    font-weight: 600;
}

.accordion-body {
    transition: opacity 0.3s ease-in-out;
    padding-top: 0;
    color: #777;
    font-size: 14px;
}
.aisupport_link {
    padding: 2px 15px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50px;
    font-size: 12px;
    color: #000;
    font-weight: 600;
    white-space: nowrap;
    display: inline-block;
}

.aisupport_link:hover {
    padding: 2px 15px;
    background: #eee;
    border: 1px solid #ddd;
    border-radius: 50px;
    font-size: 12px;
    color: #000;
    font-weight: 600;
}
.global-feedback-btn {
    position: fixed;
    bottom: 20px;
    right: 10px;
}

.btn-bounce {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}
.hover-lift {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12) !important;
}
.badge {
    transition: all 0.2s ease;
}
.hover-lift:hover .badge {
    transform: translateY(-2px);
}
.animate-fade-in-up {
    animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(20px);
}

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

.ai-orb {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #3b82f6, #a54fdd);
    border-radius: 50%;
    animation: orb-pulse 2s infinite ease-in-out;
    margin: 0 auto;
    box-shadow: 0 0 40px rgba(74, 74, 75, 0.6);
}

@keyframes orb-pulse {
    0% {
        transform: scale(1);
        filter: hue-rotate(0deg);
    }

    50% {
        transform: scale(1.1);
        filter: hue-rotate(30deg);
    }

    100% {
        transform: scale(1);
        filter: hue-rotate(0deg);
    }
}

.btn-outline-light {
    border-color: #e3e8ee !important;
    background: #ffffff;
    font-weight: 500;
    font-size: 0.8rem;
    padding: 0.4rem 0.75rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    transition: all 0.2s ease;
    color: rgba(33, 37, 41, 0.75) !important;
}

.btn-outline-light:hover {
    background-color: #f8f9fa !important;
    border-color: #ccd3db !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.btn-outline-light.text-danger:hover {
    background: #fff5f5 !important;
    color: #e53e3e !important;
}

@media (min-width: 1200px) {
    #resizableCol {
        min-width: 360px !important;
        max-width: 480px !important;
        position: relative;
    }
    .resize-handle {
        position: absolute;
        top: 0;
        right: 0;
        width: 3px;
        height: 100%;
        cursor: col-resize;
        background: transparent;
    }

    .resize-handle:hover {
        background: rgba(0, 0, 0, 0.1);
    }
}
@media (min-width: 1400px) {
    #resizableCol {
        min-width: 400px !important;
        max-width: 600px !important;
        position: relative;
    }
}
.chatforminputborder {
    border-top: 3px solid #eee;
    cursor: ns-resize;
}

.chatforminputborder:hover {
    border-top: 3px solid rgba(0, 0, 0, 0.1);
}

@media (max-width: 767.98px) {
    .chatforminputborder {
        border-top: 8px solid #eee;
        cursor: ns-resize;
    }
}
.mobshowpreview.active {
    color: #663cff;
}

.mobshowpreview.active i {
    animation: orb-pulse 2s infinite ease-in-out;
}
.d-xxxl-inline {
    display: none;
}

@media (min-width: 1600px) {
    .d-xxxl-inline {
        display: inline;
    }
}

.modern-light-banner {
    background: #ffffff;
    border-radius: 20px;
    padding: 18px 20px;
    position: relative;
    overflow: hidden;
    border: 1px solid #f0f0f0;
}

.promo-info {
    gap: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.icon-badge {
    background: #f8f0ff;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-size: 1.4rem;
    color: #a54fdd;
}

.promo-text .label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 900;
    color: #a54fdd;
    display: block;
    margin-bottom: -2px;
}

.promo-text .headline {
    font-size: 1.15rem;
    font-weight: 800;
    color: #1a1a1b;
}
.timer-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ends-in {
    font-size: 0.85rem;
    color: #6c757d;
    font-weight: 600;
}

.modern-timer {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fdfbff;
    padding: 6px 14px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.timer-segment {
    display: flex;
    align-items: baseline;
    color: #333;
}

.timer-segment span {
    font-family: "Inter", system-ui, sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1b;
}

.timer-segment small {
    font-size: 0.7rem;
    margin-left: 2px;
    font-weight: 600;
    color: #a54fdd;
}

.modern-light-banner .separator {
    color: #dee2e6;
    font-weight: bold;
}

@media (max-width: 768px) {
    .modern-light-banner {
        padding: 20px;
    }
    .banner-content {
        justify-content: center;
        text-align: center;
    }
    .promo-info {
        gap: 10px;
    }
}

.modern-quick-card {
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 20px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.modern-quick-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05);
}

.icon-wrapper {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    transition: transform 0.3s ease;
}

.modern-quick-card:hover .icon-wrapper {
    transform: scale(1.1);
}

.icon-wrapper img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.bg-soft-indigo {
    background-color: #eef2ff;
}

.card-arrow {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #d1d5db;
    font-size: 1rem;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translate(-10px, 10px);
}

.modern-quick-card:hover .card-arrow {
    opacity: 1;
    transform: translate(0, 0);
    color: #000;
}

.modern-quick-card h6 {
    font-size: 1.05rem;
    letter-spacing: -0.01em;
}

.modern-quick-card p {
    line-height: 1.5;
    font-size: 0.88rem;
}

/***************************************/
.preview-loader.preview-loader-ai {
    z-index: 99999;
    flex-direction: column;
    background: transparent;
}

.preview-loader.preview-loader-ai.active {
    display: block;
    height: 100%;
}
.preview-loader.preview-loader-ai.active.view-page {
    height: 52px;
}

.preview-top {
    width: 100%;
    height: 200px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.4s ease;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.8);
}

.preview-loader.preview-loader-ai.active.view-page .preview-top {
    height: 52px;
    background: #fff;
}

.preview-loader.preview-loader-ai.active.view-page .preview-bottom {
    height: 0;
    opacity: 0;
    pointer-events: none;
}
.preview-bottom {
    width: 100%;
    height: calc(100% - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.35);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}
.preview-bottom::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(
            circle at 20% 20%,
            rgba(255, 255, 255, 0.85),
            transparent 45%
        ),
        radial-gradient(
            circle at 80% 30%,
            rgba(67, 16, 185, 0.88),
            transparent 50%
        ),
        radial-gradient(
            circle at 50% 80%,
            rgba(255, 33, 189, 0.42),
            transparent 55%
        );
    filter: blur(45px);
    opacity: 1;
    animation: glowShift 10s ease-in-out infinite;
}
@keyframes glowShift {
    0% {
        transform: translate(0%, 0%) scale(1);
        filter: hue-rotate(0deg);
        opacity: 0.7;
    }

    25% {
        transform: translate(10%, -10%) scale(1.2);
        filter: hue-rotate(25deg);
        opacity: 0.9;
    }

    50% {
        transform: translate(0%, -15%) scale(1.35);
        filter: hue-rotate(50deg);
        opacity: 1;
    }

    75% {
        transform: translate(-10%, -5%) scale(1.2);
        filter: hue-rotate(25deg);
        opacity: 0.85;
    }

    100% {
        transform: translate(0%, 0%) scale(1);
        filter: hue-rotate(0deg);
        opacity: 0.7;
    }
}
.preview-bottom > * {
    position: relative;
    z-index: 1;
}
.preview-close-container {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 20;
    text-align: center;
}
.preview-close {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    z-index: 20;
    transition: 0.3s;
}

.preview-close:hover {
    background: rgba(255, 255, 255, 0.25);
}

.ai-orb {
    width: 50px;
    height: 50px;
}
.preview-loader.preview-loader-ai.active.view-page .ai-orb {
    width: 35px;
    height: 35px;
}

.loader-box {
    display: flex;
    align-items: center;
    gap: 20px;
}
.loader-text h6 {
    color: #000;
    margin-bottom: 0px;
    font-weight: 700;
}
.loader-text p {
    color: rgba(0, 0, 0, 0.7);
    margin: 0;
    font-size: 12px;
}

.previewSwiper {
    width: 100%;
    height: 100%;
}

.previewSwiper .swiper-wrapper {
    align-items: center;
}

.previewSwiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 40px;
    box-sizing: border-box;
    overflow: hidden;
}

.slide-card {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.slide-card img {
    width: 280px;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    display: block;
    flex-shrink: 0;
}
.slide-content {
    width: 100%;
    margin-top: 18px;
    color: #fff;
    position: relative;
    z-index: 2;
}
.slide-content h2 {
    font-size: 22px;
    margin-bottom: 10px;
    font-weight: 700;
    line-height: 1.3;
}

.slide-content p {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    word-break: break-word;
}

.swiper-pagination {
    margin-top: 15px !important;
    position: relative !important;
}

.swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.8) !important;
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: #fff;
}

@media (max-width: 768px) {
    .previewSwiper .swiper-slide {
        padding-top: 20px;
    }
    .slide-card {
        width: 90%;
    }
    .slide-card img {
        width: 180px;
        height: auto;
    }
    .slide-content h2 {
        font-size: 18px;
    }
    .slide-content p {
        font-size: 14px;
    }
}
.custom-close-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid #ccc;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.3s ease;
}

.custom-close-btn:hover {
    background: #f8f9fa;
    border-color: #999;
}

.close-icon {
    font-size: 24px;
    font-weight: bold;
    color: #000;
    line-height: 1;
}

.skip-text {
    font-size: 11px;
    color: #555;
    margin-top: 4px;
    letter-spacing: 1px;
}

/*sweetalert*/
/* Remove default SweetAlert look */
.swal2-popup {
    background: #ffffff !important;
    border-radius: 10px !important;
    padding: 20px !important;
    font-family: inherit !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

/* Title */
.swal2-title {
    font-size: 22px !important;
    font-weight: 600 !important;
    color: #222 !important;
}

/* Text */
.swal2-html-container {
    font-size: 14px !important;
    color: #555 !important;
}

/* Icon reset (make it subtle) */
.swal2-icon {
    border: none !important;
    transform: scale(0.8);
    margin: 0 auto 10px !important;
}

/* Success icon color */
.swal2-icon.swal2-success {
    color: #28a745 !important;
}

/* Error icon color */
.swal2-icon.swal2-error {
    color: #dc3545 !important;
}

.swal2-success-circular-line-left,
.swal2-success-circular-line-right,
.swal2-success-fix {
    background: transparent !important;
}

.swal2-confirm {
    background: #8b5cf6 !important;
    color: #fff;
    border-radius: 50px;
    padding: 8px 16px;
    font-size: 14px;
    box-shadow: none;
    border: none;
}

.swal2-confirm:hover {
    background: #6366f1 !important;
}
.swal2-cancel {
    background: #f1f1f1;
    color: #333;
    border-radius: 50px;
    padding: 8px 16px;
    font-size: 14px;
    box-shadow: none;
    border: none;
}

.swal2-cancel:hover {
    background: #e5e5e5;
}
.bg-light-dynamic {
    background-color: #fff;
}

.bg-white-dynamic {
    background-color: #fff;
}
.card-header .window-preview {
    background: #fff;
}

.card-header {
    background-color: #fff;
}

.freetoken-modal {
    background: rgba(255, 255, 255, 1);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    overflow: hidden;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.35),
        0 0 40px rgba(99, 102, 241, 0.25);
}

.freetoken-header {
    background: linear-gradient(135deg, #fff, #fff, #fff);
    padding: 2rem;
    text-align: center;
    color: white;
    position: relative;
}

.token-badge {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    animation: pulse 2s infinite;
}

.freetoken-body {
    padding: 2rem;
    text-align: center;
}

.freetoken-body h2 {
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}

.freetoken-body p {
    color: rgba(0, 0, 0, 0.75);
}

.token-highlight {
    background: linear-gradient(90deg, #fbb024, #8c0bf5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }
}

#confetti-canvas {
    position: fixed;
    inset: 1;
    pointer-events: none;
    z-index: 1099 !;
}

.hover-border-primary:hover {
    border-color: var(--primary-color) !important;
    background-color: #eef2ff !important;
}

.border-dashed {
    border-style: dashed !important;
    border-color: #ccc !important;
}

.tab-link {
    text-decoration: none;
    color: #6b6b6b;
    padding-bottom: 12px;
    font-weight: 500;
}

.tab-link.active {
    color: #000;
    border-bottom: 2px solid #000;
}

.blog-list {
    padding: 0 20px;
}

.blog-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.blog-title {
    font-size: 16px;
    font-weight: 700;
    color: #222;
    text-decoration: none;
}

.blog-title:hover {
    color: #000;
}

.blog-meta {
    margin-top: 6px;
    font-size: 12px;
    color: #777;
    display: flex;
    gap: 8px;
    align-items: center;
}

.badge-status {
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 999px;
    text-transform: capitalize;
}
.token-btn {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 1);
    border: 1px solid #eee !important;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

/* Shimmer */
.token-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent 0%,
        rgba(0, 0, 0, 0.05) 30%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.05) 70%,
        transparent 100%
    );
    transform: skewX(-25deg);
    animation: shimmer 2.5s ease-in-out infinite;
    pointer-events: none;
}

.token-btn > * {
    position: relative;
    z-index: 1;
}

@keyframes shimmer {
    0% {
        left: -120%;
    }

    50% {
        left: 120%;
    }

    100% {
        left: 120%;
    }
}

.token-btn:hover {
    transform: translateY(-2px);
}
.domain-selection-card {
    cursor: pointer;
    display: block;
    position: relative;
}

.domain-selection-card input:checked + .card-content {
    background-color: #f5f3ff !important;
}

.domain-selection-card .card-content {
    transition: all 0.2s ease;
    background: #fff;
}
.domain-selection-card input:checked + .card-content .check-circle {
    opacity: 1;
    transform: scale(1);
}

.x-small {
    font-size: 0.75rem;
}

.tracking-wide {
    letter-spacing: 0.08em;
}

.italic {
    font-style: italic;
}

.imagePreviewContainer {
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0),
        rgba(255, 255, 255, 1)
    );
    backdrop-filter: blur(5px);
}
.text-chat-time {
    color: #777;
}
.modal-backdrop {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    transition: opacity 0.1s linear;
}

.modal-backdrop.show {
    opacity: 1;
}

.modal.fade .modal-dialog {
    transform: translateY(12px) scale(0.97);
    opacity: 0;
    transition:
        transform 0.1s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.1s linear;
}

.modal.show .modal-dialog {
    transform: translateY(0) scale(1);
    opacity: 1;
}
.swal2-container.swal2-backdrop-show:not(.no-backdrop) {
    background: rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.swal2-show {
    animation: swalShow 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.swal2-hide {
    animation: swalHide 0.18s ease forwards !important;
}

@keyframes swalShow {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes swalHide {
    from {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    to {
        opacity: 0;
        transform: translateY(10px) scale(0.96);
    }
}
.swal2-input {
    width: calc(100% - 2rem);
    margin: 0.5rem auto 0.5rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.95rem;
    line-height: 1.5;
    border: 1px solid #ced4da;
    border-radius: 12px;
    background: #fff;
    color: var(--bs-body-color);
    box-shadow: none;
    transition:
        border-color 0.15s ease-in-out,
        box-shadow 0.15s ease-in-out;
}
.swal2-input:focus {
    border-color: var(--primary-color);
    outline: 0;
    box-shadow: none;
}
.swal2-input::placeholder {
    color: #6c757d;
    opacity: 1;
}
div:where(.swal2-icon) .swal2-icon-content {
    font-size: 50px !important;
}
div:where(.swal2-icon) {
    width: 60px;
    height: 60px;
    background-color: rgba(0, 0, 0, 0.05);
}

.domain-modal-dialog {
    max-width: 520px;
}

.domain-modal-content {
    position: relative;
    border: 0;
    border-radius: 28px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.25);
}

.domain-close-btn {
    position: absolute;
    z-index: 10;
    top: 18px;
    right: 18px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: #f3f4f6;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.domain-close-btn:hover {
    background: #e5e7eb;
    color: #111827;
    transform: rotate(90deg);
}

.domain-modal-header {
    text-align: center;
    padding: 42px 38px 22px;
}

.domain-hero-icon {
    position: relative;
    width: 76px;
    height: 76px;
    margin: 0 auto 18px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #eef2ff, #f5f3ff);
    color: #4f46e5;
    font-size: 31px;
}

.domain-hero-icon.small {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    font-size: 27px;
}

.domain-icon-glow {
    position: absolute;
    inset: -12px;
    border-radius: 30px;
    background: rgba(99, 102, 241, 0.08);
    filter: blur(12px);
    z-index: -1;
}

.domain-step-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 30px;
    background: #f1f5f9;
    color: #64748b;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
}

.domain-modal-header h3 {
    margin: 0;
    color: #111827;
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.domain-modal-header p {
    max-width: 400px;
    margin: 9px auto 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
}

.domain-options {
    padding: 4px 28px 20px;
}

.domain-option {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px;
    margin-bottom: 10px;
    border: 1px solid #e5e7eb;
    background: #fff;
    border-radius: 17px;
    text-align: left;
    transition: all 0.2s ease;
    cursor: pointer;
}

.domain-option:hover {
    border-color: #c7d2fe;
    background: #fafaff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.08);
}

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

.domain-option-icon {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
}

.domain-option-icon.purple {
    color: #6366f1;
    background: #eef2ff;
}

.domain-option-icon.blue {
    color: #0284c7;
    background: #e0f2fe;
}

.domain-option-icon.green {
    color: #059669;
    background: #ecfdf5;
}

.domain-option-content {
    min-width: 0;
    flex: 1;
}

.domain-option-content strong {
    display: block;
    color: #111827;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 3px;
}

.domain-option-content span {
    display: block;
    color: #64748b;
    font-size: 12px;
    line-height: 1.4;
}

.domain-arrow {
    color: #94a3b8;
    font-size: 16px;
    transition: transform 0.2s ease;
}

.domain-option:hover .domain-arrow {
    transform: translateX(3px);
    color: #6366f1;
}

.domain-modal-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 17px 25px;
    border-top: 1px solid #f1f5f9;
    color: #94a3b8;
    font-size: 11px;
    text-align: center;
}

.domain-modal-footer i {
    color: #10b981;
    font-size: 14px;
}

.domain-step {
    display: none;
}

.domain-step.active {
    display: block;
    animation: domainStepIn 0.25s ease;
}

@keyframes domainStepIn {
    from {
        opacity: 0;
        transform: translateX(12px);
    }

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

.domain-back-btn {
    border: 0;
    background: transparent;
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
    padding: 0;
    margin-bottom: 22px;
    transition: all 0.2s ease;
}

.domain-back-btn:hover {
    color: #4f46e5;
    transform: translateX(-2px);
}

.domain-input-wrapper {
    padding: 4px 35px 20px;
}

.domain-input-wrapper label {
    display: block;
    color: #374151;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
}

.domain-input-group {
    position: relative;
}

.domain-input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #6366f1;
    font-size: 18px;
    z-index: 2;
}

.domain-input {
    height: 56px;
    border: 1px solid #dbe2ea !important;
    border-radius: 15px !important;
    padding-left: 48px !important;
    padding-right: 15px !important;
    font-size: 15px;
    font-weight: 500;
    color: #111827;
    box-shadow: none !important;
    transition: all 0.2s ease;
}

.domain-input:focus {
    border-color: #818cf8 !important;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.08) !important;
}

.domain-input::placeholder {
    color: #a1a1aa;
    font-weight: 400;
}

.domain-input.error {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.06) !important;
}

.domain-input-error {
    display: none;
    align-items: center;
    gap: 5px;
    color: #dc2626;
    font-size: 12px;
    margin-top: 8px;
}

.domain-input-error.show {
    display: flex;
}

.domain-input-help {
    margin-top: 10px;
    color: #94a3b8;
    font-size: 11px;
}

.domain-input-help i {
    margin-right: 3px;
}

.domain-primary-btn {
    width: calc(100% - 70px);
    margin: 0 35px 20px;
    height: 52px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    color: white;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.2);
    transition: all 0.2s ease;
}

.domain-primary-btn:hover {
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(79, 70, 229, 0.28);
}

.domain-primary-btn:active {
    transform: translateY(0);
}

.domain-primary-btn.loading {
    pointer-events: none;
    opacity: 0.75;
}

.domain-buy-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin: 5px 35px 22px;
    padding: 18px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #fafafa;
}

.domain-buy-icon {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #eef2ff;
    color: #4f46e5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.domain-buy-card strong {
    color: #111827;
    font-size: 14px;
}

.domain-buy-card p {
    margin: 4px 0 0;
    color: #64748b;
    font-size: 12px;
    line-height: 1.5;
}

.domain-text-btn {
    display: block;
    margin: 0 auto 22px;
    border: 0;
    background: transparent;
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
}

.domain-text-btn:hover {
    color: #4f46e5;
}

@media (max-width: 575px) {
    .domain-modal-dialog {
        margin: 12px;
    }

    .domain-modal-content {
        border-radius: 22px;
    }

    .domain-modal-header {
        padding: 35px 22px 18px;
    }

    .domain-options {
        padding: 4px 18px 18px;
    }

    .domain-option {
        padding: 13px;
    }

    .domain-option-icon {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
    }

    .domain-option-content strong {
        font-size: 13px;
    }

    .domain-option-content span {
        font-size: 11px;
    }

    .domain-input-wrapper {
        padding-left: 22px;
        padding-right: 22px;
    }

    .domain-primary-btn {
        width: calc(100% - 44px);
        margin-left: 22px;
        margin-right: 22px;
    }

    .domain-buy-card {
        margin-left: 22px;
        margin-right: 22px;
    }
}
.btn-primary-custom.aichatsubmitbtn:disabled,
.btn-primary-custom.aichatsubmitbtn.disabled {
    background-color: #eaeaea;
    border-color: transparent;
    color: var(--primary-color);
    cursor: not-allowed;
    opacity: 0.65;
    box-shadow: none;
}
.aichatsubmitbtn .loading-icon {
    animation: aiSpin 1s linear infinite;
    color: var(--primary-color) !important;
    opacity: 1 !important;
}

@keyframes aiSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}
