@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Inter:wght@300;400;500;600;700&display=swap');
@import url('https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.css');

.wrap {
    margin: 0;
}

.wrap.abp-page-wrapper {
    margin-top: 0px;
    padding: 20px;
    background: #f1f1f1;
}

#wpcontent {
    padding-left: 20px;
    padding-right: 20px;
}

.wrap.abp-page-wrapper h1 {
    text-align: left;
    font-size: 20px;
    font-weight: 600;
    padding: 9px 20px;
}

.header-main-block {
    background-color: #fff;
    padding: 10px 0px;
    border-radius: 8px;
}

.search-container input {
    background: #fff;
    box-shadow: rgba(17, 12, 46, 0.15) 0px 48px 100px 0px;
    padding: 8px 15px;
    border-radius: 8px;
    border: 1px solid #d3d3d3;
}

.abp-navbar-wrapper {
    display: flex;
    justify-content: space-between;
    padding: 0px 12px;
    height: 800px;
    overflow-y: scroll;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
}

.abp-navbar-wrapper::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

select#api-response-dropdown {
    max-width: 210px;
}

.search-wrapper-outer h1 {
    padding: 25px 20px !important;
    margin-bottom: 20px;
    color: #fff;
    background-color: #6e472d;
    border-radius: 5px 5px 0px 0px;
    font-size: 18px !important;
}

.search-wrapper-outer {
    background: #fff;
    border-radius: 10px;
    position: sticky;
    top: 20px;
}

body.toplevel_page_appointment-booking-admin,
body.toplevel_page_appointment-bookings {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
}


div#category-tabs button {
    font-size: 18px;
    border: none;
    text-align: start;
}

div#category-tabs button:hover {
    color: #ffd294;
}


.card-img-wrap {
    overflow: hidden;
    position: relative;
    max-height: 487px;
}

.card-img-wrap img {
    object-fit: contain;
    padding: 12px;
}

div#product-cards .card {
    padding: 0px !important;
}

/* p.card-text {
    text-align: left !important;
} */

p.card-text {
    text-align: left !important;
    font-size: 18px;
    font-weight: bold;
}

/* 
.abp-button-wrapper {
    top: 0;
    right: 0;
    position: absolute;
    left: 0;
    bottom: 0;
    margin: auto;
    width: max-content;
    height: max-content;
    z-index: 99;
    display: none;
} */
/* .card:hover .card-img-wrap::after{
    display: block;
} */
/* .card:hover .abp-button-wrapper {
    display: block;
} */

/* .card-img-wrap::after {
    transition: 0.3s ease-in-out;
    content: "";
    width: 100%;
    height: 100%;
    background: #000;
    position: absolute;
    top: 0;
    right: 0;
    opacity: 0.5;
    display: none;
} */

.abp-button-wrapper {
    display: flex;
}

.abp-button-wrapper a {
    flex-grow: 1;
}

.abp-button-wrapper a.buy-now {
    background-color: #6e472d;
    border: none !important;

    &:hover {
        background-color: #6e472d;
        border: none !important;
    }
}

.abp-button-wrapper a.demo {
    background-color: #ffd294;
    border: none !important;
    color: #6e472d;

    &:hover {
        background-color: #ffd294;
        border: none !important;
    }
}

.abp-button-wrapper a:focus {
    color: #fff;
    box-shadow: unset;
}

.banner-section {
    margin-top: 20px;
}

.banner-section img {
    width: 100%;
}


button#load-more {
    margin: 20px auto;
    padding: 10px 22px;
    border-radius: 6px !important;
}

button.btn.tab-btn.active::after {
    content: "";
    background: #ffd294;
    height: 2px;
    border-radius: 3px;
    width: 80%;
    position: absolute;
    left: 0;
    top: unset;
    bottom: 0;
    left: 0;
    right: 0;
    transform: translateX(10px);
}

button.btn.tab-btn:active {
    border: none;
    outline: none !important;
}

