@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');

body {
    font-family: "Inter", sans-serif;
    min-height: calc(100vh - 120px);
    position: relative;
    padding-bottom: 120px;
}

.bg-home {
    background: url("../images/home.png") no-repeat fixed center;
    background-size: cover;
    /* height: 100vh; */
}

.logo-brand {
    max-width: 180px;
    margin: 0 auto 25px;
}

.menu-layout {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}


.nav-sidebar ul {
    list-style: none;
    padding-left: 0;
}

.nav-sidebar ul li a:link,
.nav-sidebar ul li a:visited {
    display: block;
    color: #d8d8d8;
    text-decoration: none;

    padding: 16px 10px;

}


.nav-sidebar ul li a.active {
    color: #F58BA1;
}

.card-menu:link,
.card-menu:visited {
    border-radius: 10px;
    /* max-width: 150px; */
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    position: relative;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;

}

.card-menu.menu-1 {
    background: url("../images/menu1.png") no-repeat center;
    background-size: cover;
}

.card-menu.menu-2 {
    background: url("../images/menu2.png") no-repeat center;
    background-size: cover;
}

.card-menu.menu-3 {
    background: url("../images/menu3.png") no-repeat center;
    background-size: cover;
}

.card-menu.menu-4 {
    background: url("../images/menu4.png") no-repeat center;
    background-size: cover;
}

.card-menu::after {
    content: '';
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;


    background-color: rgba(0, 0, 0, 0.5);
}

.card-menu::before {
    content: '';
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;


    background-color: rgba(245, 139, 161, 0.2);
}

.menu-content {
    z-index: 5;
    color: #fff;
}


.menu-icon {
    width: 50px;
    height: 100%;
    margin: 0 auto;
}


.nav-fix-bottom {
    position: fixed;
    left: 0;
    bottom: 0;

    border-top-left-radius: 50px;
    border-top-right-radius: 50px;

    width: 100%;
    padding: 20px;
    background: url("../images/boottom.png") no-repeat center;
    background-size: cover;
    z-index: 999;
}

.nav-fix-bottom ul {
    display: flex;
    align-items: center;
    justify-content: space-between;

    list-style: none;
    margin: 0;
    padding-left: 0;
}

.nav-fix-bottom ul li a:link,
.nav-fix-bottom ul li a:visited {
    color: #fff;
    text-decoration: none;
}

.nav-menu-icon {
    text-align: center;
    margin-bottom: 5px;
    width: fit-content;
    margin: 0 auto;
}

.nav-menu-icon img {
    height: 40px;
    width: auto;
}

.nav-menu-icon {
    position: relative;
    z-index: 10;
    color: #fff;
}

.nav-menu-icon .noti {
    position: absolute;
    right: -20%;
    top: 0;

    width: 25px;
    height: 25px;
    border-radius: 50%;

    background-color: #FF0000;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #fff;
    font-size: 14px;
}

.noti-list {
    display: flex;
    flex-direction: column;
}

.noti-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;

    padding: 20px 0;
}

.noti-list-item:not(:last-of-type) {
    border-bottom: 1px solid rgba(245, 139, 161, .2);
}

.noti-list-item .unread {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #FF0000;
}

.noti-list-item .read {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #C6C6C6;
}

.noti-text {
    font-size: 14px;
    color: #C6C6C6;
    margin-bottom: 0;
}

.noti-text span {
    color: #F58BA1;
}

.profile-img {
    width: 110px;
    height: 110px;
    margin: 0 auto 16px;
}

.profile-mail {
    color: #C6C6C6;
    text-align: center;

}

.point {
    font-size: 24px;
    color: #F58BA1;
    margin-bottom: 0;
}

.point-text {
    font-size: 18px;
    color: #C6C6C6;
    margin-bottom: 0;
}

.star-review {
    color: #C4C4C4;
    font-size: 24px;
}

.star-review.active {
    color: #F9CF27;
}

.card-review {
    background-color: #FEF3F6;
    padding: 10px;
    border-radius: 10px;
}

.review-date {
    color: #666666;
}

.img-review {
    width: 60px;
    height: 60px;
}

.employee-name {
    font-size: 20px;
}

.details {
    color: #C6C6C6;
}

.branch {
    font-size: 16px;
    color: #C6C6C6;
}

.text-view {}

.booking-text {
    font-size: 20px;
    color: #000000;
    margin-bottom: 0;
}

.booking-text span {
    color: #F58BA1;
}

.img-employee {
    width: 80px;
    height: 80px;
}

.icon-booking {
    width: 35px;
    height: 35px;
}

.icon-name {
    font-size: 20;
}

.booking-name {
    font-size: 14px;
    color: #C6C6C6;
}

.Deposit-name {
    font-size: 14px;
    color: #ff0000;
}

.month {
    font-size: 24px;
    color: #F58BA1;
}

