:root {
    --font-family-sans-serif: Nunito, sans-serif, "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !important;
}

html,
body {
    max-width: 100% !important;
    font-family: var(--font-family-sans-serif);
}

@media (min-width: 769px) {
    body:not(.sidebar-collapse) .pushmenu-toggle {
        display: none !important;
    }
}

#sidebar-overlay {
    background-color: rgba(0, 0, 0, 0.5) !important;
}

.sidebar-text {
    font-weight: 400;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -webkit-box-direction: normal;
    font-family: var(--font-family-sans-serif);
    color: #555555 !important;
    margin: 0;
    white-space: normal;
    transition: margin-left .3s linear, opacity .3s ease, visibility .3s ease;
    font-size: 15px !important;
}

.sidebar-text-font {
    font-family: var(--font-family-sans-serif);
    white-space: normal;
    transition: margin-left .3s linear, opacity .3s ease, visibility .3s ease;
    color: #555555 !important;
}

.nav-sidebar .nav-item > .nav-link {
    margin-bottom: 0 !important;
    padding-left: 12px !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    padding-right: 0;
    width: 100%;
    font-family: var(--font-family-sans-serif);
    color: #555555 !important;
}

.sidebar-dark-primary .nav-sidebar > .nav-item > .nav-link.active,
.sidebar-light-primary .nav-sidebar > .nav-item > .nav-link.active {
    border-left: 4px solid #006AFF !important;
    color: #006AFF !important;
}

.my-navbar-item {
    font-family: var(--font-family-sans-serif);
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #555555 !important;
}

@media (max-width: 1200px) {
    .my-navbar-item .nav-link {
        padding-left: 8px !important;
        padding-right: 8px !important;
        font-size: 14px !important;
        font-weight: 400 !important;
    }
}

@media (max-width: 992px) {
    .my-navbar-item .nav-link {
        padding-left: 5px !important;
        padding-right: 5px !important;
        font-size: 12px !important;
        font-weight: 300 !important;
    }
}

@media (max-width: 768px) {
    .vicp-wrap {
        width: 100% !important;
        height: 80% !important;
    }
}

.btn-login {
    background-color: #006AFF !important;
    font-family: 'Helvetica Neue', sans-serif !important;
    font-size: 16px;
    padding: 7px 20px;
    color: white !important;
}

.btn-login:active, .btn-login:hover {
    background-color: #FF5A5F !important;
    color: #ffffff !important;
}

.btn-login-red {
    background-color: #FF5A5F !important;
    font-family: 'Helvetica Neue', sans-serif !important;
    font-size: 16px;
    padding: 7px 20px;
    color: white !important;
}

.btn-login-red:hover {
    background-color: #006AFF !important;
    color: #ffffff !important;
}

.btn-login-style {
    font-family: 'Helvetica Neue', sans-serif !important;
    font-size: 16px;
    padding: 7px 20px;
}

.btn-login-sm {
    padding: 5px 20px !important;
    font-size: 14px !important;
}

.btn-partial,
.text-partial {
    font-family: 'Helvetica Neue', sans-serif !important;
    font-size: 16px !important;
}

.btn-partial {
    background-color: #ffffff !important;
    padding: 7px 20px;
    margin-bottom: 12px;
    border: 1px solid #dae0e5;
    color: #555555;
}

.btn-partial-auth {
    background-color: #ffffff !important;
    font-family: 'Helvetica Neue', sans-serif !important;
    font-size: 16px !important;
    padding: 7px 20px;
    color: #555555;
    margin-bottom: 12px;
    border: 1px solid #FF5A5F;
}

@media (min-width: 768px) {
    .text-partial:hover {
        font-weight: 700;
    }

    .btn-partial:hover {
        color: #212529;
        border-color: #006AFF;
        font-weight: bolder;
        background-color: #e2e6ea;
    }

    .btn-partial-auth:hover {
        color: #212529;
        background-color: #e2e6ea;
        border-color: #FF5A5F;
        font-weight: bolder;
    }
}

.text-counter {
    color: #c7c7c7 !important;
}

.tox .tox-statusbar__wordcount {
    color: #c7c7c7 !important;
}

/******************** Sweet alert ***************************/

