/* Custom Styles for BuildPublic */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 3px;
}

.dark ::-webkit-scrollbar-thumb {
    background: #4b5563;
}

::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

.grecaptcha-badge {
    display: none !important;
}

.ql-container {
    border: none !important;
    font-size: 1rem;
    line-height: 1.8;
}

.ql-editor {
    min-height: 150px;
    height: 200px !important;
    padding: 20px !important;
    color: #222;
    font-size: 0.875rem;
    line-height: 1.3rem;
}

.dark .ql-editor {
    color: #f3f4f6;
}

.ql-editor h1 {
    font-size: 1.1rem !important;
    font-weight: 600;
    margin-bottom: 0.8rem !important;
}

.ql-editor h2 {
    font-size: 1.05rem !important;
    ;
    font-weight: 600;
    margin-bottom: 0.8rem !important;
}

.ql-editor h3 {
    font-size: 0.90rem !important;
    font-weight: 600 !important;
    margin-bottom: 0.8rem !important;
}

.ql-editor p {
    margin-bottom: 0.8rem !important;
}

.ql-editor ul,
.ql-editor ol {
    margin-bottom: 20px !important;
}

.ql-editor ul li,
.ql-editor ol li {
    list-style-type: none !important;
    margin-bottom: 10px !important;
}

.ql-editor ul>li::before {
    content: none !important;
}

.ql-editor ol>li::before {
    content: none !important;
}

.ql-editor a {
    color: #0055FF;
}

.ql-toolbar {
    border: 1px solid #d7e0e2 !important;
    border-radius: 10px;
    background: rgb(249 250 251 / 0.5) !important;
    padding: 5px !important;
    margin-bottom: 1rem;
}

.dark .ql-toolbar {
    background: rgba(31, 41, 55, 0.5) !important;
    border-color: #374151 !important;
}

.ql-toolbar button {
    padding: 0.375rem !important;
    width: auto !important;
    height: auto !important;
}

.ql-toolbar button:hover {
    background: #efefef !important;
    border-radius: 0.25rem;
}

.dark .ql-toolbar button:hover {
    background: #374151 !important;
}

.ql-toolbar button.ql-active {
    background: #f97316 !important;
    border-radius: 0.25rem;
}

.ql-toolbar button svg {
    width: 18px;
    height: 18px;
}

.ql-stroke {
    stroke: #6b7280 !important;
}

.dark .ql-stroke {
    stroke: #9ca3af !important;
}

.ql-fill {
    fill: #6b7280 !important;
}

.dark .ql-fill {
    fill: #9ca3af !important;
}

.ql-toolbar button:hover .ql-stroke,
.ql-toolbar button.ql-active .ql-stroke {
    stroke: #111827 !important;
}

.dark .ql-toolbar button:hover .ql-stroke,
.dark .ql-toolbar button.ql-active .ql-stroke {
    stroke: #f3f4f6 !important;
}

.ql-toolbar button:hover .ql-fill,
.ql-toolbar button.ql-active .ql-fill {
    fill: #111827 !important;
}

.dark .ql-toolbar button:hover .ql-fill,
.dark .ql-toolbar button.ql-active .ql-fill {
    fill: #f3f4f6 !important;
}

.ql-toolbar button.ql-active .ql-stroke {
    stroke: white !important;
}

.ql-toolbar button.ql-active .ql-fill {
    fill: white !important;
}

