body {
    font-size: 0.83rem;
    font-family: "Poppins", sans-serif;
}

p,
h6 {
    font-size: 14px;
}

a {
    text-decoration: none !important;
}

.dropify-message p {
    font-size: 15px;
}

fieldset,
legend {
    all: revert;
}

.clone-billing td {
    padding: 0.5rem !important;
}

.dropify-wrapper {
    height: 100px;
}

.sup-badge {
    vertical-align: super;
}

/*
.dataTables_filter {
    display: none;
} */

table {
    font-size: 14px;
}

#filter-form .form-label,
#filter-form .form-check-label {
    font-size: 12px;
}

.timeline-2 .timeline-date::after {
    content: "";
    display: block;
    position: absolute;
    width: 14px;
    height: 14px;
    top: 26px;
    left: 5px;
    -webkit-box-align: left;
    -ms-flex-align: left;
    align-items: left;
    background: #0ab39c;
    border: 3px solid var(--vz-secondary-bg);
    border-radius: 50px;
    z-index: 1;
}

.timeline-2 .timeline-box {
    position: relative;
    display: inline-block;
    margin: 5px 15px;
    padding: 10px;
    border: 1px solid var(--vz-border-color);
    border-radius: 6px;
    background: var(--vz-secondary-bg);
    max-width: 695px;
}

.timeline-2::after {
    position: absolute;
    content: "";
    width: 2px;
    height: 83%;
    top: 40px;
    left: 0px;
    margin-left: -1px;
    background: var(--vz-purple);
}

.timeline-2 .timeline-date {
    font-size: 12px;
    font-weight: 500;
    margin: 24px 0 0 0;
    margin-left: 15px;
}

#filter-form .select2-container--default .select2-selection--single {
    height: calc(1.875rem);
    /* Slightly larger height for better alignment */
    padding: 0.375rem 0.75rem;
    /* Adjusted padding for proper alignment */
    font-size: 0.875rem;
    /* Matches form-select-sm font size */
    line-height: 1.5;
    /* Matches Bootstrap's line height */
    display: flex;
    align-items: center;
    /* Ensures vertical alignment */
    border-radius: 0.2rem;
    /* Matches Bootstrap's border radius */
}

#filter-form .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: normal;
    /* Prevents line-height issues */
    padding: 0;
    /* Removes extra padding */
    margin: 0;
    /* Ensures proper centering */
    display: flex;
    align-items: center;
    /* Centers the text */
    height: 100%;
    /* Full height to align properly */
}

#filter-form .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100%;
    /* Adjust arrow height */
    display: flex;
    align-items: center;
    /* Vertically align the arrow */
}

.panel .table,
.panel .column {
    cursor: pointer;
}

.dataTables_wrapper .dataTables_paginate .page-item .page-link {
    padding: 2px 8px !important;
    font-size: 14px;
}

.btn-group>.btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    /* smaller text */
    line-height: 1.5;
    border-radius: 0.2rem;
}

