:root {
    --primary-color: #6366f1;
    --accent-color: #362b7e;
    --text-muted: #6c757d;
    --light-bg: #f2fffd;
}
body {
    font-family: "Poppins", sans-serif;
    background: #e7eefe;
    font-size: 14px;
    background: linear-gradient(
        135deg,
        rgba(0, 255, 194, 0.04) 0%,
        rgba(0, 119, 255, 0.08) 50%,
        rgba(4, 112, 229, 0.2) 100%
    );
}
a {
    text-decoration: none;
}
.text-muted {
    color: var(--text-muted);
}
.wb-nav {
    height: 55px;
}
.navbar-brand {
    font-weight: 600;
    font-size: 18px;
}
.btn-mobile-menu {
    border-radius: 5px;
    padding: 0 5px;
    background: #fff;
    color: #000;
    font-size: 22px;
    border: 0;
}
.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;
}

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

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

.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;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}
.template-card .card-img-top {
    height: 180px;
    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-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: #fff !important;
    padding: 10px;
    padding-top: 1rem;
    padding-bottom: 1rem;
    width: 290px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}
.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: 12px 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(255, 255, 255, 0.6);
    z-index: 10;
    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;
}

.chat-message.user .bubble {
    padding: 15px 25px;
    border-radius: 1rem;
    max-width: 75%;
    word-wrap: break-word;
    font-size: 14px;
    margin-top: 15px;
}

.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: linear-gradient(135deg, #6366f1, #8b5cf6);
    border: none;
    border-radius: 8px;
    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 {
    color: #fff !important;
    background: linear-gradient(135deg, #7c3aed, #a78bfa);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.2);
}

.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;
    }
}
.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);
}
.badge-subscription {
    background: linear-gradient(135deg, #1a74fa 0%, #bdd1ff 100%);
    color: #fff;
}
.pricing-card {
    transition: transform 0.3s ease;
}

.pricing-card.active {
    border: 5px solid #0d6efd;
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.price {
    font-size: 2rem;
    font-weight: 600;
}

.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;
}

.table thead th {
    background-color: #eee !important;
    color: #000 !important;
    font-weight: 600 !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;
}