button.btn.tab-btn {
    position: relative;
}

@media(max-width:1199px) {
    .card-img-wrap {
        max-height: 180px;
        overflow: hidden;
        position: relative;
    }

    button.btn:nth-child(7) {
        display: none !important;
    }
}

@media(max-width:1024px) {

    button.btn:nth-child(6),
    button.btn:nth-child(5) {
        display: none !important;
    }
}

@media(max-width:991px) {
    div#category-tabs {
        display: none !important;
    }

    .abp-navbar-wrapper {
        justify-content: flex-end;
    }
}

@media(max-width:767px) {
    .card {
        margin: 0px auto;
        max-width: 400px;
    }
}

@media(max-width:575px) {
    .search-container {
        justify-content: center;
        display: flex;
    }

    .abp-navbar-wrapper {
        justify-content: center;
    }

    .abp-navbar-wrapper {
        margin: 30px 0px 10px;
    }
}

/* for loader */
div#loader img {
    width: 80px;
    height: 80px;
}

.adv-app-book-notice-heading {
    padding: 25px 70px;
}

.adv-app-book-notice-banner-wrap {
    background-position: 0 60%;
    background-repeat: no-repeat;
    background-size: 100%;
}

.notice.adv-app-book {
    padding-left: 0;
    padding-right: 0 !important;
}

.adv-app-book-notice-heading h1 {
    font-family: 'Bebas Neue';
    font-weight: 400;
    font-size: 79px;
    color: #ffd294;
}

.adv-app-book-notice-heading p {
    font-family: 'Montserrat';
    font-weight: 600;
    font-size: 16px;
    background-color: #ffd294;
    width: fit-content;
    padding: 0px 20px;
    color: #fff;
    border-radius: 10px;
    margin-top: -4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.adv-app-book-notice-btn a {
    font-family: 'Montserrat';
    text-decoration: unset;
    background-color: #fff;
    color: #ffd294;
    padding: 10px;
    display: block;
    width: fit-content;
    font-size: 16px;
    font-weight: 600;
    padding: 10px 30px;
    border-radius: 7px;
    margin-top: 15px;
    border: 2px solid #ffd294;
}

.products-wrappre {
    position: relative;
}

.loader-img-wrap {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    margin-top: 19rem;
}

#loader {
    position: absolute;
    top: 0%;
    left: 0%;
    z-index: 9999;
    width: 100%;
    height: 100%;
    background: #ffffff;
    display: flex;
    justify-content: center;
}

#nav-tabContent #nav-dashboard h2 {
    font-size: 22px;
    margin: 20px 0px;
}

.dashboard-container .dashboard-item h3 {
    font-size: 20px;
}

.adv-app-book-sub-head span {
    font-family: 'Bebas Neue';
    font-size: 30px;
    line-height: 50px;
    padding-top: 3px;
}

.dashboard-item p {
    font-size: 18px !important;
    margin-top: 20px;
}

.nav-link {
    color: #000;
}

#nav-appointments p {
    font-size: 16px;
    margin: 20px 0px;
}

/* end */
#toplevel_page_appointment-booking-themes .wp-menu-name {
    background: #6e472d;
}

#toplevel_page_appointment-booking-themes div.wp-menu-image:before,
#toplevel_page_appointment-booking-themes .wp-menu-name {
    color: #fff;
}

/* n css */

#category-tabs {
    display: flex;
    flex-direction: column;
}

@media (max-width: 1399px) and (min-width: 1200px) {
    .adv-app-book-notice-banner-wrap {
        background-position: 22% 60%;
    }
}

@media (max-width: 1199px) and (min-width: 992px) {
    .adv-app-book-notice-banner-wrap {
        background-position: 40% 60%;
        background-size: cover;
    }

    .adv-app-book-notice-heading h1 {
        font-size: 38px;
    }

    .adv-app-book-notice-heading p,
    .adv-app-book-notice-btn a {
        font-size: 12px;
    }
}

