@import url("https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
* {
    font-family: "Roboto", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --blue: #6200ea;
    --white: #fff;
    --gray: #f5f5f5;
    --black1: #222;
    --black2: #999;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    position: relative;
    width: 100%;
}
.error {
    color: #f00;
}
/* ============ Navigation ================== */
.navigation {
    position: fixed;
    width: 230px;
    height: 100%;
    background: var(--blue);
    border-left: 10px solid var(--blue);
    transition: 0.5s;
    overflow: hidden;
}

.navigation.active {
    width: 80px;
}

.navigation ul {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.navigation ul li.active {
    background-color: var(--white);
    position: relative;
    width: 100%;
    list-style: none;
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
}

.navigation ul li.active a {
    color: var(--blue);
}

.navigation ul li:hover {
    background-color: var(--white);
    position: relative;
    width: 100%;
    list-style: none;
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
}

.navigation ul li:nth-child(1) {
    margin-bottom: 40px;
    pointer-events: none;
}

.navigation ul li a {
    position: relative;
    display: block;
    width: 100%;
    display: flex;
    text-decoration: none;
    color: var(--white);
    align-items: center;
}

.navigation ul li:hover a {
    color: var(--blue);
}

.navigation ul li a .icon {
    position: relative;
    display: flex;
    min-width: 60px;
    height: 60px;
    line-height: 75px;
    text-align: center;
    align-items: center;
    justify-content: center;
}

.navigation ul li a .icon ion-icon {
    font-size: 1.75rem;
}

.navigation ul li a .title {
    position: relative;
    display: block;
    padding: 0 10px;
    height: 60px;
    line-height: 60px;
    text-align: start;
    white-space: nowrap;
}

/* ============ curve outside  =======================*/
.navigation ul li:hover a::before {
    content: "";
    position: absolute;
    right: 0;
    top: -50px;
    width: 50px;
    height: 50px;
    background-color: transparent;
    border-radius: 50%;
    box-shadow: 35px 35px 0 10px var(--white);
    pointer-events: none;
}

.navigation ul li:hover a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -50px;
    width: 50px;
    height: 50px;
    background-color: transparent;
    border-radius: 50%;
    box-shadow: 35px -35px 0 10px var(--white);
    pointer-events: none;
}

/* =================== Main ======================== */
.main {
    position: absolute;
    width: calc(100% - 300px);
    left: 236px;
    min-height: 100vh;
    background: var(--white);
    transition: 0.5s;
}

.main.active {
    width: calc(100% - 80px);
    left: 80px;
}

.topbar {
    width: 100%;
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
}

.toggle {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    font-size: 2.5rem;
    cursor: pointer;
}

.search {
    position: relative;
    width: 400px;
    margin: 0 10px;
}

.search label {
    position: relative;
    width: 100%;
}

.search label input {
    width: 100%;
    height: 40px;
    border-radius: 40px;
    padding: 5px 20px;
    padding-left: 35px;
    font-size: 15px;
    outline: none;
    border: 1px solid var(--black2);
}

.search label ion-icon {
    position: absolute;
    top: 0;
    left: 10px;
    font-size: 1.2rem;
}

.user {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
}

.user img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ====================== Cards ========================= */
.cardBox {
    position: relative;
    width: 100%;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 16px;
}

.cardBox .card {
    position: relative;
    background: var(--white);
    padding: 12px;
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    box-shadow: 0 7px 25px rgba(0, 0, 0, 0.08);
    align-items: center;
}

.cardBox .card .numbers {
    position: relative;
    font-weight: 500;
    font-size: 1.5rem;
    color: var(--blue);
}
.cardBox .card .cardName {
    color: var(--black2);
    font-size: 1.1rem;
    margin-top: 5px;
}

.cardBox .card .iconBx {
    color: var(--black2);
    font-size: 3.5rem;
    margin-top: 5px;
}

.cardBox .card:hover {
    background: var(--blue);
}

.cardBox .card:hover .numbers,
.cardBox .card:hover .cardName,
.cardBox .card:hover .iconBx {
    color: var(--white);
}

/* =============== Order details ====================== */
.details {
    position: relative;
    width: 100%;
    padding: 20px;
    display: grid;
    /* grid-template-columns: 2fr 1fr;
    grid-gap: 30px; */
    /* margin-top: 10px; */
}

.details .recentOrders {
    position: relative;
    display: grid;
    min-height: 500px;
    background: var(--white);
    padding: 20px;
    box-shadow: 0 7px 25px rgba(0, 0, 0, 0.08);
}

.details .cardHeader {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.cardHeader h2 {
    font-weight: 600;
    color: var(--blue);
}

.cardHeader .btn {
    position: relative;
    padding: 5px 10px;
    background: var(--blue);
    text-decoration: none;
    color: var(--white);
    border-radius: 6px;
}

.details table {
    width: 100%;
    border-collapse: collapse;
    margin: 40px 0;
}

.inputState-form label {
    margin-bottom: 10px !important;
    display: inline-block;
}


.inputState-form-title {
    margin-bottom: 22px;
    color: #592de2;
}

.inputState-form {
    max-width: 570px;
    padding: 40px;
    box-shadow: 0px 0px 12px 3px #b5b2bd4a;
    border-radius: 15px;
    margin: 4rem auto;
}

.p-confirmed {
    background: #2fcf00;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3px;
    color: #000;
    border-radius: 10px;
}

.p-pending {
    background: #ffea2e;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3px;
    color: #000;
    border-radius: 10px;
}

.details table thead td {
    font-weight: 600;
}

.details .recentOrders table tr {
    color: var(--black1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.details .recentOrders table tr:last-child {
    border-bottom: none;
}

/* .details .recentOrders table tbody tr:hover {
    background: var(--blue);
    color: var(--white);
} */

.details .recentOrders table tr td {
    padding: 10px;
    text-align: left;
    width: 134px;
}
.details .recentOrders table tr td:first-child {
    width: 58px;
}
.details .recentOrders table tr td:last-child {
    text-align: end;
}

.details .recentOrders table tr td:nth-child(2) {
    text-align: left;
}
/* 10-jul-2024*/
.details .recentOrders table tr td:nth-child(3) {
    text-align: left;
}

span.status.delivered {
    padding: 2px 4px;
    background: #8de02c;
    color: var(--white);
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
}
span.status.pending {
    padding: 2px 4px;
    background: #e9b10a;
    color: var(--white);
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
}
span.status.return {
    padding: 2px 4px;
    background: #f00;
    color: var(--white);
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
}
span.status.inProgress {
    padding: 2px 4px;
    background: #1795ce;
    color: var(--white);
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
}

.recentCustomers {
    position: relative;
    display: grid;
    min-height: 500px;
    padding: 20px;
    background: var(--white);
    box-shadow: 0 7px 25px rgba(0, 0, 0, 0.08);
}

.recentCustomers .imgBx {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50px;
    overflow: hidden;
}

.recentCustomers .imgBx img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recentCustomers table tr td {
    padding: 12px 10px;
}

.recentCustomers table tr td h4 {
    line-height: 1.2rem;
    font-size: 16px;
    font-weight: 500;
}

.recentCustomers table tr td h4 span {
    font-size: 14px;
    color: var(--white);
}

.recentCustomers table tr:hover {
    background: var(--blue);
    color: var(--white);
}

.recentCustomers table tr:hover td h4 span {
    color: var(--white);
}
.navigation ul li {
    margin-top: 10px;
}
.form-parent {
    display: flex;
    flex-wrap: wrap;
    gap: 0px;
    flex-direction: column;
}
.field-data {
    display: flex;
    align-items: center;
    flex: 49%;
    flex-direction: column;
}
label.form-label {
    width: 100%;
    margin-bottom: 6px;
}
.salon-form-parent {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
/* =================== Responsive Design =============================== */
@media (max-width: 991px) {
    .navigation {
        left: -300px;
    }
    .navigation.active {
        width: 300px !important;
        left: 0;
        z-index: 99;
    }
    .user img {
        width: 32px !important;
        height: 32px !important;
    }
    .main {
        width: 100%;
        left: 0;
    }
    .main.active {
    width: 100%;
}
    .cardBox {
        grid-template-columns: repeat(2, 1fr);
    }
    .active .toggle {
        z-index: 9;
        color: #fff;
    }
    .navigation ul li:nth-child(1) {
        margin-bottom: 40px;
        pointer-events: none;
        margin-top: 70px;
    }
}

@media (max-width: 768px) {
    .details {
        grid-template-columns: 1fr;
    }
    .recentOrders {
        overflow-x: auto;
    }
    span.status.inProgress {
        white-space: nowrap;
    }
    .table-title th {
        min-width: 80px;
        text-align: left;
    }
    .details .recentOrders table tr td {
        padding: 11px 0;
        text-align: left !important;
    }
    .details .recentOrders table tr td:first-child, .details .recentOrders table tr th:first-child {
        padding-left: 14px;
    }
    .dataTables_wrapper .dataTables_filter {
        float: right !important;
        text-align: left;
        margin-top: 10px;
    }
    .table-outer {
        max-width: 100%;
        overflow: auto;
        min-height: 300px;
    }
    .dataTables_filter input[type="search"]{
        width: 100%;
    }
    .paging_simple_numbers {
        float: right !important;
        display: flex;
        align-items: center;
        margin-top: 15px;
    }
    .navigation.active {
        width: 100%;
        left: 0;
        width: 100vw;
    }
    .main.active {
        left: 0;
    }
    .dataTables_filter input[type="search"]{
        margin-left: 0 !important;
    }
}

@media (max-width: 600px) {
    .dataTables_wrapper .dataTables_filter, .paging_simple_numbers {
        float: left !important;
    }
}

@media (max-width: 480px) {
    .cardBox {
        grid-template-columns: repeat(1, 1fr);
    }

    .cardHeader h2 {
        font-size: 20px;
    }

    /* .user {
        min-width: 40px;
    } */

    .navigation {
        width: 100%;
        left: -100%;
        z-index: 1000;
    }

    .navigation.active {
        width: 100%;
        left: 0;
    }

    .toggle {
        z-index: 1000;
        display: flex;
        margin-left: auto;
        align-items: center;
    }

    .main.active .toggle {
        color: #fff;
        position: relative;
        right: 57px;
        left: initial;
        top: 9px;
    }
}
/* --------------------- 11-jun-2024 ---------------------------*/

.tab {
    margin-top: 50px;
    height: 50px;
    overflow: hidden;
    border: 1px solid #ccc;
}

.tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
    font-size: 17px;
}

.tab button:hover {
    background-color: var(--blue);
    color: var(--white);
}

.tab button.active {
    background-color: var(--blue);
    color: var(--white);
}

.tabcontent {
    margin-bottom: 198px;
    display: none;
    padding: 0;
    border: 0;
    border-top: none;
}

div:where(.swal2-container) button:where(.swal2-styled).swal2-confirm {
    border: 0;
    border-radius: 0.25em;
    background: initial;
    background-color: var(--blue);
    color: #fff;
    font-size: 1em;
}
.icon img {
    width: 50px;
    height: 50px;
    margin: 8px 0px;
    object-fit: fill;
    border-radius: 30px;
}

/* --------------------- 11-jun-2024 ---------------------------*/

/* .image-set {
    width: 80px;
    display: block;
    background: #ffffff;
    border-radius: 50px;
    text-align: center;
    height: 80px;
    border: 2px solid #6200ea;
}
.image-set img {
    width: 100%;
    text-align: center;
    height: 100%;
    object-fit: cover;
    border-radius: 50px;
    padding: 2px;
}
.images-circle {
    display: flex;
    gap: 28px;
    padding: 10px 21px;
}
.main-calendar.fc th, .fc td {
    border-color: #dbdbdb;
}
.main-calendar {
    padding: 30px 22px;
}
.fc .fc-timegrid-divider {
    padding: 0px !important;
}
.fc-daygrid-day {
    display: none;
}
tr:has(th) {
    display: none;
}
td.fc-timegrid-axis.fc-scrollgrid-shrink {
    display: none;
}
.main-calendar .fc-v-event{
    background-color: #aaa;
    border: none;
    padding: 3px 5px;
}
.main-calendar .fc-v-event .fc-event-main{
    color: #000;
}
.fc .fc-timegrid-col.fc-day-today {
    background-color: transparent !important;
}
.salon-name {
    padding: 4px;
    font-size: 12px;
}
.fc-button-primary{
    color: #fff;
    background-color:#6200ea !important;
    border-color: #6200ea !important;
}
.fc-button-primary:focus {
    box-shadow: none !important;
} */
/* --------------------- form ---------------------------*/

.row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 5px 4px;
    flex-wrap: wrap;
    width: 100%;
}

.form-control {
    padding: 7px 6px;
    width: 100% !important;
    outline: none;
}
select.form-control{
    margin-bottom: 20px;
    margin-top: 8px;
}

.form-select {
    padding: 7px 6px;
    width: 100%;
}
.field-set {
    margin-bottom: 0px;
    align-items: start;
}

.btn.btn-primary {
    padding: 11px 24px;
    background-color: #6200ea;
    border: 0;
    border-radius: 5px;
    color: #fff;
    margin-top: 10px;
}
table#example {
    padding: 54px 0px;
    margin: 40px 0;
    float: left;
}
.dataTables_filter input[type="search"] {
    font-size: 12px;
    padding: 10px 15px;
    outline: none;
    margin-left: 14px;
}
.paginate_button {
    border: 0 !important;
    background: transparent !important;
    padding: 0 !important;
}
.dataTables_paginate .paginate_button.current {
    color: #592de2 !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button,
.dataTables_wrapper .dataTables_paginate .paginate_button:has(.current) {
    background: #592de2 !important;
    padding: 10px 15px !important;
    color: #fff !important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
.dataTables_wrapper .dataTables_paginate span .paginate_button:not(.current) {
    background: transparent !important;
    color: #000 !important;
}
.details .recentOrders table tr td:last-child {
    text-align: center;
}
/* ---------------- 21-jul-2024 -------------------- */
table.dataTable.no-footer {
    border-bottom: 0 !important;
}
/* ---------------- 10-jul-2024 -------------------- */
.table-title th {
    font-size: 12px;
    border: 0 !important;
    text-align: left;
    padding: 0 10px;
}
.odd {
    background: #f5f5f5 !important;
}

.paging_simple_numbers,
.dataTables_filter {
    float: right;
}
.dataTables_info,
.dataTables_length {
    float: left;
    width: 100%;
}

.field-data{
    position: relative;
}
.form-input {
    border: 1px solid #333030;
    border-radius: 5px;
}
.profile-sub {
    width: 100%;
}
.field-data {
	position: relative;
}

@media (max-width: 1080px){
    .topbar{
        height: auto;
    }
    
    .toggle2-icon {
        top: 56% !important;
        right: 10px !important;
        left: auto !important;
    }
    .toggle-icon, .toggle1-icon {
        position: absolute;
        top: 56% !important;
        right: 10px !important;
        left: auto !important;
    }
}
@media (max-width: 768px) {
    .fc-button {
        padding: 0.2em 0.55em !important;
    }
    .fc-toolbar h2 {
        font-size: 0.75em !important;
        margin: 0;
    }
    .field-data {
        display: grid;
        align-items: center;
        gap: 7px;
    }
    .col-md-6 {
        width: 100%;
        margin-bottom: 18px;
    }
    .row {
        display: inline;
    }
    .dataTables_wrapper .dataTables_length {
        float: left !important;
        width: 100%;
    }
    .dataTables_filter input[type="search"] {
        width: 100%;
        margin: 10px 0 !important;
    }
    .details table thead td {
        font-weight: 600;
        font-size: 14px !important;
    }
    table.dataTable thead .sorting {
        padding: 3px 0px !important;
    }
    table.dataTable thead .sorting:first-child {
        padding: 3px 16px !important;
    }
    .dataTables_wrapper .dataTables_info {
        float: left !important;
    }
    .main.active .toggle {
        color: #fff;
        position: relative;
        right: 0;
        left: 0;
        top: 9px;
        width: 100%;
        justify-content: flex-start;
        min-width: 300px;
    }
    .topbar{
        height: auto;
    }
    .field-data{
        position: relative;
    }
    .toggle2-icon {
        top: 56% !important;
        right: 10px !important;
        left: auto !important;
    }
    .toggle-icon, .toggle1-icon {
        position: absolute;
        top: 56% !important;
        right: 10px !important;
        left: auto !important;
    }
}
