/* Variables */
:root {
    --black: #1A1A1A;
    --purple: #9643DB;
    --purple-rgb: 150, 67, 219;
    --dark-purple: #8036bd;
    --light-purple: #E0C3FC;
    --white: #FFF;
    --silver: #A5A5A5;
    --grey: #d4d4d4;
    --light-grey: #F2F2F2;
    --error-red: #dc3545;
    --success-green: #198754;
    --font-signika: Signika Negative, sans-serif;
    --font-jost: Jost, sans-serif;
}

input:focus, 
select:focus, 
textarea:focus {
    border-color: var(--purple) !important;
    box-shadow: 0 0 0 0.12rem rgba(var(--purple-rgb), 0.25) !important;
}

input[type="checkbox"] + label,
input[type="radio"] + label {
    user-select: none;
}

input[type="checkbox"],
input[type="radio"] {
    cursor: pointer;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden; 
}

body {
    font-family: 'Jost', sans-serif;
    background-color: #FFFFFA;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Signika Negative', sans-serif;
    font-weight: 600;
    color: #1A1A1A;
}

button {
    font-family: 'Signika Negative', sans-serif !important;
}

a {
    color: #9643DB;
    transition: all ease-in-out .3s;
}

a:hover {
    color: #5f0ea1 !important;
}

.ff-signika {
    font-family: 'Signika Negative', sans-serif;
}

.ff-jost {
    font-family: 'Jost', sans-serif;
}

/* Custom styles for sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow-y: auto;
    background-color: #FFFFFA;
    box-shadow: 0px 0px 20px 0px rgba(26,26,26,0.1);
}

.sidebar-logo {
    padding: 5px;
    text-align: center;
}

.sidebar-logo img {
    max-height: 60px;
    margin-top: 10px;
}

.nav-item:not(:last-child) {
    border-bottom: 2px solid #ececec;
}

.nav .nav-link {
    color: #1A1A1A; 
    padding: 10px 15px;
    font-family: 'Signika Negative', sans-serif;
    white-space: nowrap;
}

.nav .nav-link:hover {
    color: #9643db !important;
    background-color: rgba(224, 195, 252, .2);
    transition: all ease-in-out .3s !important;
    font-weight: 500;
}

.nav-link-active {
    color: #9643db !important;
    background-color: rgba(224, 195, 252, .3) !important;
    transition: all ease-in-out .3s !important;
    font-weight: 500;
}

.nav-link.nav-link-purple {
    background-color: rgba(150, 67, 219, .05) !important;
}
.nav-link.nav-link-purple:hover,
.nav-link.nav-link-purple.nav-link-active {
    background-color: rgba(128, 54, 189, .05) !important;
}

.nav-link-icon {
    height: 22px;
    width: 22px;
}

.bottom-links .nav-link {
    border: none;
    color: #1A1A1A; 
    padding: 5px 15px;
}

.bottom-links .nav-link:hover {
    color: #9643db !important;
    text-decoration: underline;
}

.bottom-links {
    padding: 30px 0 20px;
}

.offcanvas-start {
    width: 250px;
}

@media (min-width: 992px) {
    .sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: 275px;
        z-index: 999;
    }

    #sidebar-wordmark {
        padding: 5px;
    }

    main {
        margin-left: 275px;
        max-width: calc(100% - 275px);
    } 
    
    .sidebar-minimized-enabled .sidebar {
        width: 50px;
        transition: all ease-in-out .15s;
    }

    .sidebar-minimized-enabled .sidebar:hover {
        width: 275px;
    }

    .sidebar-minimized-enabled .nav-link-text,
    .sidebar-minimized-enabled .bottom-links {
        display: none;
    }

    .sidebar-minimized-enabled #sidebar-wordmark {
        display: none;
        transition: all ease-in-out .3s;
    }

    .sidebar-minimized-enabled #sidebar-w {
        display: block;
        height: 60px;
        width: 40px;
        transition: all ease-in-out .3s;
    }
    
    .sidebar-minimized-enabled .sidebar:hover .nav-link-text,
    .sidebar-minimized-enabled .sidebar:hover .bottom-links {
        display: inline;
    }

    .sidebar-minimized-enabled .sidebar:hover #sidebar-wordmark {
        display: block;
    }

    .sidebar-minimized-enabled .sidebar:hover #sidebar-w {
        display: none;
    }

    .sidebar-minimized-enabled main {
        margin-left: 50px;
        max-width: calc(100% - 50px);
    }
}

main {
    padding: 0 !important;
}

main.webview {
    margin-left: 0 !important;
}

.mobile-top-spacer {
    height: 52px;
}

.mobile-topbar {
    position: fixed;
    z-index: 999;
    background: #FFFFFA;
    width: 100%;
    height: 52px;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #1A1A1A;
    top: 0;
}

.btn-open-sidebar {
    color: #1A1A1A;
    font-size: 1.5rem;
    padding: 0px;
}

.topbar-logo {
    max-height: 40px;
    padding-top: 5px;
}


/* Main content */
.page-header {
    display: block;
    border-bottom: 1.5px solid #9643DB;
    padding-bottom: 0.25rem;
}


