html {
    scrollbar-gutter: stable;
}
body {
    font-family: "Manrope", serif;
    overflow-x: hidden;
    scrollbar-gutter: stable;
}

.font-inter {
    font-family: "Inter", sans-serif;
}

b,
strong {
    font-weight: 600 !important;
}

.transition-all {
    transition: all 0.3s ease;
}

.sidebar .logo-box .logo-icon {
    display: none;
}

::-webkit-scrollbar {
    width: 7px;
    height: 10px;
}

::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px #a0a5b9;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #a0a5b9;
    border-radius: 10px;
}

.dt-length select {
    min-width: 75px;
    margin-right: 10px;
    padding: 0.5rem !important;
    border-color: #E8E5E2;
    border-radius: 0;
    font-size: 12px;
}

.home-bg {
    background-image: url(/assets/home-bg-68eef08ba94b0d5083ecc99abffec23e42ec4be9ca8f840bc19917edcf12fd41.png);
    background-repeat: no-repeat;
    background-position: top center;
    background-size: contain;
}
.rounded-bg {
    background-image: url(/assets/calculator-bg-e9b0dcc8bea11612641f92f89f724d776b172ac4f7a2e086316cc653819ca190.png);
    background-repeat: no-repeat;
    background-position: top center;
    background-size: contain;
}
.dt-search {
    position: relative;
}

.dt-search input {
    border-radius: 0px !important;
    padding: 0.5rem !important;
    margin-left: 10px !important;
    padding: 5px 10px !important;
    border-color: #d4d4d8 !important;
    font-size: 12px;
    height: 34px;
}

.dt-search::after {
    position: absolute;
    content: "";
    background-image: url(/assets/icons/search-ic-817f5e97a3e50b64d6672b2c17643d149a07794aec82ec4e864b154e938aac62.svg);
    background-size: 16px;
    top: 8px;
    right: 8px;
    z-index: 9;
    width: 16px;
    height: 16px;
}

.dt-search input:focus {
    outline: none !important;
    box-shadow: none;
}

.dt-length label {
    font-size: 14px !important;
    display: none !important;
}

.dt-search label {
    font-size: 14px !important;
}

.dt-info {
    font-size: 14px !important;
}

.dt-container>.grid-cols-2 {
    padding: 0.5rem 2rem;
    background-color: #fcfbfa;
    border: 1px solid #e8e5e2;
    border-left: none;
    border-right: none;
    margin-left: -2.5rem;
    width: calc(100% + 5rem);
    margin-bottom: 0 !important;
}

.dt-container>.grid-cols-1 {
    margin-left: -2.5rem;
    width: calc(100% + 5rem);
}

.dataTable thead th {
    border-color: #f4f2f0 !important;
    border-bottom: 1px solid #f4f2f0 !important;
    padding: 8px 35px 8px 20px !important;
}

.dataTable tr td {
    padding: 1rem 1.25rem !important;
}

#outline_table tr td {
  padding: 5px 16px !important;
}
.dt-paging .pagination a {
    border-radius: 0 !important;
}

div.dt-container .dt-paging .dt-paging-button:hover, div.dt-container .dt-paging .dt-paging-button:active {
    color: #1A1919 !important;
    background: #E0EEFF !important;
    border-color: transparent !important;
    box-shadow: none !important;
}
div.dt-container .dt-paging .dt-paging-button.current, div.dt-container .dt-paging .dt-paging-button.current:hover{
    color: #1A1919 !important;
    background: #E0EEFF !important;
    border: none !important;
    box-shadow: none !important;
}

/* .child-row td:nth-child(2) {
    padding-left: 40px !important;
} */

tr[data-depth] td:nth-child(2) {
    padding-left: calc(40px * attr(data-depth integer));
}

.child-row td,
.child-row * {
    color: #6D6A68 !important;
}

.child-row:hover {
    background-color: #f9f9f9;
}

.input-no-shadow,
.input-no-shadow:focus {
    box-shadow: none !important;
}

#registration-form-loader {
    text-align: center;
    margin-top: 10px;
    font-size: 16px;
    color: #555;
}

