:root {
    --background-light: #fafafa;
    --primary: #f28935;
    --purple: #5f2066;
    --border-radius: 8px;
    --dark: #1a191900;
    --green: #28a745;
    --theme-green: #81b166;
    --text-color: #757575;
    --text-bold-color: #212121;
    --border-color: rgb(206, 206, 206);
}

body {
    font-family: "Open Sans", serif !important;
    background-color: var(--background-light);
    margin: 0 !important;
    padding: 0 !important;
    font-size: 14px;
    font-weight: 400;
}

h4,
h5,
h6 {
    line-height: 1.4;
}

.popover {
    z-index: 10000 !important;
}

.swal2-container {
    z-index: 100000 !important;
}

textarea.form-control:focus {
    outline: none;
    border: 1px solid #681868;
    box-shadow: 0 0 0 2px rgba(128, 0, 128, 0.3);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.new-value-input .form-control,
.new-value-input .form-select,
.new-value-input .select2-selection {
    border: 1px solid #e06d10 !important;
    background-color: #f28a3518;
    color: #af5d19;
}

.new-value-input .form-control:focus,
.new-value-input .form-select:focus,
.new-value-input .select2-selection:focus,
.new-value-input .form-control:active,
.new-value-input .form-select:active,
.new-value-input .select2-selection:active {
    box-shadow: 0 0 0 0.15rem rgba(224, 109, 16, 0.25) !important;
}

.old-value-input .form-control:disabled {
    background-color: #5d5c5c16;
    border: 1px solid #aaa9a9;
    color: #202020;
    opacity: 1;
}

.old-value-input .select2-selection__choice {
    background-color: #5d5c5c24 !important;
    border: 1px solid #323232 !important;
    color: #202020 !important;
}

.form-select {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding-top: 8px;
    padding-bottom: 8px;
    padding-left: 16px;
    padding-right: 24px;
    min-height: 42px !important;
}

.select2-selection {
    border: 1px solid var(--border-color) !important;
    border-radius: var(--border-radius) !important;
    padding-top: 4px;
    padding-bottom: 8px !important;
    padding-left: 10px;
    min-height: 42px !important;
}

.select2-search__field {
    margin-top: 0 !important;
}

.select2-container--default
    .select2-selection--multiple
    .select2-selection__clear {
    margin-top: 0 !important;
}

.select2-container .select2-selection--multiple .select2-selection__clear {
    font-size: 1.5em !important;
    font-weight: 400 !important;
}

.select2-selection__choice {
    background-color: #f28a351b !important;
    border: 1px solid #f28935 !important;
}

.select2-container--default
    .select2-selection--multiple
    .select2-selection__choice__remove {
    border-right: 1px solid #f28935 !important;
    color: #f28935 !important;
}

.select2-container--default
    .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: #f28935 !important;
}

.form-control-dark {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.1);
}

.form-control-dark:focus {
    border-color: transparent;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25);
}
.form-check-input:checked {
    background-color: #681868 !important;
    border-color: #681868;
}

select.form-select:focus {
    box-shadow: none !important;
    border-color: #681868 !important;
}

.form-floating {
    position: relative;
    margin-bottom: 1rem;
}

.form-floating input,
.form-floating select {
    border: 1px solid var(--border-color) !important;
    border-radius: 8px;
    width: 100%;
    font-size: 16px;
    min-height: 45px !important;
    height: 48px !important;
}

.form-floating input {
    padding: 8px 12px !important;
}

.form-floating select {
    padding: 8px 28px 8px 12px !important;
}

select {
    font-size: 14px !important;
}

select option {
    padding-right: 15px !important;
    padding-left: 5px !important;
    padding-top: 38px !important;
    padding-bottom: 8px !important;
}

.form-floating label {
    display: inline-flex !important;
    width: auto !important;
    position: absolute;
    top: 50%;
    left: 12px !important;
    height: auto !important;
    transform: translateY(-50%);
    padding: 0px 4px !important;
    background: #fff;
    font-size: 12px !important;
    color: #060000 !important;
    transition: 0.2s;
    pointer-events: none;
}