/* Business Auth Form */
.business-auth-form {
    padding: 20px 20px 30px;
    background-color: rgba(150, 67, 219, .3);
    border-radius: 30px;
    max-width: 500px;
}

.business-lg-auth-form {
    padding: 20px 20px 30px;
    background-color: rgba(150, 67, 219, .3);
    border-radius: 30px;
    max-width: 1000px;
}

.business-auth-label {
    font-weight: 500;
}

.business-auth-field {
    width: 100%;
    padding: 10px 15px;
    border: none;
    border-radius: 15px;
    background-color: #FFFFFA;
}

.business-auth-field:disabled {
    background-color: #d7d7d7;
}

a.btn-business-submit,
button.btn-business-submit,
a.btn-business-delete,
button.btn-business-delete,
a.btn-business-back,
button.btn-business-back {
    display: block;
    max-width: fit-content;
    text-decoration: none;
}

.btn-business-submit {
    border: none;
    padding: 8px 35px;
    background-color: #9643DB;
    border-radius: 15px;
    color: #FFFFFA;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    transition: all ease-in-out .3s;
    font-weight: 500 !important;
}

.btn-business-back {
    border: 2px solid #9643DB;
    padding: 8px 35px;
    background-color: transparent;
    border-radius: 15px;
    color: #9643DB;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    transition: all ease-in-out .3s;
    font-weight: 500 !important;
}

.btn-outline {
    border: 2.5px solid var(--purple);
    background-color: var(--white) !important;
    color: var(--black) !important;
}

.btn-outline:disabled {
    background-color: #f5f5f5 !important;
    border-color: #d2d2d2 !important;
    color: #888888 !important;
}

a.btn-business-submit:hover,
a.btn-business-delete:hover {
    color: #FFFFFA !important;
}

a.btn-business-submit.btn-outline {
    color: var(--black) !important;
}

.btn-business-submit:disabled {
    background-color: #d7d7d7;
    color: #1A1A1A;
}

.btn-business-submit:hover {
    background-color: var(--dark-purple);
}

.btn-business-delete:hover {
    background-color: #c92a3a;
}

.btn-business-submit:hover:not([disabled]),
.btn-business-delete:hover:not([disabled]) {
    transform: scale(1.01);
    box-shadow: rgba(0, 0, 0, 0.3) 0px 2px 8px 0px;
}


a.btn-business-delete:hover {
    color: var(--white) !important;
}

.btn-delete-outline {
    background-color: var(--white) !important;
    border: 2.5px solid #dc3545 !important;
    color: var(--black) !important;
}

.btn-delete-outline:hover {
    border-color: #c92a3a !important;
    color: var(--black) !important;
}

.btn-outline:hover {
    background-color: var(--white);
}

a.btn-outline:hover {
    color: var(--black) !important;
}

.btn-business-delete {
    border: none;
    padding: 8px 35px;
    background-color: #dc3545;
    border-radius: 15px;
    color: #FFFFFA;
    transition: all ease-in-out .3s;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

.btn-business-submit:disabled,
.btn-business-delete:disabled {
    background-color: #d2d2d2 !important;
    color: #888888 !important;
}

a.btn-welapy {
    display: block;
    max-width: fit-content;
    text-decoration: none;
}

.btn-welapy {
    border: none;
    padding: 8px 35px;
    border-radius: 15px;
    transition: all ease-in-out .3s;
}

.btn-welapy:hover {
    transform: scale(1.03);
}

.btn-grey {
    background-color: #A5A5A5;
    color: #FFFFFA;
}

.btn-red {
    background-color: #dc3545;
    color: #FFFFFA;
}

.btn-red:hover {
    color: #FFFFFA !important;
    background-color: #c92a3a !important;
}

.business-form-error {
    color: #dc3545;
    font-weight: 500;
}

.business-form-success {
    color: #198754;
    font-weight: 500;
}

.business-form-error ul {
    margin: 0;
}

.business-auth-label {
    font-size: 0.9rem;
}

.form-switch input {
    width: 45px !important; 
    height: 25px !important;
}

.form-check-input:checked {
    background-color: #9643DB !important;
    border-color: #9643DB !important;
}

.form-check-input:focus,
.form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(150, 67, 219, .2);
}

.h-max {
    height: max-content;
}

.complete-business {
    text-decoration: none;
    color: #dc3545;
    border: 2.5px solid #dc3545;
    border-radius: 25px;
    padding: 10px;
    margin: 10px;
    font-weight: 500;
}