.swal2-deny, .swal-button--deny {
    background-color: #555555 !important;
    font-family: 'Helvetica Neue', sans-serif !important;
    font-size: 16px !important;
    padding: 7px 20px !important;
    color: white !important;
}

.swal2-deny:hover, .swal-button--deny:hover {
    color: #ffffff !important;
    background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)) !important;
    font-size: 16px !important;
}

.swal2-confirm, .swal-button--confirm {
    background-color: #006AFF !important;
    font-family: 'Helvetica Neue', sans-serif !important;
    font-size: 16px !important;
    padding: 7px 20px !important;
    color: white !important;
}

.swal2-confirm:hover, .swal-button--confirm:hover {
    color: #ffffff !important;
    background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)) !important;
    font-size: 16px !important;
}

.swal2-cancel, .swal-button--cancel {
    background-color: #FF5A5F !important;
    font-family: 'Helvetica Neue', sans-serif !important;
    font-size: 16px !important;
    padding: 7px 20px !important;
    color: white !important;
}

.swal2-cancel:hover, .swal-button--cancel:hover {
    color: #ffffff !important;
    background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)) !important;
    font-size: 16px !important;
}

.swal2-popup {
    width: 25em !important;
}

.swal-footer {
    text-align: center !important;
}

.swal2-icon {
    margin: 1.5em auto .6em !important;
}

.swal2-title {
    padding-top: 0 !important;
    margin-top: -25px !important;
    font-size: 18px !important;
    font-family: 'Helvetica Neue', sans-serif !important;
    font-weight: 900 !important;
}

.swal2-html-container {
    font-size: 15px !important;
    font-family: 'Helvetica Neue', sans-serif !important;
}

/******************** Others ***************************/

.partial-card {
    min-height: 85vh;

    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    text-align: left;
    font-family: var(--font-family-sans-serif);
    -webkit-font-smoothing: antialiased;
    color: #1f2d3d !important;
    box-sizing: border-box;
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-clip: border-box;
    border: none;
    border-radius: .25rem;
    box-shadow: none;
}

.partial-card-no-flex {
    min-height: 90vh;

    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    text-align: left;
    font-family: var(--font-family-sans-serif);
    -webkit-font-smoothing: antialiased;
    color: #1f2d3d !important;
    box-sizing: border-box;
    position: relative;
    min-width: 0;
    word-wrap: break-word;
    background-clip: border-box;
    border: 0 solid rgba(0, 0, 0, .125) !important;
    border-radius: .25rem;
    box-shadow: 0 0 1px rgba(0, 0, 0, .125), 0 1px 3px rgba(0, 0, 0, .2) !important;
}

.fixed-my-top {
    position: sticky;
    top: 57px;
    background-color: white;
    z-index: 10;
    padding: 10px 0;
    opacity: 0.99;
}

.fixed-my-bottom {
    position: fixed;
    position: -ms-device-fixed;
    bottom: 10px;
    z-index: 10;
    opacity: 0.99;
    width: 100%;
}

.text-sidebar {
    font-family: var(--font-family-sans-serif);
    font-size: 15px !important;
    color: #000000 !important;
}

.text-main {
    font-family: var(--font-family-sans-serif);
}

.center-box {
    font-size: 16px !important;
    top: 15px !important;
    left: 60px;
    right: 60px;
    /*border: 1px solid black;*/
    text-align: center;
    position: absolute;
}

.alert {
    font-family: var(--font-family-sans-serif);
    font-weight: normal !important;
}

.blur {
    -webkit-filter: blur(5px);
    -moz-filter: blur(5px);
    -o-filter: blur(5px);
    -ms-filter: blur(5px);
    filter: blur(5px);
    background-color: #ccc;
    pointer-events: none !important;
}

/******************** Prices ***************************/

.hstack {
    display: flex;
    flex-direction: row;
    align-items: center;
    align-self: stretch;
}

.vstack {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-self: stretch;
}

.package-card {
    border: 1px solid rgb(218, 222, 224) !important;
    transition: all 0.2s ease-out 0s !important;
    cursor: pointer !important;
    box-shadow: none !important;
    height: 100% !important;
}

.package-card:hover {
    transform: translateY(-0.1875rem);
    -webkit-box-shadow: 0 0 3px #006AFF !important;
    box-shadow: 0 0 3px #006AFF !important;
}

