html {
    position: relative;
    min-height: 100%;
    font-family: 'Nunito Sans', sans-serif;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}


/*.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}*/

.no-a-decoration, .no-a-decoration:hover {
    text-decoration: none;
    color: green;
}

html {
  position: relative;
  min-height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    height: 100vh;
    margin: 0;
    font-family: 'Nunito Sans', sans-serif;
}
/*
* {
    font-family: 'Nunito Sans', sans-serif !important;
}*/

.btn {
    display: inline-block; /* Ensures the button looks clickable */
    padding: 5px 10px; /* Adds padding for better appearance */
    text-align: center; /* Centers the text inside the button */
    text-decoration: none; /* Removes underline from links */
    color: white; /* Sets the text color */
    border-radius: 5px; /* Adds rounded corners */
    font-size: 15px; /* Adjusts the font size */
}
.btn-primary {
    background-color: #584DFD;
    border-color: inherit;
}

    .btn-primary:hover {
        cursor: pointer;
        background-color: #584DFD;
        color: white;
        border-color: #584DFD;
    }

.btn-outline-primary {
    background-color: transparent;
    color: #584DFD;
    border-color: #584DFD;
}

    .btn-outline-primary:hover {
        cursor: pointer;
        background-color: #584DFD;
        color: white;
        border-color: #584DFD;
    }

.btn-outline-secondary {
    background-color: transparent;
    color: black;
    border-color: black;
}

    .btn-outline-secondary:hover {
        cursor: pointer;
        background-color: silver;
        color: black;
        border-color: black;
    }

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.custom-carousel-img {
    border-radius: 15px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Subtle shadow */
    border: 3px solid #ddd; /* Light border */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth hover effect */
}

    .custom-carousel-img:hover {
        transform: scale(1.05); /* Slight zoom on hover */
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); /* Enhanced shadow on hover */
    }


.module-header {
    font-size: 1.1rem;
}



.logo-wrapper {
    border-bottom: 1px solid #ddd;
}


.profile-pic {
    width: 50px;
    height: 50px;
}


.main-layout {
    margin-top: 10px;
    display: block;
    overflow: hidden;
    height: 91.4vh;
}

.main-content {
    margin-top: 10px;
    margin-left: 15px;
    margin-right: 10px;
    overflow-y: initial;
    height: 91.4vh;
    object-fit: scale-down;
}

.content {
    flex: 1;
    overflow-y: auto;
    padding-top: 5px;
    padding-left: 25px;
}

/* Modern Navbar Styles */
.navbar {
    background-color: beige;
    padding: 0.75rem 1rem;
    top: 0;
    right: 0;
    margin-inline-start: auto;
    position: initial;
    height: 10px;
}

.navbar-brand {
    padding-left: 230px;
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    transition: color 0.3s ease;
    color: #ef7b44 !important;
}

    .navbar-brand img {
        width: 40px;
        height: 40px;
        margin-right: 0.5rem;
    }

.navbar-nav .nav-link {
    color: #333;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease, background-color 0.3s ease;
}

    .navbar-nav .nav-link:hover {
        color: #584DFD !important;
        background-color: rgba(0, 123, 255, 0.05);
        border-radius: 5px;
    }

.nav-item.notification {
    position: relative;
}

/*.nav-link:hover {
    color: #584DFD !important;
}*/


.notification .badge {
    top: -5px;
    right: -10px;
    font-size: 0.65rem;
    padding: 0.3em 0.5em;
    transition: transform 0.2s ease;
}

.notification .nav-link:hover .badge {
    transform: scale(1.2);
}

/*.dropdown-item:hover {
    background-color: #ef7b44;
    color: #fff !important;
}
.nav-item.dropdown .dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    margin-top: 0.5rem;
    animation: dropdownFade 0.2s ease-in-out;
}


.dropdown-divider {
    margin: 0.25rem 0;
}*/

.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

    .navbar-toggler:focus {
        box-shadow: none;
    }

/*@keyframes dropdownFade {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

@media (max-width: 991px) {
    .navbar-nav {
        padding: 1rem 0;
    }

        .navbar-nav .nav-link {
            padding: 0.75rem 1.5rem;
        }

    .dropdown-menu {
        box-shadow: none;
        border: 1px solid #e9ecef;
    }
}

/*BreadCrumb*/
.e-breadcrumb a, .e-breadcrumb a:hover {
    text-decoration: none !important;
    color: black !important;
    background-color: inherit;
}



.pageTitle {
    color: black;
}


/*Styles for Product Manage*/