.nav-link.nav-link-red {
    color: #dc3545;
    background-color: rgba(220, 53, 69, .075);
}

.nav-link.nav-link-blue {
    color: #5D66DB;
    background-color: rgba(93, 102, 219, .075);
}

#services-list a:not(.btn-business-submit):hover,
.blocked-times-list a:hover {
    color: #1A1A1A !important;
}

#services-list a:hover,
.blocked-times-list a:hover {
    transform: scale(1.01);
}

.color-purple {
    color: #9643DB !important;
}

.color-silver {
    color: var(--silver) !important;
}

.color-black {
    color: #1A1A1A !important;
}

.color-error {
    color: var(--error-red) !important;
}

a.color-error:hover {
    color: #b70a1b !important;
}

.delete-provider {
    border: 0;
    color: #dc3545;
    font-weight: 500;
    background-color: transparent;
    text-decoration: underline;
    transition: all ease-in-out .3s;
}

.delete-provider:hover {
    transform: scale(1.03);
}

.w-max {
    max-width: max-content;
}

.w-100,
.w-full {
    width: 100%;
}

.h-85vh {
    height: 85vh;
}

#selectedCloudinaryImageContainer img {
    width: 100%;
    aspect-ratio: 3/2;
    object-fit: cover;
}

@media screen and (min-width: 992px) {
    #selectedCloudinaryImageContainer {
        display: flex;
        align-items: center;
    }

    #selectedCloudinaryImageContainer {
        width: 75%;
        margin: 0 auto;
    }

    .main-image-placeholder {
        width: 75%;
   }
}

.time-block-form {
    border-bottom: 1px solid #1A1A1A;
}

.remove-form-btn {
    color: #dc3545;
    text-decoration: underline;
    border: none;
    background-color: transparent;
}

.time-block-form > div {
    display: flex;
    flex-direction: column;
}

.business-navigation-form {
    padding: 20px;
    background-color: rgba(150, 67, 219, .3);
    border-radius: 30px;
    max-width: 500px;
    text-decoration: none;
    color: #1A1A1A;
}

.business-navigation-form:hover {
    color: #1A1A1A !important;
    transform: scale(1.01);
}

.notification-badge {
    top: -2px !important;
    left: calc(100% + 10px) !important;
}

.navbar-badge {
    top: 5px !important;
    left: calc(100% - 2px) !important;
}

.offcanvas {
    max-width: 90vw;
}

.inline-checkbox-input label {
    user-select: none;
    cursor: pointer;
}

.inline-checkbox-input input[type='checkbox'] {
    cursor: pointer;
}

.lh-0-5 {
    line-height: 0.5;
}

.floating-lg-form {
    padding: .8rem .5rem;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    border: 1.5px solid rgb(150, 67, 219, 1);
    border-radius: 20px;
    max-width: 1080px;
    width: 100%;
}

.provider-form {
    width: 100%;
    max-width: 540px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    border: 1.5px solid rgb(150, 67, 219, 1);
    border-radius: 16px;
    padding: 10px;
}

.provider-form-lg {
    padding: .8rem .5rem;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    border: 1.5px solid rgb(150, 67, 219, 1);
    border-radius: 20px;
    max-width: 1080px;
    width: 100%;
}

.multi-line-select {
    white-space: normal !important;
    height: max-content !important;
}

.inner-form {
    max-width: 540px;
}

.inner-form-lg {
    max-width: 1080px;
}

.disabled-white input,
.disabled-white label::after {
    background-color: #fff !important;
}

.fs-7 {
    font-size: 0.9rem;
}

.fs-5-5 {
    font-size: 1.125rem !important;
}

.fs-4-5 {
    font-size: 1.325rem;
}

