/* Wasupp Write - Custom Styles */

/* X-cloak for Alpine.js */
[x-cloak] {
    display: none !important;
}

/* Custom Scrollbar - Truly Global & Webkit/Firefox Compatible */
::-webkit-scrollbar {
    width: 4px !important;
    height: 4px !important;
}

::-webkit-scrollbar-track {
    background: #111111 !important;
}

.dark ::-webkit-scrollbar-track {
    background: #111111 !important;
}

::-webkit-scrollbar-thumb {
    background: #A1A1AA !important;
    border-radius: 3px !important;
}

.dark ::-webkit-scrollbar-thumb {
    background: #A1A1AA !important;
}

::-webkit-scrollbar-thumb:hover {
    background: #FFFFFF !important;
}

.dark ::-webkit-scrollbar-thumb:hover {
    background: #FFFFFF !important;
}

/* Firefox scrollbar support */
* {
    scrollbar-width: thin !important;
    scrollbar-color: #A1A1AA #111111 !important;
}

/* Scrollbar hide utility */
.scrollbar-hide::-webkit-scrollbar,
.hide-scrollbar::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

.scrollbar-hide,
.hide-scrollbar {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

/* Global Dark Mode Input Fix */
.dark input:not([type="checkbox"]):not([type="radio"]),
.dark select,
.dark textarea {
    background-color: #141414 !important;
    color: #FFFFFF !important;
}

/* Fix Autofill for Dark Mode */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 50px #000000 inset !important;
    -webkit-text-fill-color: white !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* Ensure no overlay blocking */
body {
    position: relative;
    overflow-x: hidden;
}

/* Fix any z-index issues */
.main-content {
    position: relative;
    z-index: 1;
}

/* DataTables Custom Styling */
.dataTables_wrapper {
    width: 100%;
    padding: 1.5rem;
    /* Add padding inside the card for controls */
    color: #A1A1AA;
    /* Slate 600 */
}

.dark .dataTables_wrapper {
    color: #FFFFFF;
    /* Slate 300 */
}

/* Header Spacing & Text Color */
.dataTables_length,
.dataTables_filter {
    margin-bottom: 1.5rem;
    color: #A1A1AA;
}

.dataTables_length label,
.dataTables_filter label {
    color: #A1A1AA !important;
    font-weight: 500;
}

.dark .dataTables_length,
.dark .dataTables_filter {
    color: #FFFFFF;
}

.dark .dataTables_length label,
.dark .dataTables_filter label {
    color: #FFFFFF !important;
}

/* Inputs & Selects */
.dataTables_wrapper input[type="search"],
.dataTables_wrapper select {
    padding: 6px 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: #fff;
    color: #111111;
    outline: none;
}

.dataTables_wrapper input[type="search"]:focus,
.dataTables_wrapper select:focus {
    border-color: #7000FF;
    box-shadow: 0 0 0 2px rgba(112, 0, 255, 0.2);
}

.dark .dataTables_wrapper input[type="search"],
.dark .dataTables_wrapper select {
    border-color: #111111;
    background-color: #0A0A0A;
    /* Slate 900 */
    color: #FFFFFF;
}

/* Empty Row Fix */
table.dataTable tbody tr.odd,
table.dataTable tbody tr.even,
table.dataTable.display tbody tr.odd,
table.dataTable.display tbody tr.even {
    background-color: transparent !important;
}

table.dataTable.no-footer {
    border-bottom: none !important;
}

/* "No matching records found" row */
.dataTables_empty {
    padding: 2rem !important;
    color: #A1A1AA;
    /* Slate 500 */
    background: transparent !important;
}

.dark .dataTables_empty {
    color: #A1A1AA;
    /* Slate 400 */
}

/* Pagination */
.dataTables_wrapper .dataTables_paginate .paginate_button {
    color: #A1A1AA !important;
    border-radius: 0.5rem !important;
    border: 1px solid transparent !important;
}

.dark .dataTables_wrapper .dataTables_paginate .paginate_button {
    color: #FFFFFF !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: #111111 !important;
    color: #111111 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.dark .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: #111111 !important;
    color: #fff !important;
    border-color: #A1A1AA !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    background: #7000FF !important;
    color: #fff !important;
    border: 1px solid #7000FF !important;
}

/* Info Text */
.dataTables_info {
    padding-top: 1.5rem !important;
    color: #A1A1AA !important;
}

.dark .dataTables_info {
    color: #A1A1AA !important;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    backdrop-filter: blur(8px);
}

.dark .preloader {
    background: rgba(15, 23, 42, 0.95);
}

.loader-ring {
    display: inline-block;
    width: 80px;
    height: 80px;
}

.loader-ring:after {
    content: " ";
    display: block;
    width: 64px;
    height: 64px;
    margin: 8px;
    border-radius: 50%;
    border: 6px solid #7000FF;
    border-color: #7000FF transparent #7000FF transparent;
    animation: loader-ring 1.2s linear infinite;
}

@keyframes loader-ring {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Fix DataTables sorted column background (ID column issue) */
table.dataTable.display tbody tr.odd>.sorting_1,
table.dataTable.order-column.stripe tbody tr.odd>.sorting_1,
table.dataTable.stripe tbody tr.odd>.sorting_1,
table.dataTable.display tbody tr.even>.sorting_1,
table.dataTable.order-column.stripe tbody tr.even>.sorting_1,
table.dataTable.stripe tbody tr.even>.sorting_1 {
    background-color: transparent !important;
    box-shadow: none !important;
}

/* Global Responsive Table Cells */
table.dataTable td {
    max-width: 350px;
    white-space: normal;
    word-wrap: break-word;
}

/* Dropify Custom Styles */
.dropify-wrapper {
    border: 2px dashed #FFFFFF;
    border-radius: 12px;
    background: #f8fafc;
}

.dark .dropify-wrapper {
    border-color: #A1A1AA;
    background: #111111;
}

.dropify-wrapper:hover {
    border-color: #7000FF;
}

.dropify-wrapper .dropify-message p {
    font-size: 14px !important;
}

.dropify-wrapper .dropify-message .file-icon {
    font-size: 24px !important;
}

.dropify-render img {
    margin: auto;
}

/* Tag Input Styles */
.tag-input {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: #f8fafc;
}

.dark .tag-input {
    border-color: #A1A1AA;
    background: #111111;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    background: #7000FF;
    color: white;
    border-radius: 6px;
    font-size: 14px;
}

.tag .remove {
    cursor: pointer;
    margin-left: 4px;
    opacity: 0.8;
}

.tag .remove:hover {
    opacity: 1;
}

/* Ensure modal/dropdown visibility */
.modal,
.dropdown-menu {
    z-index: 1000;
}

/* Fix Alpine transitions */
[x-show] {
    transition: all 0.3s ease;
}

/* sr-only utility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Custom Switch Component */
.ps-switch {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

.ps-switch input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
    appearance: none !important;
    -webkit-appearance: none !important;
    opacity: 0 !important;
}

.ps-switch-slider {
    width: 2.75rem;
    /* w-11 */
    height: 1.5rem;
    /* h-6 */
    background-color: rgba(255, 255, 255, 0.1);
    /* bg-slate-200 */
    border-radius: 9999px;
    /* rounded-full */
    position: relative;
    transition: background-color 0.2s, background-image 0.2s;
}

.dark .ps-switch-slider {
    background-color: #111111;
    /* dark:bg-slate-700 */
}

.ps-switch-slider::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    background-color: white;
    border: 1px solid #d1d5db;
    /* border-gray-300 */
    border-radius: 9999px;
    height: 1.25rem;
    /* h-5 */
    width: 1.25rem;
    /* w-5 */
    transition: all 0.2s;
}

.ps-switch input:checked+.ps-switch-slider {
    background-color: #7000FF;
    /* bg-indigo-600 */
}

.ps-switch input:checked+.ps-switch-slider::after {
    transform: translateX(100%);
    border-color: white;
}

.ps-switch input:focus+.ps-switch-slider {
    /* ring-4 ring-indigo-300 */
    box-shadow: 0 0 0 4px rgba(165, 180, 252, 1);
}

.dark .ps-switch input:focus+.ps-switch-slider {
    /* dark:ring-indigo-800 */
    box-shadow: 0 0 0 4px rgba(55, 48, 163, 1);
}

/* --- Global Modal Styles --- */
.ps-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 50;
    background-color: rgba(15, 23, 42, 0.75);
    /* Slate 900 / 75% */
    backdrop-filter: blur(4px);
    transition: opacity 0.3s ease;
}