.form-floating input:focus,
.form-floating select:focus {
    outline: none;
    border: 2px solid #681868 !important;
    box-shadow: none !important;
}

.form-floating input:focus + label,
.form-floating input:not(:placeholder-shown) + label,
.form-floating select:focus + label,
.form-floating select + label {
    top: 0;
    font-size: 13px !important;
    color: #681868;
}

.form-check-input-md {
    width: 1.25em !important;
    height: 1.25em !important;
}

.form-check-input.form-check-input-md {
    width: 1.25em !important;
    height: 1.25em !important;
}

.filter-multi-select .dropdown-toggle {
    max-height: 180px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #888 #f1f1f1;
    font-size: 12px;
}

.filter-multi-select .placeholder {
    text-transform: capitalize !important;
}

.filter-multi-select > .viewbar > .selected-items > .item > button {
    color: #6a6969 !important;
}

.filter-multi-select
    .dropdown-item
    .custom-checkbox:checked
    ~ .custom-control-label::after {
    background-color: #800080 !important;
    border-radius: 5px;
    /* background-image: url("test") !important; */
}

.filter-multi-select > .viewbar > .selected-items > .item {
    height: auto !important;
    display: inline-flex !important;
    color: #5c5c5c !important;
    background-color: #f2f1f1 !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
    padding-top: 3px !important;
    padding-bottom: 3px !important;
}

input[type="date"] {
    -webkit-appearance: none;
    appearance: none;
    text-align: left;
    text-align-last: left;
}

.auto-expand-textarea {
    min-height: 72px;
}

.nav-item.dropdown .dropdown-toggle::after {
    top: 0px !important;
}

/* input style end  ----------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------ */

/* background color start -----------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------*/
.bg-primary {
    background: #f28935 !important;
}

.bg-orange {
    background-color: #f28935 !important;
}

.bg-purple {
    background-color: var(--purple);
}

.bg-blue {
    background-color: #00acdc !important;
}
.bg-green {
    background-color: var(--theme-green);
}
.bg-sidebar {
    background-color: #681868;
}
.bg-f2f1 {
    background-color: #efefef;
}
.bg-f4 {
    background-color: #f4f4f4;
}
.bg-f6 {
    background-color: #f6f6f6;
}

.bg-li-danger {
    background-color: rgba(185, 9, 9, 0.158);
}
/* background color end -----------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------*/
.text-base {
    font-size: 16px !important;
}

.text-normal {
    font-size: 14px;
}

.text-13px {
    font-size: 13px;
}

.text-sm {
    font-size: 12px;
}

.text-xl {
    font-size: 28px;
}

.text-primary {
    color: #681868 !important;
}

.text-orange {
    color: var(--primary);
}

.text-purple {
    color: #681868;
}
.vertical-text {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    text-align: center;
    margin: 0 10px;
}
.rounded-lg {
    border-radius: 10px;
}

.form-label-header,
.form-header {
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-height: 50px;
    border-radius: var(--border-radius);
    line-height: 1 !important;
    padding: 10px 30px;
    color: #fff;
}

.form-lable-header a {
    line-height: 1 !important;
}

.custom-tooltip {
    font-size: 13px;
}

.text-justify {
    text-align: justify !important;
}

/* Buttton style start ------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------- */

button:focus,
a:focus {
    border: none !important;
}

a {
    color: #333;
    text-decoration: none;
}

a:hover {
    color: #8b1c8b;
}

a,
button {
    cursor: pointer;
    font-size: 14px;
}

.btn {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.9 !important;
}

.btn-google:hover,
.btn-google:focus {
    background-color: #f9f9f9;
}

.btn.text-sm {
    font-size: 12px;
}

.icon-only-btn {
    color: var(--text-color);
    border: none;
    outline: none;
    box-shadow: none;
}