/* Success Modal Style */
.modal-content.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* Error Modal Style */
.modal-content.alert-error, .modal-content.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Warning Modal Style */
.modal-content.alert-warning {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

/* Info Modal Style */
.modal-content.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.current-url:hover {
    text-decoration: underline !important;
}

.cursor-pointer {
    cursor: pointer;
}

.cursor-default {
    cursor: default;
}

.alert-error {
    --bs-alert-color: var(--bs-danger-text-emphasis);
    --bs-alert-bg: var(--bs-danger-bg-subtle);
    --bs-alert-border-color: var(--bs-danger-border-subtle);
    --bs-alert-link-color: var(--bs-danger-text-emphasis);
}

/* Custom button class */
.btn-purple {
    display: inline-block;
    font-weight: 400;
    color: var(--white);
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    user-select: none;
    background-color: var(--purple);
    border: 1px solid transparent;
    padding: .2rem .8rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .375rem;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out, transform .3s ease-in-out;
}

.btn-purple:hover {
    color: var(--white);
    background-color: var(--dark-purple);
    border-color: var(--dark-purple);
    transform: scale(1.01);
}

a.btn-purple:hover {
    color: var(--white) !important;
}

.btn-purple:active {
    color: var(--white) !important;
    background-color: var(--dark-purple) !important;
    border-color: var(--dark-purple) !important;
}

.border-red {
    border: 1px solid var(--error-red);
    border-radius: 10px;
}

.border-green {
    border: 1px solid var(--success-green);
    border-radius: 10px;
}

.remove-btn{
    position: absolute;
    top: 3px;
    right: 3px;
    background-color: rgba(255, 255, 255, .9);
    padding: .3em;
    border-radius: 50px;
    font-size: 15px;
    transition: all ease-in-out .2s;
    box-shadow: none !important;
}

.flex-basis-50 {
    flex-basis: 50%;
}

.text-number::-webkit-inner-spin-button,
.text-number::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.text-number {
    appearance: textfield;
  -moz-appearance: textfield;
}

.logo-sizer {
    max-height: 220px;
    max-width: 90%;
    object-fit: contain;
    aspect-ratio: 1/1;
    margin-left: auto;
    margin-right: auto;
}

.logo-sizer img {
    position: relative;
    max-height: 100% !important;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
    left: 50%;
    transform: translateX(-50%);
}

.img-placeholder {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    padding: 10px;
    border-radius: 10px;
    object-fit: contain;
    background-color: var(--light-grey);
    color: var(--black);
    cursor: pointer;
    font-weight: 500;
    font-size: 1.1rem;
}

.main-image-placeholder {
    height: auto;
    aspect-ratio: 3 / 2;
}

.logo-placeholder {
    max-height: 220px;
    height: 220px;
    width: auto;
    aspect-ratio: 1 / 1;
}

.square-18px {
    width: 18px;
    height: 18px;
}

.guide-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.35);
    z-index: 9999;
}

.guide-box {
    display: flex;
    flex-direction: column;
    position: absolute;
    bottom: -0.3rem;
    left: .5rem;
    transform: translateY(100%);
    width: max-content;
    background-color: var(--white);
    border: 3px solid var(--purple);
    z-index: 10000;
    padding: .5rem 1rem;
    border-radius: 15px;
    font-size: 1.095rem;
    max-width: 100%;
}

.guide-box-right {
    right: .5rem;
    left: auto;

}

.guide-box-lg {
    max-width: 80vw;
}

@media screen and (min-width: 992px) {
    .guide-box-lg {
        max-width: 60vw;
    }
}

.guide-box::after {
    content: '';
    position: absolute;
    top: -20px;
    left: 30px;
    width: 10px;
    height: 15px;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 20px solid var(--purple);
}

.guide-box-right::after {
    left: auto;
    right: 30px;
}

.active-guide {
    padding: .65rem;
    background-color: var(--white);
    border: 2px solid var(--purple);
    border-radius: 15px;
    z-index: 10000;
}

.z-index-10001 {
    z-index: 10001;
}

.z-index-10002 {
    z-index: 10002;
}

.min-h-full {
    min-height: 100vh;
}

.toast-style {
    background-color: var(--purple);
    color: var(--white);
    transition: all ease-in-out .3s;
    font-family: var(--font-jost);
    font-weight: 500;
}

.toast-style a {
    color: var(--white);
    text-decoration: none;
}

.toast-style a:hover {
    color: var(--white) !important;
}

.toast-style:hover {
    background-color: var(--dark-purple);
    transform: scale(1.005);
    color: var(--white);
}

.reservation-system-sale {
    border: 1.5px solid var(--purple);
    border-radius: 10px;
    padding: .6rem .6rem 1rem;
    height: max-content;
}

@media screen and (min-width: 1200px) {
    .full-form-width {
        width: 100vw;
    }
}

.start-guide {
    background-color: rgba(150, 67, 219, .95);
    color: var(--white);
    transition: all ease-in-out .3s;
}

.start-guide:hover {
    background-color: var(--dark-purple);
}

.start-guide a {
    color: var(--white);
    text-decoration: none;
}

.start-guide a:hover {
    color: var(--white) !important;
}

.start-guide .btn-close {
    color: var(--white) !important;
}

.start-guide .hide-toast {
    color: var(--white) !important;
    background-color: transparent !important;
    border: none !important;
    opacity: .8;
    transition: all ease-in-out .3s;
}

.start-guide .hide-toast:hover {
    opacity: 1;
}

.start-guide .hide-toast i {
    height: 1.6rem;
    font-size: 1.2rem;
    display: block;
}

.end-guide {
    top: 0;
    right: 0;
}

@media screen and (min-width: 992px) {
    .end-guide {
        top: auto;
        bottom: 0;
        right: 0;
    }
}

.tooltip {
    z-index: 10001;
}