.ps-modal-container {
    position: fixed;
    inset: 0;
    z-index: 60;
    overflow-y: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.ps-modal-content {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    width: 100%;
    max-width: 32rem;
    /* max-w-lg */
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dark .ps-modal-content {
    background: #111111;
    /* Slate 800 */
    border-color: #111111;
    /* Slate 700 */
}

.ps-modal-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #111111;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dark .ps-modal-header {
    border-color: #111111;
}

.ps-modal-body {
    padding: 1.5rem;
}

.ps-modal-footer {
    padding: 1rem 1.5rem;
    background-color: #f8fafc;
    border-top: 1px solid #111111;
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

.dark .ps-modal-footer {
    background-color: #0A0A0A;
    /* Slate 900 */
    border-color: #111111;
}

/* --- Global Input Styles --- */
.ps-form-label {
    display: block;
    font-size: 0.875rem;
    /* text-sm */
    font-weight: 500;
    color: #111111;
    /* Slate 700 */
    margin-bottom: 0.375rem;
}

.dark .ps-form-label {
    color: #FFFFFF;
    /* Slate 300 */
}

.ps-form-input,
.ps-form-select,
.ps-form-textarea {
    width: 100%;
    padding: 0.625rem 0.875rem;
    /* Increased padding */
    font-size: 0.875rem;
    border-radius: 0.5rem;
    border: 1px solid #FFFFFF;
    /* Slate 300 */
    background-color: #ffffff;
    color: #0A0A0A;
    /* Slate 900 */
    outline: none;
    transition: all 0.2s;
}

.dark .ps-form-input,
.dark .ps-form-select,
.dark .ps-form-textarea {
    background-color: #0A0A0A;
    /* Slate 900 */
    border-color: #111111;
    /* Slate 600 */
    color: #FFFFFF;
    /* Slate 200 */
}

.ps-form-input:focus,
.ps-form-select:focus,
.ps-form-textarea:focus {
    border-color: #7000FF;
    /* Indigo 500 */
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

/* Custom Keyframes for OG Magic Loader */
@keyframes ogSpin {
    from {
        transform: rotate(0deg);
    }

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

@keyframes ogSpinReverse {
    from {
        transform: rotate(360deg);
    }

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

@keyframes ogPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: .5;
    }
}

.og-spin {
    animation: ogSpin 1s linear infinite;
}

.og-spin-reverse {
    animation: ogSpinReverse 2s linear infinite;
}

.og-pulse {
    animation: ogPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* --- AlertifyJS Custom Dark Theme --- */
.alertify .ajs-dialog {
    background-color: #0A0A0A !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 16px !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.75) !important;
    font-family: 'Outfit', sans-serif !important;
}

.alertify .ajs-header {
    background-color: transparent !important;
    color: #FFFFFF !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    font-weight: 600 !important;
    font-family: inherit !important;
    padding: 20px 24px !important;
    font-size: 1.125rem !important;
}

.alertify .ajs-body {
    color: #A1A1AA !important;
    font-family: inherit !important;
    padding: 24px !important;
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
}

.alertify .ajs-footer {
    background-color: transparent !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
    padding: 16px 24px !important;
    display: flex !important;
    justify-content: flex-end !important;
    gap: 12px !important;
}

.alertify .ajs-footer .ajs-buttons {
    display: flex !important;
    gap: 12px !important;
    width: auto !important;
    float: none !important;
}

.alertify .ajs-button {
    font-family: inherit !important;
    border-radius: 10px !important;
    padding: 10px 20px !important;
    font-weight: 600 !important;
    font-size: 0.875rem !important;
    transition: all 0.2s ease !important;
    outline: none !important;
    margin: 0 !important;
    min-height: auto !important;
    line-height: normal !important;
    text-transform: none !important;
    box-shadow: none !important;
}

.alertify .ajs-button.ajs-cancel {
    background-color: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #A1A1AA !important;
}

.alertify .ajs-button.ajs-cancel:hover {
    background-color: rgba(255, 255, 255, 0.05) !important;
    color: #FFFFFF !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

.alertify .ajs-button.ajs-ok {
    background-color: #7000FF !important;
    color: #FFFFFF !important;
    border: 1px solid #7000FF !important;
}

.alertify .ajs-button.ajs-ok:hover {
    background-color: #5a00cc !important;
    border-color: #5a00cc !important;
    box-shadow: 0 4px 14px 0 rgba(112, 0, 255, 0.39) !important;
}

.alertify-notifier .ajs-message {
    background: #0B0F19 !important; /* Sleek dark-blue/gray background */
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 500 !important;
    font-size: 13.5px !important;
    padding: 12px 18px !important;
    box-shadow: 0 12px 30px -5px rgba(0, 0, 0, 0.7), 0 8px 16px -8px rgba(0, 0, 0, 0.7) !important;
    text-shadow: none !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    min-width: 260px !important;
    opacity: 0.98 !important;
    letter-spacing: 0.2px !important;
}

/* Success Toast Override */
.alertify-notifier .ajs-message.ajs-success {
    background: #061510 !important; /* Premium dark emerald background */
    border: 1px solid rgba(16, 185, 129, 0.35) !important; /* Emerald green border */
    color: #E6FDF4 !important;
}
/* Success icon prefix using Material Symbols */
.alertify-notifier .ajs-message.ajs-success::before {
    content: "\e5ca" !important; /* check icon */
    font-family: 'Material Symbols Rounded' !important;
    font-size: 18px !important;
    color: #10B981 !important; /* Emerald green icon */
    font-weight: 900 !important;
}

/* Error Toast Override */
.alertify-notifier .ajs-message.ajs-error {
    background: #19090C !important; /* Premium dark ruby background */
    border: 1px solid rgba(239, 68, 68, 0.35) !important; /* Rose red border */
    color: #FFEBEF !important;
}
/* Error icon prefix using Material Symbols */
.alertify-notifier .ajs-message.ajs-error::before {
    content: "\e000" !important; /* warning/error icon */
    font-family: 'Material Symbols Rounded' !important;
    font-size: 18px !important;
    color: #EF4444 !important; /* Rose red icon */
    font-weight: 900 !important;
}

/* --- Quill Editor Premium Dark Theme overrides --- */
.ql-toolbar.ql-snow {
    border: 1.5px solid rgba(255, 255, 255, 0.08) !important;
    background-color: #0A0A0A !important;
    border-top-left-radius: 12px !important;
    border-top-right-radius: 12px !important;
    padding: 10px 14px !important;
}

.ql-container.ql-snow {
    border: 1.5px solid rgba(255, 255, 255, 0.08) !important;
    background-color: #111111 !important;
    border-bottom-left-radius: 12px !important;
    border-bottom-right-radius: 12px !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 14.5px !important;
    color: #f8fafc !important;
    min-height: 180px !important;
}

/* Fix dropdown and picker styling in Quill toolbar */
.ql-snow .ql-stroke {
    stroke: #a1a1aa !important;
}

.ql-snow .ql-fill {
    fill: #a1a1aa !important;
}

.ql-snow .ql-picker {
    color: #a1a1aa !important;
}

.ql-snow .ql-picker-options {
    background-color: #111111 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.ql-snow.ql-toolbar button:hover,
.ql-snow .ql-toolbar button:hover,
.ql-snow.ql-toolbar button.ql-active,
.ql-snow .ql-toolbar button.ql-active,
.ql-snow.ql-toolbar .ql-picker-label:hover,
.ql-snow .ql-toolbar .ql-picker-label:hover,
.ql-snow.ql-toolbar .ql-picker-item:hover,
.ql-snow .ql-toolbar .ql-picker-item:hover {
    color: #818cf8 !important;
}

.ql-snow.ql-toolbar button:hover .ql-stroke,
.ql-snow .ql-toolbar button:hover .ql-stroke,
.ql-snow.ql-toolbar button.ql-active .ql-stroke,
.ql-snow .ql-toolbar button.ql-active .ql-stroke,
.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke,
.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke {
    stroke: #818cf8 !important;
}

.ql-snow.ql-toolbar button:hover .ql-fill,
.ql-snow .ql-toolbar button:hover .ql-fill,
.ql-snow.ql-toolbar button.ql-active .ql-fill,
.ql-snow .ql-toolbar button.ql-active .ql-fill {
    fill: #818cf8 !important;
}

/* Placeholder color */
.ql-blank::before {
    color: #52525b !important;
    font-style: normal !important;
}

/* Override input styling inside Quill container */
.ql-editor {
    min-height: 180px !important;
}

/* --- Premium Dropdown Select Styling --- */
select {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a1a1aa' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 1rem center !important;
    background-size: 1.1em !important;
    padding-right: 2.75rem !important;
    cursor: pointer;
    font-family: 'Outfit', sans-serif !important;
}

/* Hover & Focus state */
select:hover {
    border-color: rgba(255, 255, 255, 0.2) !important;
}

select:focus {
    border-color: #7000FF !important;
    box-shadow: 0 0 0 3px rgba(112, 0, 255, 0.15) !important;
}

/* Premium Options Overlay Styling */
select option {
    background-color: #0A0A0A !important;
    color: #FFFFFF !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 14px !important;
    padding: 12px !important;
}

/* Adjust size for smaller selects like templateSelector */
select.text-xs {
    background-position: right 0.5rem center !important;
    background-size: 0.9em !important;
    padding-right: 1.75rem !important;
}

/* Custom hidden styling for native selects to support HTML5 validation */
select.custom-select-hidden-native {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* --- Quill Tooltip Dark Theme & Input Fixes --- */
.ql-snow .ql-tooltip {
    background-color: #0A0A0A !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.7) !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    z-index: 9999 !important;
}

/* Tooltip input styling */
.ql-snow .ql-tooltip input[type="text"] {
    background-color: #111111 !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 6px !important;
    padding: 6px 10px !important;
    font-size: 13px !important;
    width: 260px !important;
    outline: none !important;
    margin-right: 8px !important;
    box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06) !important;
}

.ql-snow .ql-tooltip input[type="text"]:focus {
    border-color: #7000FF !important;
    box-shadow: 0 0 0 2px rgba(112, 0, 255, 0.2) !important;
}

/* Tooltip labels and text */
.ql-snow .ql-tooltip::before {
    color: #A1A1AA !important;
    font-weight: 500 !important;
    font-size: 13px !important;
    margin-right: 6px !important;
}

/* Tooltip action links (Save, Visit, Change, Remove) */
.ql-snow .ql-tooltip a {
    color: #818cf8 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    cursor: pointer !important;
}

.ql-snow .ql-tooltip a:hover {
    color: #a5b4fc !important;
}

.ql-snow .ql-tooltip a.ql-action::after {
    border-right: 1px solid rgba(255, 255, 255, 0.2) !important;
    content: '' !important;
    margin-left: 8px !important;
    margin-right: 8px !important;
}

.ql-snow .ql-tooltip a.ql-remove {
    margin-left: 8px !important;
}

/* Premium Custom Checkbox Style */
input[type="checkbox"].ps-custom-checkbox {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 1rem;
    height: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    background-color: #0A0A0A;
    cursor: pointer;
    position: relative;
    display: inline-block;
    vertical-align: middle;
    transition: all 0.2s ease-in-out;
    outline: none;
}

input[type="checkbox"].ps-custom-checkbox:hover {
    border-color: rgba(255, 255, 255, 0.4);
}

input[type="checkbox"].ps-custom-checkbox:checked {
    background-color: #7000FF;
    border-color: #7000FF;
}

input[type="checkbox"].ps-custom-checkbox:checked::after {
    content: "";
    position: absolute;
    left: 4.5px;
    top: 1px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

input[type="checkbox"].ps-custom-checkbox:focus {
    box-shadow: 0 0 0 2px rgba(112, 0, 255, 0.3);
}