.icon-only-btn:hover,
.icon-only-btn:focus,
.icon-only-btn:active {
    color: var(--purple);
    border: none;
    outline: none;
    box-shadow: none;
}

.btn-primary {
    background: #f28935 !important;
    color: #ffffff !important;
    border: #f28935;
}

.btn-secondary {
    color: white !important;
    background-color: #757575;
}

.btn-secondary:hover,
.btn-secondary:active {
    background-color: #545151;
    color: #ffffff !important;
    border-color: #a0aec0;
}

.btn-secondary:disabled {
    background-color: #edf2f7;
    color: #a0aec0;
    border-color: #e2e8f0;
    cursor: not-allowed;
    opacity: 0.7;
}

.btn-success {
    background-color: #28a745 !important;
    color: #ffffff;
    border: 1px solid #28a745 !important;
}

.btn-success:hover,
.btn-success:focus {
    background-color: #218838 !important;
    border-color: #1e7e34 !important;
}

.btn-green {
    background-color: var(--theme-green);
    color: #ffffff;
    border: 1px solid var(--theme-green);
    transition: all 0.3s ease;
}

.btn-green:hover,
.btn-green:focus {
    background-color: var(--theme-green);
    border-color: var(--theme-green);
    color: #ffffff;
}

.btn-fade {
    background-color: #f2f1f1;
    color: #2d2b2b;
    border: 1px solid #a2a0a0;
    transition: all 0.3s ease;
    outline: none;
}

.btn-fade:hover,
.btn-fade:focus {
    background-color: #f2f1f1;
    border: 1px solid #681868 !important;
    color: #681868;
}

.btn-fade:active {
    background-color: #e0dfe6;
    border-color: 1px solid #681868 !important;
    color: #681868;
    outline: none;
}

.btn-blue {
    background-color: #00acdc !important;
    color: #ffffff !important;
    border: #00acdc;
}

.btn-blue:hover {
    background-color: #04b3e4 !important;
    color: #ffffff !important;
    border: #00acdc;
}

.btn-blue:focus {
    background-color: #04b3e4 !important;
    color: #ffffff !important;
    border: #00acdc;
}

.btn-b-wu {
    color: #313030;
    text-decoration: none;
    /* padding: 0; */
    font-size: 14px;
    font-weight: 400;
    border: 1px solid #313030;
    padding: 2px 4px;
    border-radius: 4px;
}

.btn-bl-wu {
    text-decoration: none;
    color: rgb(13, 110, 253);
    padding: 0;
    border: 1px solid rgb(13, 110, 253);
    padding: 2px 4px;
}

.btn-outline-primary {
    color: var(--primary);
    text-decoration: none;
    border: 1px solid var(--primary);
    transition: all 0.3s ease;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
    background-color: var(--primary) !important;
    color: #ffffff;
    border: 1px solid var(--primary);
}

.btn-outline-dark {
    color: #313030;
    text-decoration: none;
    border: 1px solid #313030;
    transition: all 0.3s ease;
}

.btn-outline-dark:hover,
.btn-outline-dark:focus,
.btn-outline-dark:active {
    background-color: #313030 !important;
    color: #ffffff;
    border: 1px solid #313030;
}