.spinner {
    border: 4px solid #f3f3f3;
    /* Light grey */
    border-top: 4px solid #3498db;
    /* Blue */
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

.disabled-link {
    pointer-events: none;
    /* Prevents clicking */
    opacity: 0.5;
    /* Makes it look disabled */
    cursor: not-allowed;
}

.custom-textarea .form_in_place {
    width: 100%;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}


/* Dropzone CSS */
.dropzone{
    background-color: #F7F9FC;
    border: 1px dashed #EBEDF1;
}
.dropzone .dz-preview .dz-details {
    position: initial;
}
.dropzone .dz-message .dz-button p{
    font-size: 12px !important;
}
.dropzone .dz-message .dropzone-upload-button{
    border: none !important;
    background-color: #4593F1 !important;
    color: #ffffff !important;
    border-radius: 4px !important;
}
.dropzone .dz-message p.text-gray-500{
    color: #71717B;
    font-size: 10px !important;
}
.dropzone .dz-preview {
    /* margin: 5px 8px;
    border: 2px dotted #ccc;
    border-radius: 11px;
    padding: 15px;
    width: 150px; */
    width: 70px;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.dropzone .dz-preview .dz-remove {
    display: flex;
}

.dropzone .dz-preview .dz-details {
    padding: 0;
}

.dropzone .dz-filename span {
    word-break: break-all;
    white-space: break-spaces;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.step-wizard .step {
    transition: all 0.3s ease;
}

.step-wizard .step .filled-icon {
    display: none;
}

.step-wizard .step.active .empty-icon {
    display: none;
}

.step-wizard .step.active .filled-icon {
    display: flex;
}

.step-wizard .step.initial .empty-icon {
    border-color: #bae4b7;
    color: #1a1919;
}

.step-wizard .step.initial .step-title {
    color: #1a1919;
}


/* Quill editor css */

.quill-editor.ql-container {
    min-height: 120px;
    display: block;
    padding: 15px;
    border: 1px solid #ccc;
    border-top: none;
}

.quill-editor.ql-container textarea {
    outline: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    border: none !important;
    font-size: 12px;
    min-height: auto !important;
}

.nav-link.active {
    color: #1A1919;
    font-weight: 600;
    background-color: #C4DFFF;
    border-radius: 4px;
}

.editor-box {
    overflow: hidden;
}

.editor-box .trix-button-group {
    border: none;
    margin: 0;
}

.editor-box .trix-button {
    border: none;
    width: 30px;
    height: 30px;
}

.editor-box .trix-button::before {
    background-size: 20px;
}

.editor-box .trix-button:not(:first-child) {
    border: none;
}

.editor-box .trix-editor {
    border: none;
    padding: 10px 15px;
    min-height: 10em;
    font-size: 14px;
    max-height: 300px;
    overflow-y: auto;
}

.editor-box .trix-button-row {
    background: #FCFBFA;
    border-bottom: 1px solid #E8E5E2;
}

.editable-title span {
    display: flex;
    align-items: center;
    gap: 10px;
}

.editor-box .trix-editor blockquote {
    margin-left: 20px;
    border-left: 3px solid #ccc;
    padding-left: 10px;
}

.editor-box .trix-editor ul {
    list-style-type: disc !important;
    padding-left: 30px !important;
}

.editor-box .trix-editor ol {
    list-style-type: decimal !important;
    padding-left: 30px !important;
}

.best_in_place input,
.best_in_place select,
.best_in_place textarea {
    width: 100%;
    padding: 0.5rem;
    font-size: 0.75rem;
    /* text-xs */
    background-color: white;
    border: 1px solid #e8e5e2 !important;
    outline: none;
    box-shadow: none !important;
}


/* #countdownButton {
    padding: 10px 20px;
    cursor: pointer;
    margin-right: 100px;
    font-color: rgb(5, 5, 5);
    color: red;
    font-size: 16px;
    margin-top: 8px;
} */

trix-toolbar [data-trix-action="attachFiles"] {
    display: none !important;
}

.fade-out {
  animation: fadeOut 0.5s ease forwards;
}

@keyframes fadeOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-10px);
  }
}
@keyframes colorChange {
    0%,
    100% {
        color: white;
    }
    50% {
        color: #01bcf3;
    }
}

.animate-color-change {
    animation: colorChange 1.5s infinite;
}

.animate-color-change-1 {
    animation-delay: 0s;
}

.animate-color-change-2 {
    animation-delay: 0.2s;
}

.animate-color-change-3 {
    animation-delay: 0.4s;
}

.StripeElement {
    width: 100%;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    font-size: 0.75rem;
    outline: none;
    background-color: #fff;
    border: 1px solid #E8E5E2;
    color: #1A1919;
    line-height: 1rem;
}

.StripeElement::placeholder {
    color: #6D6A68;
}


/* Focus styles */

.StripeElement:focus {
    outline: none;
    /* No ring effect */
    border-color: #E8E5E2;
}

.cursor-not-allowed {
    cursor: not-allowed !important;
    opacity: 0.6;
    pointer-events: none;
}

.ui-datepicker select.ui-datepicker-month,
.ui-datepicker select.ui-datepicker-year {
    width: 50% !important;
}

.ui-datepicker {
    font-size: 0.875rem;
    /* text-sm */
    padding: 0.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    /* gray-300 */
    background-color: white;
}

.ui-datepicker td a {
    padding: 0.25rem 0.5rem;
    text-align: center !important;
    border-radius: 0.375rem;
}

.ui-datepicker td a.ui-state-active {
    background-color: #4f46e5;
    color: white;
}

.ui-datepicker td a.ui-state-hover {
    background-color: #e0e7ff;
}

.ui-datepicker td a.ui-state-active {
    background-color: #4f46e5;
    color: white;
}