.month-booking {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.header-logo {
    background-color: #F58BA1;
    padding: 40px 20px;
    display: flex;
    align-items: center;
    position: relative;
    justify-content: space-between;
}

.header-logo div img {
    height: 66.04px;
}

.btn-back:link,
.btn-back:visited {
    background-color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: #F58BA1;
    text-decoration: none;
    font-size: 20px;
}

.day {
    font-size: 16px;
    text-align: center;
    justify-content: center;
    color: #F58BA1;
}

.branch {
    font-size: 20px;
    color: #F58BA1;
}

.select-date-wrapper {
    overflow-x: auto;
}

.select-date-wrapper::-webkit-scrollbar {
    display: none;
}

.date-list {
    list-style: none;
    display: flex;
    gap: 20px;
    border-bottom: 1px solid #FDE8EC;
    padding-left: 0;
    width: max-content;
}

.date-list li {
    position: relative;
    padding: 0 15px 20px;
}

.date-list li a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    transform: translateY(50%);

    width: 100%;
    height: 2px;
    background-color: #F58BA1;
}

.artist {
    outline: 1px solid #C6C6C6;
    border-radius: 10px;
    padding: 15px;
}

.img-branch img {
    width: 100%;
    aspect-ratio: 1 / 1;
}

.img-artist img {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
}

.artist-name {
    font-size: 16px;
    color: #F58BA1;
}

.review-artist {
    font-size: 14px;
    color: #FAC5D0;
}

.status {
    color: #ff0000;
}

.qr-payment {
    color: #000000;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.1);
}

.bank-payment {
    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.1);

    padding: 10px 10px 0 10px;
}

.bank-payment-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.list-item a:link,
.list-item a:visited {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #737373;
    text-decoration: none;
    padding: 10px 0;
}

.list-item:not(:last-child) {
    border-bottom: 1px solid #c6c6c63a;
}

.credit-card:link,
.credit-card:visited {
    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.1);

    padding: 10px;
    text-decoration: none;
}

.modal-content {
    padding-top: 10px;
    padding-bottom: 10px;
}

.input-profile input,
.input-profile input:focus {
    background-color: #FDE8EC;
    border: #00000000;
}

.img-profile {
    width: 100px;
    height: 100px;
    margin: 0 auto;
}

.img-profile label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
}

.card-status {
    background-color: #FFE9EF;
    padding: 20px;
    border-radius: 10px;
}

.time-button {
    justify-content: center
}

.nav-pills .nav-link.active {
    color: var(--bs-nav-pills-link-active-color);
    background-color: rgba(245, 139, 161, 1);
    border-radius: var(--bs-border-radius-pill) !important;
}

.nav-link {
    color: rgba(245, 139, 161, 1);
    color: var(--bs-nav-pills-link-active-color);
    background-color: rgba(198, 198, 198, 1);
    border-radius: var(--bs-border-radius-pill) !important;
}

.datepicker-inline {
    width: max-content !important;
    /* ความกว้างของปฏิทิน */
}

.datepicker-wrap {
    outline: 1px solid rgba(245, 139, 161, 1);
    border-radius: 10px;

    display: flex;
    justify-content: center;

    padding: 10px;
}

.datepicker table tr td.active.active,
.datepicker table tr td.active.highlighted.active,
.datepicker table tr td.active.highlighted:active,
.datepicker table tr td.active:active {
    background-color: rgba(245, 139, 161, 1) !important;
    border-color: rgba(245, 139, 161, 1) !important;
}

.stepper {
    display: flex;
    position: relative;
    list-style: none;
    width: 100%;

    counter-reset: step;
    text-align: center;

    font-size: 14px;
    padding-left: 0;
}

.stepper li {
    position: relative;
    width: 33.33%;

}

.stepper li::before {
    content: counter(step);
    counter-increment: step;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    color: var(--clr-primary);
    display: block;
    text-align: center;
    line-height: 3rem;
    margin: 0 auto 1rem auto;
    border-radius: 50%;
    background-color: #fff;
    border: 1px solid #d9d9d9;
}

.stepper li:not(:first-child):after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    background-color: #d9d9d9;
    top: 1.5rem;
    left: -50%;
    z-index: -1;
}

.stepper li.active {
    color: rgba(245, 139, 161, 1);

}

.stepper li.active::before {
    border-color: rgba(245, 139, 161, 1);
    background-color: rgba(245, 139, 161, 1);
    color: #fff;
}

.stepper li.active+li::after {
    border: 2px solid rgba(245, 139, 161, 1);
}


.switch-toggle {
    --width: 200px;
    --height: 40px;
    --offset: 2px;
    --radius: 4px;
    position: relative;
    width: var(--width);
    height: var(--height);
    padding: var(--offset);
    background: rgba(227, 229, 232, 0.5);
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 500;
    line-height: normal;
    font-style: normal;
}

.switch-toggle input[type="checkbox"] {
    cursor: pointer;
    position: absolute;
    inset: 0;
    appearance: none;
    z-index: 2;
}

.switch-toggle input[type="checkbox"]:checked+label.switch-toggle-label:before {
    translate: 100% 0;
}

.switch-toggle input[type="checkbox"]:checked+label.switch-toggle-label span:nth-child(1) {
    color: gray;
}

.switch-toggle input[type="checkbox"]:checked+label.switch-toggle-label span:nth-child(2) {
    color: #1a1a1a;
}