.btn-purple {
    border: 1px solid var(--purple);
    background-color: #681868;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-purple:hover,
.btn-purple:focus,
.btn-purple:active {
    background-color: #681868;
    border: 1px solid var(--purple);
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
}

.btn-purple-outline {
    border: 1px solid #681868 !important;
    color: #681868;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-purple-outline:hover,
.btn-purple-outline:focus,
.btn-purple-outline:active {
    background-color: #681868;
    border: 1px solid #681868 !important;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
}

.remove-btn {
    background-color: transparent;
    border: 1px solid #a4a4a4;
    cursor: pointer;
}

.remove-btn:hover,
.remove-btn:focus {
    background-color: transparent;
    border: 1px solid #a4a4a4;
    cursor: pointer;
}

.btn-row-remove {
    background-color: transparent;
    border: 1px solid #a4a4a4;
    cursor: pointer;
}

.btn-row-remove:hover,
.btn-row-remove:focus,
.btn-row-remove:active {
    border: 1px solid rgb(194, 11, 11);
    color: rgb(227, 31, 31);
    /* color: #ffffff; */
    cursor: pointer;
}

.btn-b-wu:hover,
.btn-bl-wu:hover {
    text-decoration: underline;
}

.ai-gen-button {
    border: none;
    outline: none;
    color: #fff;
    background-color: #341801;
    cursor: pointer;
    position: relative;
    z-index: 0;
    border-radius: var(--border-radius);
    line-height: 1.9 !important;
}

.ai-gen-button:before {
    content: "";
    background: linear-gradient(
        45deg,
        #ff0000,
        #ff7300,
        #fffb00,
        #48ff00,
        #00ffd5,
        #002bff,
        #7a00ff,
        #ff00c8,
        #ff0000
    );
    position: absolute;
    top: -1px;
    left: -1px;
    background-size: 400%;
    z-index: -1;
    filter: blur(5px);
    width: calc(100% + 1px);
    height: calc(100% + 1px);
    animation: glowing 20s linear infinite;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
    border-radius: var(--border-radius);
}

.ai-gen-button:active,
.ai-gen-button:hover {
    color: #ffffff !important;
}

.ai-gen-button:active:after {
    background: transparent;
}

.ai-gen-button:hover:before {
    opacity: 1;
}

.ai-gen-button:after {
    z-index: -1;
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: #341801;
    left: 0;
    top: 0;
    border-radius: 10px;
}

@keyframes glowing {
    0% {
        background-position: 0 0;
    }
    50% {
        background-position: 400% 0;
    }
    100% {
        background-position: 0 0;
    }
}
/* Suggestion Button */
.suggestion-btn {
    background-color: #f5f5f5;
    color: #333;
    border: 1px solid #ccc;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    transition: background-color 0.3s ease;
}

.suggestion-btn:hover,
.suggestion-btn:focus {
    background-color: #e6e6e6;
    color: #000;
}

.nav-d-btn:focus {
    color: #681868;
    background-color: transparent;
}

.learn-more-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: #f8f9fa;
    border: 1px solid var(--border-color);
    font-size: 13px;
}

.learn-more-button:hover,
.learn-more-button:focus,
.learn-more-button:active {
    border: 1px solid var(--border-color);
    color: var(--purple);
}

@media (max-width: 991px) {
    .learn-more-button {
        background-color: #f8f9fa;
        border: none;
        border-radius: 10%;
        line-height: 1;
        width: 152px;
        height: 52px;
        font-size: 20px;
        -webkit-border-radius: 10%;
        -moz-border-radius: 10%;
        -ms-border-radius: 10%;
        -o-border-radius: 10%;
    }

    .learn-more-button:hover,
    .learn-more-button:focus,
    .learn-more-button:active {
        border: none;
        color: var(--purple);
    }
}
.toggle-icon-btn {
    font-size: 18px;
}
/* border only buttons =============== */

.icon-btn-border-delete {
    border: 1px solid var(--border-color);
    color: var(--text-color);
}

.icon-btn-border-delete:hover,
.icon-btn-border-delete:focus,
.icon-btn-border-delete:active {
    border: 1px solid #dc3545;
    color: #dc3545;
}

.btn-border-green,
.btn-border-green:hover,
.btn-border-green:focus {
    border: 1px solid #24a84c;
    color: #24a84c;
    background-color: transparent;
}

.btn-border-blue,
.btn-border-blue:hover,
.btn-border-blue:focus {
    border: 1px solid #007bff;
    color: #007bff;
    background-color: transparent;
}

.btn-border-danger,
.btn-border-danger:hover,
.btn-border-danger:focus {
    border: 1px solid #dc3545;
    color: #dc3545;
    background-color: transparent;
}

.btn-border-dark,
.btn-border-dark:hover,
.btn-border-dark:focus {
    border: 1px solid #2b2b2b;
    color: #2b2b2b;
    background-color: transparent;
}
.delete-fade-plan {
    border-radius: 50%;
    color: rgb(137, 9, 9);
    border: 1px solid rgb(137, 9, 9);
}

.delete-fade-plan:hover,
.delete-fade-plan:focus {
    border-radius: 50%;
    color: #fff;
    border: 1px solid rgb(137, 9, 9);
    background-color: rgb(137, 9, 9);
}

@media (max-width: 1399px) {
    .bdc-trigger {
        min-width: 246px;
    }
}
@media (max-width: 750px) {
    .bdc-trigger2 {
        width: 80%;
    }
}
@media (max-width: 505px) {
    .bdc-trigger2 {
        width: 100%;
    }
    .learn-more-button {
        width: 152px;
        height: 52px;
    }
}

/* =============================== button style end ==================================================================
==================================================================================
================================================================================== */
.btn-modal-close {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 28px;
    height: 28px;
    border: none;
    background-color: transparent;
    border-radius: var(--border-radius);
}

.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: blur(1px);
}
.modal-content {
    border-radius: 0.75rem;
    border: none;
}