.package-card .card-header {
    border-bottom: 0 !important;
    padding: 15px !important;
    /*height: 50% !important;*/
    min-height: 110px;
}

.package-card .card-body {
    /*background-color: lightcyan !important;*/
    /*height: 100% !important;*/
    padding: 15px !important;
}

.package-card .card-footer {
    text-align: center !important;
    background-color: transparent !important;
    padding: 15px !important;
}

.package-card .package-name {
    font-family: var(--font-family-sans-serif);
    font-size: 18px !important;

    /*font-size: 28px !important;*/
    /*font-family: Karla, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", Oxygen, Cantarell, sans-serif !important;*/

    font-weight: 600 !important;
    /*line-height: 1.2 !important;*/
    /*letter-spacing: calc(-1.5px) !important;*/
    text-transform: capitalize !important;
    white-space: initial;
}

.package-card .card-button {
    /* margin-top: 12px; */
    background-color: rgba(255, 47, 0, 255);
    position: relative;
    text-transform: uppercase;
    font-family: 'Helvetica Neue', sans-serif !important;
    font-size: 16px;
    padding: 7px 20px;
    color: white !important;
}

.package-card .package-subheader {
    font-size: 14px !important;
    font-family: Karla, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", Oxygen, Cantarell, sans-serif !important;
    margin-bottom: 0 !important;
    font-weight: bold !important;
    letter-spacing: -0.28px !important;
}

.package-card .list-unstyled {
    padding-left: 20px !important;
}

.package-card .package-prices li,
.package-card .package-prices-no li {
    padding-bottom: 8px;
    font-family: Karla, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", Oxygen, Cantarell, sans-serif !important;
    white-space: normal;
}

.package-card .package-prices > li::before {
    content: "\2713";
    color: #2fac66;
    font-weight: bold;
    display: inline-block;
    width: 25px;
    margin-left: -25px;
}

.package-card .package-prices-no > li::before {
    content: "\2715";
    color: #FF5A5F;
    font-weight: 900 !important;
    display: inline-block;
    width: 25px;
    margin-left: -25px;
    font-size: 17px !important;
}

/******************** Full page Modal ***************************/
.modal-full {
    min-width: 100%;
    max-width: 100%;
    width: 100%;
    height: 100%;
    margin: 0;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    padding: 0 !important;
}

.modal-full .modal-dialog {
    min-width: 100%;
    max-width: 100%;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.modal-full .modal-content {
    height: 100%;
    width: 100%;
    border: 0;
    border-radius: 0 !important;
}

.modal-full .modal-body {
    height: calc(100% - 55px); /* 55px is the height of the modal header & footer */
    width: 100%;
    overflow-y: hidden;
}

/******************** Go to Preview Mobile ***************************/
.rowPreviewWebsite {
    position: fixed;
    top: 50px;
    left: 0;
    right: 0;
    padding: 5px 20px;
    background-color: white;
    transition: background 0.3s;
    z-index: 9;
}

.rowPreviewWebsite + .rowPreviewWebsitePage {
    margin-top: 40px; /* Apply margin when .rowPreviewWebsite exists */
}

/******************** Loading component spinner ***************************/
.loading-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1050;

    .loading-modal-content {
        background-color: white;
        padding: 2rem;
        border-radius: 8px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        text-align: center;
    }

    .loading-message {
        font-size: 1.2rem;
        margin-top: 1rem;
        color: #333;
    }
}

.custom-spinner {
    width: 50px;
    height: 50px;
    animation: spinner-rotate 2s linear infinite;
    margin-bottom: 1rem;
}

.custom-spinner circle {
    fill: none;
    stroke: #3490dc;
    stroke-width: 3;
    stroke-dasharray: 150, 200;
    stroke-dashoffset: -10;
    stroke-linecap: round;
    animation: spinner-dash 1.5s ease-in-out infinite;
}

@keyframes spinner-rotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes spinner-dash {
    0% {
        stroke-dasharray: 1, 200;
        stroke-dashoffset: 0;
    }
    50% {
        stroke-dasharray: 89, 200;
        stroke-dashoffset: -35;
    }
    100% {
        stroke-dasharray: 89, 200;
        stroke-dashoffset: -124;
    }
}