.user_vip {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMTEiIHZpZXdCb3g9IjAgMCAyNCAxMSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwXzUwM18zNzIpIj4KPHBhdGggZD0iTTI0IDBIMFYxMUgyNFYwWiIgZmlsbD0iI0ZEMTM2MSIvPgo8cGF0aCBkPSJNNy43MjAxNyAyLjkwOTA5TDguNzY0MiA2LjQ5ODU4SDguODAzOThMOS44NDgwMSAyLjkwOTA5SDExLjQwOTFMOS43Mjg2OSA4SDcuODM5NDlMNi4xNTkwOSAyLjkwOTA5SDcuNzIwMTdaTTEzLjI4MTUgMi45MDkwOVY4SDExLjg5OTRWMi45MDkwOUgxMy4yODE1Wk0xMy45MzY1IDhWMi45MDkwOUgxNi4xMzRDMTYuNTExOCAyLjkwOTA5IDE2Ljg0MjQgMi45ODM2NiAxNy4xMjU4IDMuMTMyODFDMTcuNDA5MiAzLjI4MTk2IDE3LjYyOTYgMy40OTE2IDE3Ljc4NyAzLjc2MTcyQzE3Ljk0NDUgNC4wMzE4NCAxOC4wMjMyIDQuMzQ3NTQgMTguMDIzMiA0LjcwODgxQzE4LjAyMzIgNS4wNzMzOSAxNy45NDIgNS4zODkwOSAxNy43Nzk2IDUuNjU1ODlDMTcuNjE4OCA1LjkyMjcgMTcuMzkyNiA2LjEyODIgMTcuMTAwOSA2LjI3MjM3QzE2LjgxMDkgNi40MTY1NSAxNi40NzIgNi40ODg2NCAxNi4wODQzIDYuNDg4NjRIMTQuNzcxOFY1LjQxNDc3SDE1LjgwNThDMTUuOTY4MiA1LjQxNDc3IDE2LjEwNjYgNS4zODY2IDE2LjIyMSA1LjMzMDI2QzE2LjMzNyA1LjI3MjI1IDE2LjQyNTYgNS4xOTAyMiAxNi40ODY5IDUuMDg0MTZDMTYuNTQ5OSA0Ljk3ODEgMTYuNTgxNCA0Ljg1Mjk4IDE2LjU4MTQgNC43MDg4MUMxNi41ODE0IDQuNTYyOTcgMTYuNTQ5OSA0LjQzODY4IDE2LjQ4NjkgNC4zMzU5NEMxNi40MjU2IDQuMjMxNTMgMTYuMzM3IDQuMTUxOTkgMTYuMjIxIDQuMDk3M0MxNi4xMDY2IDQuMDQwOTYgMTUuOTY4MiA0LjAxMjc4IDE1LjgwNTggNC4wMTI3OEgxNS4zMTg2VjhIMTMuOTM2NVoiIGZpbGw9IndoaXRlIi8+CjwvZz4KPGRlZnM+CjxjbGlwUGF0aCBpZD0iY2xpcDBfNTAzXzM3MiI+CjxyZWN0IHdpZHRoPSIyNCIgaGVpZ2h0PSIxMSIgZmlsbD0id2hpdGUiLz4KPC9jbGlwUGF0aD4KPC9kZWZzPgo8L3N2Zz4K) no-repeat left center;
    width: 24px;
    height: 11px;
    position: absolute;
    top: 25px;
    left: 6px;
    border-radius: 2px;
}

[x-cloak] {
    display: none !important;
}

/* Loading Icon Spinner */
.icon-loading {
    display: inline-block;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    vertical-align: middle;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: currentColor;
    border-radius: 50%;
}

.icon-loading.loading {
    animation: spin 0.6s linear infinite;
}

.text-text-main-light {
    line-height: 1.8;
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.productDescription {
    margin-top: 0rem !important;
}

.productDescription h2,
.productDescription h3 {
    margin-top: 1.2rem !important;
    margin-bottom: 1rem !important;
}

.productDescription p {
    white-space: pre-line;
}

@media (min-width: 640px) {
    .sm\:hidden {
        display: none;
    }

    .sm\:text-left {
        text-align: left !important;
    }

    .sm\:justify-start {
        justify-content: flex-start !important;
    }

    .sm\:items-start {
        align-items: flex-start !important;
    }

    .sm\:w-auto {
        width: auto !important;
    }

    .sm\:flex-row {
        flex-direction: row !important;
    }

    .sm\:flex-1 {
        flex: 1 1 0% !important;
    }
}

/* Spin Animation */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Different sizes for icon-loading */
.icon-loading.icon-sm {
    width: 1rem;
    height: 1rem;
    margin-right: 0.5rem;
}

.icon-loading.icon-lg {
    width: 1.5rem;
    height: 1.5rem;
    margin-right: 1rem;
}

.icon-loading.icon-xl {
    width: 2rem;
    height: 2rem;
    margin-right: 1rem;
}