.modal-body {
    padding-left: 24px;
    padding-right: 24px;
}
.modal-footer {
    padding-left: 24px;
    padding-right: 24px;
    padding-bottom: 20px;
}

.two-line-label {
    /* display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; */
    width: 100%;
    height: 48px;
    background-color: #f2f1f1;
    padding: 4px 8px;
    border-radius: 8px;
    /* text-overflow: ellipsis; */
}

.cursor-pointer:hover {
    cursor: pointer;
}

@media (max-width: 768px) {
    .two-line-label {
        height: none;
        -webkit-line-clamp: unset;
    }
}
@media (max-width: 768px) {
    .card-header {
        flex-direction: column !important; /* Override Bootstrap */
    }
}

.card .card-header {
    border-radius: var(--border-radius);
    overflow: hidden !important;
}

.card .card-body {
    padding: 24px;
}

.border {
    border: 1px solid var(--border-color) !important;
}

.border-af {
    border: 1px solid #afafaf;
}

.border-gray-300 {
    border: 1px solid #e3e3e3;
}
.border-gray-600 {
    border: 1px solid #a6a6a6;
}

.btn.border-gray-600 {
    border: 1px solid #a6a6a6;
    background-color: #fff !important;
}
.btn.border-gray-600:hover {
    border: 1px solid #a6a6a6;
    background-color: #fff !important;
}
.btn.border-gray-600:focus {
    border: 1px solid #a6a6a6;
    background-color: #fff !important;
}

/* Account box navbar start ------------------------------------------------------------------------------------- */
/* ------------------------------------------------------------------------------------------------------------------- */
.account-profile-ico {
    position: relative;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    background-color: #681868;
    color: #ffffff;
    cursor: pointer;
    text-decoration: none;
    user-select: none;
    border-radius: 99px;
}

.ac-box-custom-tooltip {
    position: absolute;
    top: 110%;
    right: 0;
    /* transform: translateX(-50%); */
    background-color: #2b2b2b;
    color: #fff;
    padding: 4px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
    white-space: pre-line;
    text-align: center;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
    min-width: 180px;
    max-width: 220px;
}

/* Tooltip arrow */
.ac-box-custom-tooltip::before {
    content: "";
    position: absolute;
    top: -6px;
    right: 0;
    /* transform: translateX(-50%); */
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent #2b2b2b transparent;
}

/* Show tooltip on hover */
.account-profile-ico:hover .ac-box-custom-tooltip {
    visibility: visible;
    opacity: 1;
}
/* Account box navbar end ------------------------------------------------------------------------------------- */
/* ------------------------------------------------------------------------------------------------------------------- */

.custom-element h3 {
    font-size: 18px;
    font-weight: 500;
    line-height: 23px;
    text-align: right;
}