@media (max-width: 991px) and (min-width: 768px) {
    .adv-app-book-notice-heading h1 {
        font-size: 38px;
    }

    .adv-app-book-notice-heading p,
    .adv-app-book-notice-btn a {
        font-size: 12px;
    }

    .adv-app-book-notice-banner-wrap {
        background-position: 40% 60%;
        background-size: cover;
    }
}

@media (max-width: 767px) {
    .adv-app-book-notice-heading h1 {
        font-size: 38px;
        text-align: center;
    }

    .adv-app-book-notice-heading p,
    .adv-app-book-notice-btn a {
        font-size: 12px;
        margin: 10px auto;
        text-align: center;
    }

    .adv-app-book-notice-banner-wrap {
        background-position: 0% 100%;
        background-size: cover;
    }
}


/* dashboard tab css */

.dashboard-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 30px 0;
    padding: 20px;
}

.dashboard-item {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    padding: 30px 25px;
    text-align: center;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.dashboard-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #663d1d, #f2c06c);
}

.dashboard-item:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 30px 80px rgba(110, 71, 45, 0.25);
}

.dashboard-item h3 {
    font-size: 1.4em;
    color: #374151;
    margin-bottom: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dashboard-item p {
    font-size: 2.5em;
    /* background: linear-gradient(135deg, #663d1d 0%, #f2c06c 50%, #6e472d 100%); */
    background: #663d1d;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    margin: 0;
    font-family: 'Bebas Neue', sans-serif;
}

.dashboard-item i {
    font-size: 3em;
    color: #663d1d;
    margin-bottom: 15px;
    opacity: 0.8;
}

/* Responsiveness: Stack items on smaller screens */
@media (max-width: 768px) {
    .dashboard-container {
        flex-direction: column;
        align-items: center;
    }

    .dashboard-item {
        width: 80%;
        /* Ensures items fill the container on smaller screens */
        margin-bottom: 20px;
    }
}


/* nav tab css */

/* General Navigation Styling */
nav {
    margin: 20px 0 30px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-tabs {
    display: flex;
    justify-content: flex-start;
    padding: 0 20px;
    gap: 5px;
    border: none;
}

.nav-link {
    border: none !important;
    padding: 15px 25px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    text-align: center;
    color: #6b7280 !important;
    background: transparent !important;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 15px !important;
    position: relative;
    overflow: hidden;
    min-width: 140px;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s;
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link:hover {
    color: #6e472d !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(110, 71, 45, 0.2);
}

.nav-link.active {
    background: linear-gradient(135deg, #663d1d 0%, #f2c06c 100%) !important;
    color: white !important;
    box-shadow: 0 10px 30px rgba(102, 61, 29, 0.4) !important;
    transform: scale(1.05);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 4px;
    background: #ffd294;
    border-radius: 50px;
}

.nav-link {
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    color: #555;
    background-color: transparent;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    border-radius: 5px;
}

.nav-link:hover {
    background-color: #f0f0f0;
    color: #007bff;
}

.nav-link.active {
    background-color: #007bff;
    color: white;
    font-weight: 600;
    box-shadow: 0 3px 5px rgba(0, 123, 255, 0.2);
}

#product-cards .card-title {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

/* Custom Active Tab Styling */
.nav-link.active:hover {
    background-color: #0056b3;
    color: white;
}

.nav-link[aria-selected="false"]:hover {
    background-color: #f7f7f7;
    color: #007bff;
}

/* Responsive */
@media (max-width: 992px) {
    .nav-tabs {
        flex-wrap: wrap;
        gap: 10px;
        padding: 10px;
    }

    .nav-link {
        flex: 1 1 45%;
        padding: 12px 15px !important;
    }
}

@media (max-width: 768px) {
    .nav-tabs {
        flex-direction: column;
    }

    .nav-link {
        width: 100%;
        margin-bottom: 8px !important;
    }

    .dashboard-container {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 10px;
    }
}


/* New css start */
.abp-promo-admin-banner img {
    max-width: 100%;
    height: auto;
    width: 100%;
}

.abp-promo-banner-content p {
    font-family: 'Poppins', sans-serif;
    color: #6C4624;
    font-weight: 600;
}

strong#abp-coupon {
    color: #663D1D;
    font-weight: 700;
    font-size: 21px;
}

p.abp-flash-code {
    padding: 8px;
    border: 2px solid #663D1D;
    border-radius: 10px;
    color: #663D1D;
    font-weight: 300;
}

.abp-promo-admin-banner h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 30px;
    margin: 0;
    color: #663D1D;
    letter-spacing: 1px;
}

.abp-promo-banner-content a {
    background-color: #6C4624;
    color: white;
    padding: 14px 26px;
    display: inline-block;
    margin-top: 7px;
    border-radius: 6px;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 400;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 30px;
    letter-spacing: 1px;
}

.notice.abp-promo-admin-banner {
    margin: unset !important;
    padding: unset !important;
    border: unset;
    background: unset !important;
    box-shadow: unset !important;
}

.abp-promo-discount {
    background-color: #FFD48D;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    box-shadow: 10px 10px 20px 0px #00000040;
    display: flex;
    align-items: center;
    justify-content: center;
}

.abp-promo-admin-banner {
    position: relative;
}

.abp-promo-banner-content-block {
    position: absolute;
    left: 39%;
    transform: translate(-50%, -50%);
    top: 54%;
    margin-left: 3%;
}

.abp-promo-discount span {
    display: block;
    font-size: 17px;
    color: #6C4624;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
}

.abp-promo-discount {
    text-align: center;
}

.abp-promo-discount {
    text-align: center;
    position: absolute;
    right: -168px;
    top: 0;
}

.abp-promo-discount span:nth-child(2) {
    color: #6C4624;
    font-size: 41px;
    line-height: 41px;
}

@media (max-width: 1199px) and (min-width: 768px) {
    .abp-promo-admin-banner h3 {
        font-size: 19px;
    }

    p.abp-flash-code {
        padding: 0px 7px;
    }

    .abp-promo-banner-content a {
        padding: 6px 19px;
        margin-top: 7px;
        font-size: 21px;
    }

    strong#abp-coupon {
        font-size: 17px;
    }

    .abp-promo-banner-content p {
        margin: 0;
    }

    .abp-promo-discount {
        width: 108px;
        height: 108px;
    }

    .abp-promo-discount span:nth-child(2) {
        font-size: 26px;
        line-height: 25px;
    }
}

@media (max-width: 1440px) and (min-width: 1200px) {
    .abp-promo-admin-banner h3 {
        font-size: 28px;
    }

    p.abp-flash-code {
        padding: 0px 7px;
    }

    .abp-promo-banner-content a {
        font-size: 21px;
    }

    strong#abp-coupon {
        font-size: 21px;
    }
}