.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active,
a.ui-button:active,
.ui-button:active,
.ui-button.ui-state-active:hover {
    border: 1px solid #003eff;
    background: #007fff !important;
    font-weight: normal;
}

.max-w-screen-2xl {
    max-width: 1440px;
}
.dt-container .dt-layout-row:first-child{
    background-color: #E0EEFF;
    margin: 0;
    padding: 8px 32px;
}


.dt-container .dt-layout-row.dt-layout-table{
    margin: 0;
}
.dt-container .dt-layout-row.dt-layout-table .dt-scroll-head table tr th{
    color: #71717B;
}
.dt-container .dt-layout-row .dt-length select.dt-input {
    background-color: #ffffff;
    height: 30px;
    border-radius: 4px;
    border: 1px solid #C4DFFF;
    padding: 0 10px !important;
}
.dt-container .dt-search input {
    border: 1px solid #C4DFFF !important;
    border-radius: 4px !important;
    padding: 5px;
    background-color: #ffffff !important;
    color: inherit;
    margin-left: 3px;
    min-width: 211px;
}

@media (min-width: 2052px) {
  .panel-height{
    height: 60vh !important;
  }
}
#plan-expiry-banner { opacity: 0; transition: opacity 0.4s ease; }
#plan-expiry-banner.show { opacity: 1; }
#plan-expiry-banner.fade-out { opacity: 0; }

@media screen and (max-width: 1200px) and (min-width: 768px) {
    .dt-container>.grid-cols-1,
    .dt-container>.grid-cols-2 {
        margin-left: 0;
        width: 100%;
    }
    .dt-search {
        display: flex;
        align-items: center;
    }
    .home-bg {
        background-image: url(/assets/home-bg-plain-632e35fb9da9127160045363c95ea0cee29a7b9b46ab2e9a481e408d19b58386.png);
        background-size: 100% 520px;
    }
}

@media (min-width: 768px) {
    .sidebar-small {
        width: 80px !important;
    }
    .sidebar-small .logo-box {
        padding: 1.5rem 10px;
        flex-direction: column;
    }
    .sidebar .logo-box .logo-icon {
        display: none;
    }
    .sidebar-small .logo-box .logo-icon {
        display: block;
    }
    .sidebar-small .logo-box .logo-full {
        display: none;
    }
    .sidebar-small .side-title,
    .sidebar-small .drop-icon {
        display: none;
    }
    .sidebar-small a,
    .sidebar-small button ,
    .sidebar-small .nav-parent {
        justify-content: center;
    }
    .sidebar-small .child-link {
        font-size: 10px;
        padding: 4px 2px;
    }
    .sidebar-small .h-dropdown-menu {
        border: none;
        position: absolute;
        left: 42px;
        top: 0;
        background: #fff;
        border-radius: 5px;
        box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.2);
        padding: 5px 10px;
    }
    .sidebar-small .h-dropdown-menu ul {
        padding: 0;
    }
    .sidebar-small .h-dropdown-menu ul li a {
        font-size: 11px;
        padding: 8px 20px;
        border-bottom: 1px solid #e5e7eb;
        border-radius: 0;
    }
    .sidebar-small .h-dropdown-menu ul li:last-child a {
        border: none;
    }
    .sidebar-small .logout-box {
        padding-left: 10px;
        padding-right: 10px;
    }
    .sidebar-small .logout-btn-box {
        flex-direction: column;
    }
    .sidebar .sidebar-small-icon {
        display: none;
    }
    .sidebar-small .sidebar-small-icon {
        display: block;
    }
}

@media (max-width: 767px) {
    .sidebar {
        position: fixed !important;
        top: 0;
        left: 0 !important;
        height: 100% !important;
        z-index: 50;
        transition: transform 0.3s ease-in-out;
        transform: translateX(-100%);
    }
    .sidebar-active {
        transform: translateX(0);
    }
    .main-wrapper-active::after {
        content: "";
        position: fixed;
        background-color: rgba(0, 0, 0, 0.7);
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
    }
    .main-wrapper-active {
        position: relative;
    }
    .main-wrapper {
        transition: transform 0.3s ease-in-out;
    }
    .dt-container>.grid-cols-2 {
        padding: 0.5rem;
        width: 100%;
        margin-left: 0;
    }
    .dt-container>.grid-cols-1 {
        margin-left: 0;
        width: 100%;
    }
    .dt-search {
        display: flex;
        align-items: center;
    }
    .dt-container .grid-cols-2:nth-child(3) {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .home-bg {
        background-image: url(/assets/home-bg-plain-632e35fb9da9127160045363c95ea0cee29a7b9b46ab2e9a481e408d19b58386.png);
        background-size: 100% 500px;
    }
    .sidebar .sidebar-small-icon {
        display: none;
    }
}

@media screen and (max-width: 400px) {
    div.dt-container .dt-search input {
        width: 120px;
        min-width: inherit;
    }
}