.sub-navbar-ind {
    border-bottom: 1px solid rgb(232, 232, 232);
}

.body-content-area {
    min-height: calc(100vh - 150px);
}

.footer {
    margin-top: auto;
}

.page-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.body-content-area {
    flex: 1;
}

.visually-hidden {
    display: none;
}

.text-base {
    font-size: 16px !important;
}

.unclickable {
    pointer-events: none;
    color: gray;
    text-decoration: none;
    cursor: not-allowed;
}
.no-bullets {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.side-bar ul {
    margin: 0;
}

.nav-link .active {
    font-weight: bold;
    text-decoration: underline;
}

.custom-active {
    background-color: #681868;
    /* Change this to desired color */
}

.ind-le-side {
    border-right: 1px solid rgb(232, 232, 232);
}

/* .nav-link {
    color: #000 !important;
} */

.image-card {
    transition: ease 0.3s;
}

.image-card:hover {
    transform: scale(1.1);
}

.list-unstyled li {
    transition: ease 0.3s;
}

.list-unstyled li:hover {
    /* background-color: #681868; */
    /* transform: scale(1.1); */
    /* margin-right: 5px; */
}

.education-completed .form-check-input {
    height: 1rem !important;
    width: 1rem !important;
    margin-right: 8px;
}

.form-selection-bar {
    background-color: #f2f1f1;
    height: 65px;
    border-radius: 10px;
}

/* .navbar-right {
    gap: 30px;
} */

@media (max-width: 768px) {
    .account-box {
        right: 0;
        min-width: 240px;
    }

    .nav-collapse-btn {
        background-color: #dedada;
        border-radius: 10px;
        width: 42px;
        height: 42px;
    }
}

@media (max-width: 991.98px) {
    .offcanvas-body .sidebar {
        top: 0rem;
    }
}
@media (min-width: 768px) {
    p.text-base {
        font-size: 17px !important;
    }
}

.sub-nav {
    gap: 20px;
    font-size: 15px;
}

@media (max-width: 900px) {
    .sub-nav {
        gap: 28px;
        font-size: 14px;
    }

    .horizontal-scroll-sec {
        margin-top: -8px;
        margin-bottom: -5px;
    }

    .horizontal-scroll-sec::before {
        content: "←";
        font-size: 14px;
        color: #333;
    }

    .horizontal-scroll-sec::after {
        content: "→";
        font-size: 14px;
        color: #333;
    }

    .ind-le-side {
        border-right: none !important;
    }

    .horizontal-scroll {
        border-top: 1px solid rgba(185, 185, 185, 0.68);
        /* padding-left: 0px !important;
        padding-right: 0px !important;
        padding-top: 5px;
        padding-bottom: 5px; */
    }
}

.side-bar-po {
    position: sticky;
    top: 0;
    transition: all 0.3s ease;
}

.side-bar-po.sticky {
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* scroll start -------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------- */

.custom-scroll {
    overflow-y: scroll;
    max-height: 200px;
}

.custom-scroll::-webkit-scrollbar {
    width: 6px;
}

.custom-scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.custom-scroll::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 10px;
}

.custom-scroll::-webkit-scrollbar-thumb:hover {
    background-color: #555;
}

.custom-scroll {
    scrollbar-width: thin;
    scrollbar-color: #888 #f1f1f1;
}

.scroll-nav-area .nav-link {
    border: 1px solid #ffffff !important;
    border-radius: 14px !important;
    padding: 4px 12px;
    font-weight: 400;
    font-size: 13px;
}

.scroll-nav-area .nav-link:hover {
    border: 1px solid #681868 !important;
    text-decoration: none !important;
    font-weight: 400;
    color: #681868 !important;
    border-radius: 14px !important;
    padding: 4px 12px !important;
}

.scroll-nav-area .nav-link.active {
    border: 1px solid #681868 !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 500;
    color: #681868 !important;
    border-radius: 14px !important;
    padding: 4px 12px !important;
}

.scroll-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 1;
    padding: 1px;
    color: #681868;
    /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); */
}