.bg-gradient-purple {
    background-image: linear-gradient(310deg, #7928ca, #ff0080);
}

.bg-gradient-success {
    background-image: linear-gradient(310deg, #17ad37, #6ca028);
}

.bg-gradient-danger {
    background: linear-gradient(to right, rgb(238, 9, 121), rgb(255, 106, 0));
}

.bg-gradient-info {
    background-image: linear-gradient(to top,
            rgb(0, 198, 251) 0%,
            rgb(0, 91, 234) 100%);
}

.bg-gradient-warning {
    background: linear-gradient(to right, rgb(247, 151, 30), rgb(255, 210, 0));
}

.bg-gradient-voilet {
    background: linear-gradient(to right,
            rgb(52, 148, 230),
            rgb(236, 110, 173));
}

.bg-gradient-royal {
    background-image: linear-gradient(-20deg,
            rgb(43, 88, 118) 0%,
            rgb(78, 67, 118) 100%);
}

.bg-gradient-branding {
    background-image: linear-gradient(rgb(42, 245, 152) 0%,
            rgb(0, 158, 253) 100%);
}

.custom-width-canvas {
    max-width: 100%;
}

.dropzone {
    min-height: 100px !important;
    border: 1px dashed !important;
    padding: 0 0 !important;
}

.simplebar-height-fix {
    height: calc(100vh - 112px);
}

.fancybox__container {
    z-index: 1200 !important;
}

#builderFormModal {
    z-index: 1200 !important;
}

.chat-leftsidebar {
    margin: 10px;
    border-radius: 10px;
}

.user-chat {
    margin: 10px;
    border-radius: 10px;
}

@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.blinking-text {
    animation: blink 1s infinite;
}

/* Make the top row flex */
.dataTables_wrapper>.row:first-child {
    display: flex;
    justify-content: space-between;
    /* space between info and length */
    align-items: center;
    flex-wrap: nowrap;
    /* prevent stacking */
}

/* Make info and length auto-width so flex works */
.dataTables_wrapper>.row:first-child .col-sm-12.col-md-6 {
    width: auto;
    /* ignore bootstrap's 50% width */
    padding: 0;
    /* optional */
}

/* Info stays on the left */
.dataTables_wrapper>.row:first-child .dataTables_info {
    order: 1;
}

/* "Show X entries" stays on the right */
.dataTables_wrapper>.row:first-child .dataTables_length {
    order: 2;
}

/* Pagination row aligned right below */
.dataTables_wrapper>.row:last-child {
    display: flex;
    justify-content: flex-end;
    margin-top: 5px;
}

/* ---------- Indicator animations ---------- */
.doc-flag {
    display: inline-block;
    margin-right: 0.35rem;
    font-weight: 700;
    color: #ff0303;
    font-size: 0.95em;
    transform-origin: 50% 50%;
    animation: twinkle 1.6s infinite ease-in-out;
    will-change: transform, opacity, text-shadow;
    line-height: 1;
}

.doc-flag.pulse {
    animation: pulse 1.25s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes twinkle {
    0% {
        opacity: 0.18;
        transform: scale(0.9) rotate(-6deg);
        text-shadow: 0 0 0 rgba(255, 3, 3, 0);
    }

    28% {
        opacity: 1;
        transform: scale(1.08) rotate(2deg);
        text-shadow: 0 0 10px rgba(255, 60, 60, 0.95);
    }

    60% {
        opacity: 0.85;
        transform: scale(0.98) rotate(-2deg);
        text-shadow: 0 0 6px rgba(255, 60, 60, 0.6);
    }

    100% {
        opacity: 0.18;
        transform: scale(0.9) rotate(6deg);
        text-shadow: 0 0 0 rgba(255, 3, 3, 0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(0.94);
        opacity: 0.75;
        text-shadow: 0 0 0 rgba(255, 60, 60, 0);
    }

    45% {
        transform: scale(1.14);
        opacity: 1;
        text-shadow: 0 0 18px rgba(255, 60, 60, 0.95);
    }

    100% {
        transform: scale(0.94);
        opacity: 0.75;
        text-shadow: 0 0 0 rgba(255, 60, 60, 0);
    }
}

.form-check-input-lg {
    transition:
        transform 0.12s ease,
        box-shadow 0.12s ease;
    transform-origin: center;
}

.form-check-input-lg:hover {
    transform: scale(1.5);
}

.form-check-input-lg:focus {
    box-shadow: 0 0 0 6px rgba(255, 60, 60, 0.08);
    transform: scale(1.45);
}

.academic-docs-status {
    display: inline-block;
    transition:
        opacity 0.18s ease,
        transform 0.18s ease;
}

@media (prefers-reduced-motion: reduce) {

    .doc-flag,
    .doc-flag.pulse,
    .form-check-input-lg,
    .academic-docs-status {
        animation: none !important;
        transition: none !important;
    }
}

/* From Uiverse.io by vinodjangid07 */
.messageBox {
    width: fit-content;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #2d2d2d;
    padding: 0 15px;
    border-radius: 5px;
    border: 1px solid rgb(63, 63, 63);
}

.messageBox:focus-within {
    border: 1px solid rgb(110, 110, 110);
}

.fileUploadWrapper {
    width: fit-content;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Arial, Helvetica, sans-serif;
}

#file {
    display: none;
}

.fileUploadWrapper label {
    cursor: pointer;
    width: fit-content;
    height: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.fileUploadWrapper label svg {
    height: 18px;
}

.fileUploadWrapper label svg path {
    transition: all 0.3s;
}

.fileUploadWrapper label svg circle {
    transition: all 0.3s;
}

.fileUploadWrapper label:hover svg path {
    stroke: #fff;
}

.fileUploadWrapper label:hover svg circle {
    stroke: #fff;
    fill: #3c3c3c;
}

.fileUploadWrapper label:hover .tooltip {
    display: block;
    opacity: 1;
}

.tooltip {
    position: absolute;
    top: -40px;
    display: none;
    opacity: 0;
    color: white;
    font-size: 10px;
    text-wrap: nowrap;
    background-color: #000;
    padding: 6px 10px;
    border: 1px solid #3c3c3c;
    border-radius: 5px;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.596);
    transition: all 0.3s;
}

#messageInput {
    width: 200px;
    height: 100%;
    background-color: transparent;
    outline: none;
    border: none;
    padding-left: 10px;
    color: white;
}

#messageInput:focus~#sendButton svg path,
#messageInput:valid~#sendButton svg path {
    fill: #3c3c3c;
    stroke: white;
}

#sendButton {
    width: fit-content;
    height: 100%;
    background-color: transparent;
    outline: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

#sendButton svg {
    height: 18px;
    transition: all 0.3s;
}

#sendButton svg path {
    transition: all 0.3s;
}

#sendButton svg path {
    fill: #3c3c3c;
    stroke: white;
}

#sendButton:hover svg path {
    fill: #2d2d2d;
    stroke: white;
}

.custom-drop-shadow {
    filter: drop-shadow(2px 2px 1px #bdbdbd);
}


.select-readonly {
    pointer-events: none;
    background-color: #e9ecef;
}

.select-readonly {
    background-color: #e9ecef;
    cursor: not-allowed;
}

.select-readonly+.select2-container {
    pointer-events: none;
    background-color: #e9ecef;
}

.select-readonly+.select2-container .select2-selection {
    background-color: #e9ecef;
    cursor: not-allowed;
}

.table thead th {
    background-color: #4c0dee;
    color: white;
}

.form-control {
    background-color: #ffff;
}

.form-label {
    font-size: 14px;
    margin-bottom: 0px;
}