@media (max-width: 1919px) and (min-width: 1441px) {
    .abp-promo-admin-banner h3 {
        font-size: 40px;
    }

    p.abp-flash-code {
        padding: 0px 7px;
    }

    .abp-promo-banner-content a {
        font-size: 22px;
    }

    strong#abp-coupon {
        font-size: 21px;
    }
}

@media(min-width:1920px) {
    .abp-promo-admin-banner h3 {
        font-size: 65px;
    }

    p.abp-flash-code {
        padding: 12px 7px;
    }

    .abp-promo-banner-content p {
        font-size: 20px;
        margin-top: 22px !important;
        display: block;
    }

    .abp-promo-banner-content a {
        font-size: 32px;
        padding: 17px 39px;
    }

    strong#abp-coupon {
        font-size: 29px;
    }
}

/* New css end */

/* Modern WP Tables for Appointments/Customers/Services/Staff */
.widefat {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: none !important;
    margin-top: 20px;
}

.widefat thead th {
    background: linear-gradient(135deg, #663d1d 0%, #f2c06c 100%);
    color: white !important;
    font-weight: 700;
    padding: 18px 20px;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 14px;
}

.widefat tbody tr {
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.widefat tbody tr:hover {
    background: linear-gradient(90deg, rgba(110, 71, 45, 0.05), rgba(255, 210, 148, 0.1));
    transform: scale(1.01);
}

.widefat tbody td {
    padding: 10px;
    vertical-align: middle;
    border-color: rgba(0, 0, 0, 0.05);
}

.widefat td,
.widefat td ol,
.widefat td p,
.widefat td ul {
    font-size: 14px;
    line-height: 1.5em;
    font-weight: bold;
}

.status-badge {
    padding: 6px 16px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-approved {
    background: #d4edda;
    color: #155724;
}

.status-canceled {
    background: #f8d7da;
    color: #721c24;
}

.abp-btn-primary,
input[type="submit"].button-primary,
.button.button-primary {
    background: linear-gradient(135deg, #663d1d 0%, #f2c06c 100%) !important;
    border: none !important;
    border-radius: 12px !important;
    /* padding: 12px 28px !important; */
    padding: 8px !important;
    font-weight: 600 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    color: white !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(102, 61, 29, 0.3) !important;
}

.abp-btn-primary:hover,
input[type="submit"].button-primary:hover,
.button.button-primary:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(102, 61, 29, 0.4) !important;
}

.abp-btn-secondary,
.button.button-secondary {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 2px solid #e5e7eb !important;
    border-radius: 12px !important;
    color: #374151 !important;
    font-weight: 600 !important;
    /* padding: 12px 28px !important; */
    padding: 8px !important;
    transition: all 0.3s ease !important;
}

.abp-btn-secondary:hover,
.button.button-secondary:hover {
    background: white !important;
    border-color: #663d1d !important;
    color: #663d1d !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(102, 61, 29, 0.15) !important;
}

.form-table {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    margin-bottom: 30px;
}

.form-table th {
    font-weight: 700;
    color: #374151;
    padding: 20px 15px 15px;
}

.form-table input[type="text"],
.form-table input[type="email"],
.form-table input[type="number"],
.form-table input[type="tel"],
.form-table select,
.form-table textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: white;
}

.form-table input:focus,
.form-table select:focus,
.form-table textarea:focus {
    outline: none;
    border-color: #ffd294;
    box-shadow: 0 0 0 4px rgba(255, 210, 148, 0.1);
    transform: translateY(-1px);
}

.abp-compareprice {
    color: gray;
    margin-left: 8px;
}

/* Icons for dashboard (add via JS or PHP) */
.dashboard-icon {
    font-size: 3em;
    color: #ffd294;
    margin-bottom: 15px;
    opacity: 0.8;
}

/* Loading overlay */
.tab-pane {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(#663d1d, #f2c06c);
    border-radius: 10px;
}

/* Help Page Styles */
.abp-help-page .abp-help-content {
    max-width: 1380px;
    margin: 20px auto;
}

.abp-help-page .help-section {
    margin: 30px 0;
    padding: 25px;
    border-left: 5px solid #663d1d;
    background: rgba(242, 192, 108, 0.1);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(102, 61, 29, 0.1);
}

.abp-help-page .help-section h2 {
    margin-top: 0;
    color: #663d1d;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 28px;
    font-weight: 700;
}

.abp-help-page .help-section p {
    font-size: 18px;
    font-weight: 700;
}

.abp-help-page .widefat {
    margin: 20px 0;
}

.abp-help-page h1 {
    color: #663d1d !important;
    border-bottom: 4px solid #f2c06c;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.abp-help-page ul,
.abp-help-page ol {
    padding-left: 25px;
}

.abp-help-page .help-section li {
    margin-bottom: 8px;
    font-size: 15px;
}

.abp-help-our-template {
    text-decoration: none;
    color: #2980b9;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}