.left-arrow {
    left: -15px;
}

.right-arrow {
    right: 0px;
}

@media (max-width: 1200px) {
    .right-arrow {
        right: -15px;
    }
}

.horizontal-scroll {
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.horizontal-scroll::-webkit-scrollbar {
    display: none;
}

/* scroll end -------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------- */
/* Default tooltip styling (medium - md size) */
.tooltip-inner {
    max-width: 300px;
    background-color: #ffffff;
    color: #262525;
    font-size: 14px;
    text-align: left;
    border: 1px solid var(--border-color);
    padding: 10px;
    border-radius: 4px;
}

/* Larger tooltip (lg size) */
.tooltip-inner.tooltip-lg {
    max-width: 400px;
    font-size: 14px;
    padding: 12px;
}

/* Extra-large tooltip (xl size) */
.tooltip-inner.tooltip-xl {
    max-width: 500px;
    font-size: 14px;
    padding: 12px;
}

/* Tooltip arrow color matching */
.tooltip-arrow::before {
    background-color: #ffffff;
    color: #ffffff;
    border: 1px solid var(--border-color);
}

.form-auth-control {
    border-color: rgb(176, 175, 175);
}

.card-header {
    border: none;
    padding: 2rem 1.5rem;
    background: transparent;
}

.select-plan {
    width: 100%;
    padding: 0.5rem 2rem;
    border-radius: 8px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.payment-wrap .card-pricing:hover {
    /* transform: translateY(-5px); */
}

.payment-wrap .selected-package {
    border: 2px solid purple !important;
    /* background-color: var() !important; */
}

.payment-wrap .triangle-label {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #17a2b8;
    padding: 0.5rem;
    transform: rotate(45deg) translate(25%, -50%);
    width: 100px;
    text-align: center;
}

.payment-wrap .input-field-payment {
    width: 100%;
    border: 1px solid #cacaca !important;
    height: 46px;
    align-items: center;
    padding: 12.5px 16px;
}

.payment-wrap .input-field-payment:focus {
    border: 1px solid purple !important;
}

.payment-wrap .form-control.is-invalid {
    border-color: #dc3545;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.strip-element {
    height: 46px !important;
}

@media (min-width: 992px) {
    .sticky-welcome {
        position: sticky;
        top: 0;
        height: 100vh;
    }

    .scroll-form {
        height: 100vh;
        overflow-y: auto;
        overflow-x: hidden;
    }
}

.swal2-popup {
    border-radius: var(--border-radius) !important;
    font-family: "Open Sans", serif !important;
}

.swal2-styled,
.swal2-content {
    border-radius: var(--border-radius) !important;
    font-size: 14px !important;
}

.swal2-styled:hover,
.swal2-styled:focus {
    box-shadow: none !important;
}

.swal2-cancel {
    background-color: #1a191900;
}

.popover {
    max-width: 450px !important;
    text-align: left;
    white-space: normal;
}

.ai-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    color: #fff;
}

.ai-loading-overlay .spinner-border {
    width: 3rem;
    height: 3rem;
}

.ai-loading-overlay p {
    font-size: 1.2rem;
    font-weight: bold;
}

.bg-editor {
    border: 1px solid #cecdcd;
    border-radius: 8px;
    padding: 5px;
    overflow: hidden;
}

.ck.ck-editor__main > .ck-editor__editable:not(.ck-focused) {
    border-bottom: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    border-top: 1px solid #c1bcbc;
    border-radius: 0px;
    min-height: 280px;
}

.ck.ck-content.ck-editor__editable.ck-rounded-corners.ck-editor__editable_inline.ck-focused {
    min-height: 280px;
    border: none;
    border-top: 1px solid #c1bcbc;
    box-shadow: none;
}

.ck.ck-editor__main > .ck-editor__editable:focus {
    border-bottom: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    border-top: 1px solid #c1bcbc;
    box-shadow: none !important;
    min-height: 280px;
}

.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-toolbar {
    border: none !important;
}

.auto-expand-textarea {
    width: 100%;
    background-color: transparent;
    min-height: 24px;
    font-size: 14px;
    line-height: 1.3;
    resize: none;
    overflow: hidden;
    font-family: inherit;
}

.genarater.input-container {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    border: 1px solid #80017b;
    border-radius: 8px;
    background-color: #f7f7f7;
    padding: 8px;
    width: 100%;
    margin: 20px 0 auto;
}

.genarater.input-container .textarea-wrapper {
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.genarater.input-container .auto-expand-textarea {
    width: 100%;
    background-color: transparent;
    min-height: 64px;
    padding: 0;
    font-size: 14px;
    line-height: 1.3;
    border: none;
    resize: none;
    outline: none;
    overflow: hidden;
    font-family: inherit;
    margin: auto 0;
    display: flex;
    vertical-align: middle;
    align-items: center;
}
.genarater.input-container small {
    display: none;
}
.genarater.input-container .auto-expand-textarea::placeholder {
    font-size: 14px;
    color: #5b5858;
    line-height: 1.3;
    vertical-align: middle;
}

.genarater.input-container .right-buttons {
    height: 100%;
    display: flex;
    align-items: end;
    gap: 8px;
}
.genarater.input-container .re-generate-button {
    background-color: #000;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.genarater.input-container .re-generate-button span {
    margin-right: 4px;
}

/* Hide scrollbar but keep functionality */
.genarater.input-container .auto-expand-textarea::-webkit-scrollbar {
    display: none;
}

/* Apply to all scrollable elements */
* {
    scrollbar-width: thin; /* For Firefox */
    scrollbar-color: #888 #f1f1f1; /* For Firefox (thumb color and track color) */
}

/* For Webkit browsers (Chrome, Safari, etc.) */
::-webkit-scrollbar {
    width: 8px; /* Set the width of the scrollbar */
}

::-webkit-scrollbar-track {
    background: #f1f1f1; /* Set the background color of the track */
}

::-webkit-scrollbar-thumb {
    background-color: #888; /* Set the thumb (scrollbar) color */
    border-radius: 10px; /* Optional: Add border-radius for rounded corners */
}

::-webkit-scrollbar-thumb:hover {
    background-color: #555; /* Hover state for the thumb */
}

/* x scroll  bar */

.scroll-x-container {
    overflow-x: auto;
    white-space: nowrap;
    width: 100%;
    padding-bottom: 10px;
    scrollbar-width: thin;
    scrollbar-color: #888 #f0f0f0;
}

.scroll-x-container::-webkit-scrollbar {
    border-radius: 5px;
    height: 10px;
}

.scroll-x-container::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 5px;
}

.scroll-x-container::-webkit-scrollbar-thumb {
    background-color: #666;
    border-radius: 5px;
    border: 2px solid #f0f0f0;
}

/* Scrollbar hover effect */
.scroll-x-container::-webkit-scrollbar-thumb:hover {
    background-color: #555;
    border-radius: 5px;
}

.modal-bottom {
    top: auto;
    bottom: 0%;
}
.modal-dialog-right {
    margin-right: 1.75rem;
}
.pagination-purple {
    gap: 0 6px !important;
}
.pagination-purple .page-link {
    background-color: transparent;
    color: #681868;
    border: 1px solid #5f2066;
    border-radius: 0.375rem;
    margin: 0 2px;
    transition: background-color 0.3s ease;
}

.pagination-purple .page-item.active .page-link,
.pagination-purple .page-link:hover {
    background-color: #681868;
    border-color: #5f2066;
    color: #fff;
}

.pagination-purple .page-item.active .page-link,
.pagination-purple .page-link:focus {
    background-color: #681868;
    border-color: #5f2066;
    box-shadow: none;
}

.pagination-purple .page-item.disabled .page-link {
    background-color: #f4f4f4;
    border-color: #c2c2c2;
    color: #6c757d;
    pointer-events: none;
}