/* Main Container Styles */
.ProductManage-container {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.ProductManage-content {
    display: flex;
    gap: 24px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Left Column Styles */
.ProductManage-left-col {
    flex: 1;
    min-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Right Column Styles */
.ProductManage-right-col {
    flex: 2;
    min-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Gallery Styles */
.ProductManage-gallery-container {
    background: white;
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.ProductManage-gallery {
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 16px;
}

.ProductManage-gallery-img {
    width: 100%;
    height: 350px;
    object-fit: contain;
    background-color: #f5f5f5;
}

.ProductManage-gallery-control {
    background-color: rgba(0, 0, 0, 0.2);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

/* Upload Section */
.ProductManage-upload-section {
    background: #f8f9fa;
    border-radius: 6px;
    padding: 16px;
}

.ProductManage-upload-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.ProductManage-upload-hint {
    font-size: 12px;
    color: #6c757d;
}

.ProductManage-uploader .e-file-select-wrap {
    padding: 12px;
    border: 2px dashed #dee2e6;
    border-radius: 6px;
    background: white;
}

.ProductManage-uploader .e-file-drop {
    font-size: 14px;
    color: #495057;
}

/* Basic Info Section */
.ProductManage-basic-info {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.ProductManage-section-title {
    font-size: 18px;
    font-weight: 600;
    color: #212529;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e9ecef;
}

.ProductManage-form-group {
    margin-bottom: 16px;
}

.ProductManage-input .e-control-wrapper {
    border-radius: 6px;
}

.ProductManage-input .e-input {
    padding: 10px 12px;
}

.ProductManage-status-group {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.ProductManage-status-item {
    display: flex;
    align-items: center;
}

.ProductManage-checkbox .e-frame {
    border-radius: 4px;
}

/* Image List Section */
.ProductManage-image-list {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.ProductManage-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.ProductManage-count-badge {
    background: #e9ecef;
    color: #495057;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.ProductManage-image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
}

.ProductManage-image-card {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #e9ecef;
    aspect-ratio: 1/1;
}

.ProductManage-main-image {
    border: 2px solid #0d6efd;
}

.ProductManage-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ProductManage-image-actions {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    background: rgba(0, 0, 0, 0.6);
    padding: 6px;
    justify-content: center;
    gap: 8px;
}

.ProductManage-image-btn {
    background: transparent;
    border: none;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.ProductManage-set-main-btn {
    background: rgba(13, 110, 253, 0.8);
}

    .ProductManage-set-main-btn:hover {
        background: #0d6efd;
    }

.ProductManage-delete-btn {
    background: rgba(220, 53, 69, 0.8);
}

    .ProductManage-delete-btn:hover {
        background: #dc3545;
    }

.ProductManage-btn-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: rgba(108, 117, 125, 0.8);
}

.ProductManage-main-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    background: #0d6efd;
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
}

.ProductManage-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    color: #6c757d;
    text-align: center;
}

.ProductManage-empty-icon {
    font-size: 48px;
    margin-bottom: 12px;
    opacity: 0.5;
}

/* Pricing & Inventory Sections */
.ProductManage-pricing-section,
.ProductManage-inventory-section {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.ProductManage-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.ProductManage-price-input {
    width: 200px;
}

.ProductManage-grid .e-gridheader,
.ProductManage-grid .e-gridcontent {
    border-radius: 6px;
}

.ProductManage-grid .e-toolbar-items {
    background: transparent;
}

.ProductManage-grid .e-searchinput {
    border-radius: 20px;
    padding: 6px 12px;
}

/* Audit Section */
.ProductManage-audit-section {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.ProductManage-audit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.ProductManage-audit-row {
    display: flex;
    flex-direction: column;
}

.ProductManage-audit-label {
    font-size: 13px;
    color: #6c757d;
}

.ProductManage-audit-value {
    font-size: 14px;
    font-weight: 500;
    color: #212529;
}

/* Action Bar Styles */
.ProductManage-action-bar {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 20px;
    background: white;
    border-top: 1px solid #e9ecef;
    margin-top: 20px;
    border-radius: 0 0 8px 8px;
}

.ProductManage-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    font-size: 14px;
}

.ProductManage-btn-primary {
    background-color: #0d6efd;
    color: white;
}

    .ProductManage-btn-primary:hover {
        background-color: #0b5ed7;
    }

.ProductManage-btn-secondary {
    background-color: #6c757d;
    color: white;
    text-decoration: none;
}

    .ProductManage-btn-secondary:hover {
        background-color: #5c636a;
        color: white;
    }

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .ProductManage-content {
        flex-direction: column;
    }

    .ProductManage-left-col,
    .ProductManage-right-col {
        min-width: 100%;
    }
}


/* Public Product Styles */
.public-product-container {
    display: flex;
    gap: 20px;
    padding: 20px;
    flex-wrap: wrap;
}

.public-product-panel {
    flex: 1;
    min-width: 420px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.public-product-left {
    max-width: 50%;
}

.public-product-right {
    max-width: 48%;
}

.public-product-card {
    background-color: #ffffff;
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.public-product-grid-card {
    height: 100%;
}

.public-product-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.ecommerce-combobox .e-control {
    font-size: 14px;
}

.e-btn {
    border-radius: 6px;
}

@media screen and (max-width: 1000px) {
    .public-product-left,
    .public-product-right {
        max-width: 100%;
    }
}

.PublicCatalogProduct-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .PublicCatalogProduct-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    }

.PublicCatalogProduct-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background-color: #e9ecef;
}

.PublicCatalogProduct-body {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.PublicCatalogProduct-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.PublicCatalogProduct-price {
    font-size: 1.25rem;
    font-weight: bold;
    color: #b12704;
    margin-bottom: 10px;
}

.PublicCatalogProduct-stock {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 15px;
}

.PublicCatalogProduct-add-to-cart-btn {
    border: none;
    border-radius: 5px;
    padding: 10px;
    font-weight: 500;
    color: #111;
    transition: background-color 0.2s ease;
    background-color: orange;
}

    .PublicCatalogProduct-add-to-cart-btn:hover {
        color: black;
        background-color: orange;
    }

.PublicCatalogProduct-filter-bar {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.PublicCatalogProduct-pagination {
    justify-content: center;
    margin-top: 20px;
}

@media (max-width: 576px) {
    .PublicCatalogProduct-card {
        margin-bottom: 20px;
    }

    .PublicCatalogProduct-image {
        height: 150px;
    }

    .PublicCatalogProduct-title {
        font-size: 1rem;
    }
}