.switch-toggle input[type="checkbox"]+label.switch-toggle-label {
    position: absolute;
    inset: var(--offset, 0);
    padding: 10px 0;
    display: block;
    user-select: none;
    pointer-events: none;
    display: grid;
    gap: 2px;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    place-items: center;
}

.switch-toggle input[type="checkbox"]+label.switch-toggle-label:before {
    content: "";
    position: absolute;
    width: 50%;
    inset: 0;
    background: #fff;
    border-radius: calc(var(--radius) - var(--offset));
    box-shadow: 0px 10px 20px 0px rgba(16, 39, 68, 0.1);
    translate: 0 0;
    transition: translate 250ms cubic-bezier(0.93, 0.26, 0.07, 0.69);
}

.switch-toggle input[type="checkbox"]+label.switch-toggle-label span {
    position: relative;
    transition: 200ms linear;
}

.switch-toggle input[type="checkbox"]+label.switch-toggle-label span:nth-child(1) {
    color: #1a1a1a;
}

.switch-toggle input[type="checkbox"]+label.switch-toggle-label span:nth-child(2) {
    color: gray;
}

.selsct-branch,
.selsct-artist {
    width: 90px;
}


.form-check-input:checked {
    background-color: rgba(245, 139, 161, 1);
    border-color: rgba(245, 139, 161, 1);
}


url('https://fonts.googleapis.com/css?family=Questrial&display=swap');

body {
    background: #fad390;
    font-family: 'Questrial', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.calendar {
    display: inline-grid;
    justify-content: center;
    align-items: center;
    background: #fff;
    border-radius: 5px;

    .month {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 18px;
        margin-bottom: 10px;
        font-weight: 300;

        .year {
            font-weight: 600;
            margin-left: 8px;
        }

        .nav {
            display: flex;
            justify-content: center;
            align-items: center;
            text-decoration: none;
            color: #0a3d62;
            width: 40px;
            height: 40px;
            border-radius: 40px;
            transition-duration: .2s;
            position: relative;
        }
    }

    .days {
        display: grid;
        justify-content: center;
        align-items: center;
        grid-template-columns: repeat(7, 1fr);
        color: #999;
        font-weight: 600;
        margin-bottom: 10px;

        span {
            width: 47px;
            justify-self: center;
            align-self: center;
            text-align: center;
        }
    }

    .dates {
        display: grid;
        grid-template-columns: repeat(7, 1fr);

        button {
            cursor: pointer;
            outline: 0;
            border: 0;
            background: transparent;
            font-family: 'Montserrat', sans-serif;
            font-size: 14px;
            justify-self: center;
            align-self: center;
            width: 40px;
            height: 40px;
            border-radius: 5px;
            margin: 2px;
            margin-bottom: 5px;
            transition-duration: .2s;
            position: relative;

            &.today {
                box-shadow: inset 0px 0px 0px 2px rgba(245, 139, 161, 1);
            }

            &:first-child {
                grid-column: 3;
            }

            &:hover {
                background: #eee;
            }

            &:focus {
                background: rgba(245, 139, 161, 1);
                color: #fff;
                font-weight: 600;
            }
        }
    }
}

.score-box {
    max-width: 650px;
    margin: 0 auto;
    font-family: "Quicksand", helvetica, arial, sans-serif;
    border: 0px solid #ccc;
    padding: 10px;

    //width:100%;
    .score-data {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 5px;
        font-size: 15px
    }

    .score-bar {
        border-radius: 15px;
        height: 20px;
        background-color: #E3E3E3;
        overflow: hidden;
        position: relative;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;

        .score-progress {
            background: rgba(245, 139, 161, 1);
            min-width: 3%;
            height: 20px;
            width: 50%;
            position: relative;
            display: block;
            transition: width 1s;

            &:before {
                content: "";
                width: 0;
                display: block;
                height: 20px;
                border-right: 0px solid rgba(255, 255, 255, 0.3);
                background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 95%, rgba(255, 255, 255, 0.05) 95%, rgba(255, 255, 255, 0.40) 100%);
                position: absolute;
                z-index: 2;
                left: 0;
                animation: bar-light 4.5s infinite ease-in-out;
            }

            &:after {
                content: "";
                width: 0;
                display: block;
                height: 20px;
                border-right: 0px solid rgba(255, 255, 255, 0.3);
                background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 95%, rgba(255, 255, 255, 0.05) 95%, rgba(255, 255, 255, 0.40) 100%);
                position: absolute;
                z-index: 2;
                left: 0;
                animation: bar-light 4.5s infinite ease-in-out;
                animation-delay: 0.7s;
            }
        }
    }
}

@keyframes bar-light {
    0% {
        width: 0;
        opacity: 0;
    }

    15% {
        opacity: 1;
    }

    40% {
        width: 100%;
        opacity: 1;
    }

    60% {
        width: 100%;
        opacity: 0;
    }

    100% {
        width: 100%;
        opacity: 0;
    }
}

.points {
    font-size: 14px;
    font-weight: bold;
}

.number {
    font-size: 13px;
    font-weight: bold;
    color: #666666;
}

.number-points {
    font-size: 13px;
    font-weight: bold;
}
