﻿.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.4) !important;
    /* Lighter black for backdrop */
}

.banner-premium,
.banner-global {
    width: 100%;
    height: auto;
    position: absolute;
    right: 0px;
    top: -160px;
    z-index: 1;
    opacity: 0.99;
    pointer-events: none;
}

.logo {
    width: 100px;
    height: auto;
    position: absolute;
    right: 20px;
    bottom: -20px;
    opacity: 0.5;
}

.top-middle {
    text-align: left;
}

.bg-subscribe {
    background: linear-gradient(-90deg, #7275E2 0%, #5C2D91 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.bg-subscribe-premium {
    background: linear-gradient(-90deg, #7275E2 0%, #AC62A8 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.bg-subscribe-global {
    background: linear-gradient(90deg, #4C426B 0%, #221C35 100%);
    color: #EFC334;
    position: relative;
    overflow: hidden;
    text-align: left;
    width: 100%;
    height: inherit;
}

.bg-subscribe-global .logo {
    width: 100px;
    left: inherit;
}

.home-header {
    background: linear-gradient(to bottom,
            transparent 50%,
            /* Purple color for top half */
            #ffffff 50%
            /* White color for bottom half */
        );
}

.slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.borderless td,
.borderless th {
    border: none;
}

.my-account {
    text-align: left;
}

#preLaunchingModal .modal-dialog {
    max-width: 500px;
    /* Adjust this value to make the modal smaller */
}

.bg-haroct {
    background-color: #5C2D91 !important;
}

.bg-haroct-3.active {
    background-color: #5C2D91;
    color: white;
}

.card {
    border: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.switch-vertical-btn {
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.switch-vertical-btn img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.fruit-btn {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    /* Positioned relative to .switch-vertical */
    right: 30px;
    bottom: 80px;
}

.vege-btn {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    /* Positioned relative to .switch-vertical */
    right: 80px;
    bottom: 30px;
}

.agri-btn {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 70px;
    top: 52px;
}

.btn-vertical.active {
    background-color: #5C2D91 !important;
}

.notification-dropdown {
    display: none;
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    width: 350px !important;
    max-height: 500px;
    overflow-y: auto;
    z-index: 100;
    padding: 0;
}

.notification-header {
    padding: 15px 15px 0 15px;
    border-bottom: 1px solid #ECECEC;
    position: sticky;
    top: 0;
    background: white;
    z-index: 1;
}

.notification-header h5 {
    margin: 0 0 15px 0;
    color: #541855;
    font-weight: bold;
}

.notification-tabs {
    display: flex;
    gap: 20px;
    padding: 0 15px;
    border-bottom: 1px solid #ECECEC;
}

.tab-btn {
    padding: 0 0 10px 0;
    border: none;
    background: transparent;
    color: #6c757d;
    font-size: 14px;
    cursor: pointer;
    position: relative;
    white-space: nowrap;
    outline: none;
}

.tab-btn.active {
    color: #541855;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: #541855;
    border-radius: 2px 2px 0 0;
}

.notification-content {
    padding: 0 15px;
}

.notification-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid #ECECEC;
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-item img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.notification-content p {
    margin: 0;
    font-size: 15px;
    color: #373935;
    line-height: 1.4;
}

.notification-content small {
    color: #6c757d;
    font-size: 13px;
    display: block;
    margin-top: 4px;
}

.empty-notifications {
    text-align: center;
    padding: 20px;
    color: #6c757d;
}

.bg-rank-section {
    background: linear-gradient(0deg, rgba(92, 45, 145, 1) 0%, rgba(18, 4, 63, 0.95) 100%);
    background-size: contain;
    color: white;
    position: relative;
    z-index: 1;
}

.bg-rank-section:after {
    position: absolute;
    top: 0;
    left: 0;
    background: url('../../assets/images/bg-spotlight.png') no-repeat top center;
    width: 100%;
    height: 100%;
    content: '';
    z-index: -1;
}

.bg-rank-1 {
    background: linear-gradient(0deg, rgba(255, 204, 0, 1) 0%, rgba(255, 239, 119, 1) 100%);
    color: #A95F0B;
}

.bg-rank-1 .btn {
    color: #A95F0B;
}

.bg-rank-2 {
    background: linear-gradient(0deg, rgba(195, 223, 244, 1) 0%, rgba(195, 223, 244, 1) 100%);
    color: #4D6A94;
}

.bg-rank-2 .btn {
    color: #4D6A94;
}

.bg-rank-3 {
    background: linear-gradient(0deg, rgba(230, 158, 86, 1) 0%, rgba(230, 158, 86, 1) 100%);
}

.bg-rank-3 .btn {
    color: #A8794A;
}

.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.slide {
    flex: 0 0 40%;
    margin-right: 25px;
    /* me-4 equivalent */
}

.slide img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Touch device improvements */
.slider {
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
}

.slide {
    scroll-snap-align: start;
}

.custom-menu-wrapper {
    background-color: #fff;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

/* Force one row on desktop, allow scroll on mobile */
.menu-flex-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow-x: auto;
    /* Enables horizontal swipe on mobile */
    flex-wrap: nowrap;
    /* CRITICAL: Prevents wrapping to second line */
}

/* Individual item styling */
.menu-item {
    display: flex;
    align-items: center;
    padding: 0 15px;
    white-space: nowrap;
    /* Prevents text from breaking into two lines */
    flex-shrink: 0;
    /* Prevents icons from squishing */
}

.menu-icon {
    width: 42px;
    height: 42px;
    object-fit: contain;
    margin-right: 10px;
}

.menu-text {
    font-weight: 700;
    color: #333;
    font-size: 14px;
}

/* The vertical divider line */
.menu-divider {
    width: 1px;
    height: 35px;
    background-color: #eee;
    flex-shrink: 0;
}

/* Hide scrollbar for a cleaner look while keeping functionality */
.menu-flex-container::-webkit-scrollbar {
    display: none;
}

.menu-flex-container {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

#price-index-marquee {
    display: inline-block;
    padding-left: 0;
    animation: marquee 30s linear infinite;
}

#price-index-marquee:hover {
    animation-play-state: paused;
}

.bg-subscribe-global {
    background: linear-gradient(90deg, #4C426B 0%, #221C35 100%);
    color: #EFC334;
    position: relative;
    overflow: hidden;
}

.bg-product-stock {
    background: linear-gradient(0deg, rgba(114, 117, 226, 1) 0%, rgba(92, 45, 145, 1) 100%);
    color: white;
}

.rate {
    direction: rtl;
    display: inline-block;
}

.rate .fa-star {
    font-size: 2.5rem;
}

.rate label {
    color: #ccc;
    transition: all 0.2s ease;
}

.rate label:hover,
.rate label:hover~label,
.rate input:checked~label {
    color: gold;
}

.rate input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.btn-tag-haroct {
    border: 1px solid #fff;
    background-color: #F7F7FC !important;
    color: #5C2D91 !important;
}

.btn-check:checked+.btn-tag-haroct {
    background-color: #5C2D91 !important;
    color: white !important;
}

.btn-check+.btn-tag-haroct:hover {
    color: #5C2D91 !important;
    background-color: #F7F7FC !important;
    border: 1px solid #5C2D91 !important;
}

.btn-check:checked+.btn-tag-haroct:hover {
    background-color: #4C267A !important;
    color: #fff !important;
}

.bg-rank-1 a {
    color: #A95F0B;
    background-color: rgba(255, 255, 255, 0.8) !important;
}

.bg-rank-2 a {
    color: #4D6A94;
    background-color: rgba(255, 255, 255, 0.8) !important;
}

.bg-rank-3 {
    background: linear-gradient(0deg, rgba(230, 158, 86, 1) 0%, rgba(230, 158, 86, 1) 100%);
    color: #fff;
}

.bg-rank-3 a {
    color: rgba(230, 158, 86, 1);
    background-color: rgba(255, 255, 255, 0.8) !important;
}

.bg-rank-1 a:hover,
.bg-rank-2 a:hover,
.bg-rank-3 a:hover {
    background-color: #4e277a !important;
}

.rank-1-text {
    color: #A95F0B !important;
}

.rank-2-text {
    color: #4D6A94 !important;
}

.rank-3-text {
    color: #FFF3E6 !important;
}

.rank-wrapper {
    position: absolute;
    left: 3px;
    top: 0;
    width: 25px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rank-badge {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 12px;
}

.rank-badge-1 {
    background: url('../../assets/images/rank-1.svg') no-repeat center;
    background-size: contain;
    color: #A95F0B;
}

.rank-badge-2 {
    background: url('../../assets/images/rank-2.svg') no-repeat center;
    background-size: contain;
    color: #4D6A94;
}

.rank-badge-3 {
    background: url('../../assets/images/rank-3.svg') no-repeat center;
    background-size: contain;
    color: #FFF3E6;
}

body {
    font-family: Arial, sans-serif;
    height: 100vh;
    margin: 0;
    padding: 0;
}

.header {
    font-size: 24px;
    color: #333333;
    margin-bottom: 20px;
    font-weight: 600;
}

.d-none {
    display: none !important;
}

.button-container {
    display: flex;
    justify-content: space-between;
    /* This will space them evenly */
    gap: 4%;
    /* This creates the remaining space between them (100% - 48% - 48% = 4%) */
    width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
}

.button-card {
    border: 2px solid #ccc;
    border-radius: 10px;
    padding: 10px;
    width: 48%;
    /* Each card takes 48% of container width */
    height: 200px;
    text-align: center;
    font-size: 24px;
    font-weight: 400;
    font-family: 'Roboto';
    background-color: white;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    box-sizing: border-box;
    /* Include padding and border in width calculation */
}

.button-card:hover {
    border-color: #5C2D91;
    transform: translateY(-5px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.button-container .button-card.active {
    border-color: #5C2D91;
    transform: translateY(-5px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.button-card:not(.active) {
    opacity: 0.6;
    border-color: #ccc;
    background-color: #f9f9f9;
}

.button-card img {
    width: 100px;
    height: auto;
    margin-bottom: 10px;
}

.button-card span {
    font-size: 18px;
    color: #333;
    font-weight: 600;
}

#nextButton {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #ECECEC;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: not-allowed;
    transition: background-color 0.3s ease-in-out;
}

#nextButton:enabled {
    background-color: #5C2D91;
    cursor: pointer;
}

#nextButton:hover:enabled {
    background-color: #4a1f73;
}

.intl-tel-input {
    display: inherit;
}

.passcode-header {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 30px;
    width: 100%;
}

/* Style for the back button */
.btn-back-to-login {
    color: #6a1b9a !important;
    cursor: pointer;
    font-size: 20px;
    margin-right: 10px;
    position: static;
    /* Remove absolute positioning */
    left: auto;
    top: auto;
}

.btn-back-to-login:hover {
    color: #4a1f73 !important;
    transform: translateX(-2px);
    /* Small animation on hover */
    transition: all 0.2s ease;
}

.btn-back-to-passcode {
    color: #6a1b9a !important;
    cursor: pointer;
    font-size: 20px;
    margin-right: 10px;
    position: static;
    /* Remove absolute positioning */
    left: auto;
    top: auto;
}

.btn-back-to-passcode:hover {
    color: #4a1f73 !important;
    transform: translateX(-2px);
    /* Small animation on hover */
    transition: all 0.2s ease;
}

/* Style for the heading */
.passcode-header .header {
    margin: 0;
    font-size: 24px;
    text-align: center;
    display: inline-block;
}

.passcode-inputs {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 5px;
    margin-bottom: 20px;
    max-width: 100%;
    overflow: hidden;
}

.passcode-inputs input {
    width: 40px;
    height: 40px;
    font-size: 24px;
    text-align: center;
    border: 1px solid #cccccc;
    border-radius: 5px;
    margin: 0 5px;
    /* Add some margin between inputs */
}

.passcode-inputs input.error {
    border-color: red;
}

.reset-passcode {
    color: #6a1b9a;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 20px;
    display: inline-block;
}

.next-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    height: 40px;
    background-color: #e0e0e0;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    color: #666666;
    cursor: pointer;
}

.next-button i {
    margin-left: 5px;
}

.wrong-passcode-msg {
    font-size: 14px;
    color: red;
    text-align: center;
}

.form-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    width: 100vw;
    background-color: #F7F7FC;
    /* Changed from #f2f2f2 to #F7F7FC */
    padding: 20px;
    /* Add some padding */
    box-sizing: border-box;
}

.main-content.login {
    width: 450px;
    height: 510px;
    /* Changed from 80% to auto for better responsiveness */
    background-color: #ffffff;
    padding: 40px 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    overflow-y: auto;
    position: relative;
    margin: 20px 0;
    /* Add some margin */
}

.main-content.login .header,
.main-content.login h3,
.main-content.login h4 {
    text-align: center;
}

/* Center buttons and reset link */
.center-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
}

.reset-passcode {
    text-align: center;
    color: #6a1b9a;
    text-decoration: none;
    font-size: 14px;
    margin: 15px 0;
}

.btn-back-to-login i {
    margin-right: 5px;
}

.btn-back-to-passcode i {
    margin-right: 5px;
}

.passcode-section,
.passcode-confirm,
.passcode-enter {
    position: relative;
}

/* Language Selector Styles */
.language-selector-container {
    display: flex;
    justify-content: flex-end;
    padding: 10px 15px;
    margin-bottom: 10px;
}

.btn-language-selector {
    background: none;
    border: none;
    color: #6a1b9a;
    font-size: 14px;
    display: flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.btn-language-selector:hover {
    background-color: #f0e6ff;
}

/* Language Modal Styles */
.language-options .list-group-item {
    border: none;
    padding: 12px 20px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: all 0.2s;
}

.language-options .list-group-item:hover {
    background-color: #f8f9fa;
}

.language-options .form-check-input {
    margin: 0;
    width: 18px;
    height: 18px;
    border: 2px solid #FFA800;
    position: relative;
}

.language-options .form-check-input:checked {
    background-color: #FFA800;
    border-color: #FFA800;
}

.language-options .form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(106, 27, 154, 0.25);
    border-color: #FFA800;
}

#languageModal .modal-content {
    border-radius: 12px;
    overflow: hidden;
}

#languageModal .modal-body {
    padding: 0;
}

.phone-input-container {
    width: 100%;
}

/* Override intl-tel-input styles to match form control width */
.phone-input-container .intl-tel-input {
    width: 100%;
    display: block;
}

.phone-input-container .form-control {
    width: 100% !important;
    padding-left: 52px;
    /* Adjust based on your country flag width */
}

/* Make sure the flag container doesn't break the layout */
.phone-input-container .iti__flag-container {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    padding: 0 5px;
}

/* Adjust dropdown styling if needed */
.phone-input-container .iti__country-list {
    width: 100%;
    min-width: 100%;
}

.role-box {
    position: relative;
}

.container-fluid {
    position: relative;
    overflow: hidden;
    padding-left: 0;
    /* Remove default padding */
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
}

.col-md-3.bg-haroct {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 25%;
    /* Match this with the margin-left of the row */
    height: 100vh;
    z-index: 1000;
}

.col-md-9 {
    width: 75% !important;
    /* Match this with the width of the sidebar */
    margin-left: 25%;
    /* Same as the sidebar width */
    height: 100vh;
    overflow-y: auto;
    /* Enable scrolling for main content */
    padding: 0%;
    overflow-x: hidden;
}

body {
    overflow-x: hidden !important;
    /* Prevent horizontal scrolling */
}

.role-box:hover::after {
    content: attr(data-hover-text);
    position: absolute;
    bottom: -80px;
    left: 0;
    right: 0;
    background-color: #E0E0F3;
    color: #000;
    padding: 10px;
    text-align: center;
    border-radius: 5px;
    font-size: 14px;
}

.label-field {
    font-size: 14px;
}

.text-danger {
    color: #dc3545 !important;
}

.label-step-4 {
    font-size: 10px;
}


#uploadIC {
    display: none;
    /* Hides the default file input */
}

input[type=\'checkbox\']:checked {
    background-color: #5C2D91;
    border-color: #5C2D91;
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-group .form-control {
    flex: 1;
    padding-right: 40px;
    /* Add padding to prevent text from overlapping the icon */
}

.input-group-text {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    cursor: pointer;
}

.input-group-text img {
    width: 20px;
    /* Adjust icon size */
    height: 20px;
    /* Adjust icon size */
}

.input-group-phone {
    display: flex;
}

.input-group-phone .iti {
    flex: 0 0 auto;
    margin-right: 10px;
    /* Adjust the space between country code and phone input */
}

.input-group-phone input[type="tel"] {
    flex: 1 1 auto;
}

.nav-tabs {
    border-bottom: none;
    /* Remove default border */
}

.nav-tabs .nav-item {
    flex: 1;
    /* Make each tab equal width */
    text-align: center;
}

.nav-tabs .nav-link {
    width: 100%;
    border: none;
    border-radius: 0;
    background-color: #F7F7FC;
    color: #373935;
    padding: 12px 0;
}

.nav-tabs .nav-link.active {
    background-color: #5C2D91 !important;
    color: white !important;
}

.map-container-company {
    height: 300px;
    /* Adjust height as needed */
    width: 100%;
    border: 1px solid #ccc;
}

.map-container-personal {
    height: 340px;
    width: 100%;
    border: 1px solid #ccc;
}

.address-container {
    background-color: #f8f9fa !important;
    /* Force white background */
    border: 1px solid #ddd;
    /* Optional: Add a border for better visibility */
    cursor: pointer;
    width: 100%;
    /* Set a maximum width for the container */
    overflow: hidden;
    /* Hide overflow content */
    text-overflow: ellipsis;
    /* Add ellipsis for overflow text */
    white-space: nowrap;
    /* Prevent text from wrapping */
}

.address-container:hover {
    background-color: #e9ecef;
}

.address-container span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.address-container button {
    background: none;
    border: none;
    color: #5C2D91;
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
    font-size: inherit;
}

.address-container button:hover {
    color: #4a1f6d;
    /* Slightly darker shade for hover */
}

/* Step 4 - Personal and Business Phone Input */
#step4 input[type="tel"] {
    width: 100% !important;
    /* Ensure full width */
    min-width: 250px;
    /* Adjust this value as needed */
}

.product-item {
    display: flex;
    align-items: center;
    padding: 5px;
    border-bottom: 1px solid #ddd;
    gap: 10px;
    /* space between checkbox and label */
}

.product-item:hover {
    background-color: #f0f0f0;
}

.product-checkbox {
    accent-color: #541855;
    margin-right: 10px;
}

.product-label {
    margin: 0;
    flex-grow: 1;
    text-align: left;
}

.confirm-product-name {
    background-color: #541855;
    color: white;
}

.pac-container {
    z-index: 1051 !important;
}

.error-text {
    display: block !important;
    /* Ensure error messages are visible */
    color: red;
    /* Make error messages stand out */
    font-size: 12px;
    /* Adjust size as needed */
    margin-top: 5px;
    /* Add spacing */
}

.tab-pane:not(.active) {
    display: none !important;
}

.steps {
    margin-top: 3rem;
    width: 260px;
    position: relative;
}

.step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    position: relative;
    opacity: 0.6;
    /* Default opacity for all steps */
    transition: opacity 0.3s ease;
}

.step.active {
    opacity: 1;
    /* Full opacity for active step */
}

.step-number {
    background: #ffffff;
    color: #5A2D91;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: normal;
    /* Default weight */
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.step.active .step-number {
    font-weight: bold;
    /* Bold for active step */
}

.step-text {
    margin-left: 1rem;
}

.step-text b {
    display: block;
    font-size: 1rem;
    font-weight: normal;
    /* Default weight */
}

.step.active .step-text b {
    font-weight: bold;
    /* Bold for active step */
}

.step-text small {
    opacity: 0.8;
}

.connector {
    height: 40px;
    border-left: 2px solid rgba(255, 255, 255, 0.3);
    margin: 0 0 0 14px;
    position: relative;
}

.connector.active {
    border-color: #fff;
}


.agri-input-product .row {
    margin: 0 -5px;
    /* Adjust gutter spacing */
}

.agri-product-box {
    border: 1px solid #E0E0F3;
    /* Default border */
    border-radius: 8px;
    padding: 15px;
    height: 100%;
    /* Ensure equal height */
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    margin: 5px;
    /* Spacing between boxes */
}

.agri-product-box:hover {
    border-color: #5C2D91;
    /* Hover effect */
}


.agri-product-box.selected {
    border: 2px solid #5C2D91;
    background-color: rgba(92, 45, 145, 0.05);
}

.agri-product-checkbox {
    position: absolute;
    opacity: 0;
}

.agri-product-box img {
    max-width: 80px;
    /* Control image size */
    height: auto;
    margin-bottom: 10px;
}

.agri-product-box label {
    cursor: pointer;
    width: 100%;
}

/* Ensure 4 products per row (12/4=3) */
.agri-product-container {
    display: flex;
    flex-wrap: wrap;
}

.agri-product-item {
    flex: 0 0 25%;
    /* 4 per row */
    max-width: 25%;
    padding: 0 5px;
    /* Spacing */
    margin-bottom: 10px;
}

.border-dashed {
    border-style: dashed !important;
}

.logo-placeholder {
    width: 50px;
    height: 50px;
    background-color: #f2f2f7;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    cursor: pointer;
    overflow: hidden;
}

.logo-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.placeholder-icon {
    width: 30px;
    height: 30px;
    color: #b0b0bb;
}

.upload-btn {
    background-color: #6a1b9a;
    border-color: #6a1b9a;
}

.upload-btn:hover {
    background-color: #5b1580;
    border-color: #5b1580;
}

.pin-inputs input.pin,
.otp-pin {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    text-align: center;
    margin: 0 5px;
    border: 2px solid #ddd;
    border-radius: 5px;
}

.pin-inputs input.pin:focus,
.otp-pin:focus {
    border-color: #5C2D91;
}

body {
    padding-bottom: 0 !important;
}

.chat-message {
    margin-bottom: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 0.6rem 0.6rem 0.6rem 0;
    background-color: white;
    width: 20%;
    /* Increased from 20% to 60% */
    min-width: fit-content;
    max-width: 90%;
    /* Added to push messages towards center */
}

.chat-message.me {
    background-color: #5C2D91;
    align-self: flex-end;
    color: white;
    text-align: end;
    width: 20%;
    /* Increased from 20% to 60% */
    min-width: fit-content;
    max-width: 90%;
    margin-left: auto;
    /* Added to push messages towards center */
    border-radius: 0.6rem 0.6rem 0 0.6rem;
}

.chat-message.chat-products {
    min-width: 100%;
}

.file-input {
    display: none;
}

.popup-menu {
    position: absolute;
    top: 60px;
    /* Position below the settings icon */
    right: 15px;
    /* Align to the right */
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    z-index: 999;
}

.popup-menu ul {
    padding: 0;
    margin: 0;
}

.popup-menu li {
    cursor: pointer;
}

.popup-menu li:hover {
    background-color: #f1f1f1;
}

.chat-message img {
    width: 100%;
    max-width: 400px;
    /* Limit maximum width */
    max-height: 400px;
    /* Limit maximum height */
    object-fit: cover;
    /* Maintain aspect ratio while covering area */
    margin: 4px 0;
    /* Add some vertical spacing */
}

.chat-message .fa-paperclip {
    display: none;
    /* Hide the paperclip icon since we're showing the image directly */
}

#searchChat {
    display: none;
}

.modal-backdrop.show {
    opacity: 0.8;
}

.chat-image {
    display: inline-block;
    cursor: pointer;
    text-decoration: none;
}

.chat-image img {
    transition: opacity 0.2s ease-in-out;
}

.chat-image:hover img {
    opacity: 0.9;
}

#imageModal .modal-dialog {
    max-width: 90vw;
}

#imageModal .modal-content {
    background: transparent;
}

#imageModal .btn-close {
    z-index: 1;
    opacity: 1;
    background-color: white;
    border-radius: 50%;
    padding: 0.5rem;
}

#imageModal .btn-close:hover {
    background-color: #f8f9fa;
}

#modalImage {
    max-height: 90vh;
    object-fit: contain;
}

.search-highlight {
    background-color: #5C2D91 !important;
    border-radius: 3px;
    padding: 2px 4px;
    margin: 0 -2px;
    box-shadow: 0 1px 2px rgba(92, 45, 145, 0.1);
    transition: all 0.2s ease;
    position: relative;
    display: inline-block;
    color: white;
}

/* Special styling for highlighted text in "me" messages */
.chat-message.me .search-highlight {
    background-color: white !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    color: #5C2D91;
}

/* Hover effect */
.search-highlight:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(92, 45, 145, 0.15);
}

.view-more-box {
    height: 100%;
    min-height: 220px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    border: 1px solid #ddd;
    display: flex;
    position: relative;
    overflow: hidden;
    width: 40px;
}

.view-more-box span {
    transform: rotate(-90deg);
    white-space: nowrap;
}

.chat-container {
    display: flex;
    flex-direction: column;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.conversation-item {
    color: #5C2D91;
    padding: 10px;
    cursor: pointer;
    display: block;
}

.conversation-item:hover {
    color: #5C2D91;
    background-color: #f5f5f5;
}

.photo-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.photo-gallery .gallery-item {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    position: relative;
    border-radius: 8px;
}

.photo-gallery .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-item .selection-overlay {
    position: absolute;
    bottom: 8px;
    right: 16px;
    display: none;
}

.gallery-item .selection-overlay.active {
    display: block;
}

/* Custom checkbox */
.custom-checkbox {
    display: block;
    position: relative;
    cursor: pointer;
    user-select: none;
    width: 24px;
    height: 24px;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 24px;
    width: 24px;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid white;
    border-radius: 50%;
}

.custom-checkbox input:checked~.checkmark {
    background-color: #FFC107;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.custom-checkbox input:checked~.checkmark:after {
    display: block;
}

.custom-checkbox .checkmark:after {
    left: 8px;
    top: 4px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

@media (max-width: 768px) {
    .photo-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

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



.submit-bank {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.arrow-icon {
    position: absolute;
    right: 15px;
}

.bank-item {
    padding: 10px 15px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s;
}

.bank-item:hover {
    background-color: #f8f9fa;
}

.bank-item.selected {
    background-color: #e9ecef;
}

.deposit-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 25%;
    /* Default width for larger screens */
    min-width: 150px;
    /* Minimum width to prevent it from becoming too narrow */
    max-width: 250px;
    /* Maximum width to prevent it from becoming too wide */
}


.deposit-text {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.header-content {
    padding: 20px;
    text-align: center;
    margin-bottom: 20px;
}

.title-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.title {
    margin: 0;
    font-size: 1.5rem;
}

.icons {
    position: absolute;
    right: 10px;
    display: flex;
    gap: 10px;
}

.icons i {
    font-size: 1.2rem;
}

.balance-section {
    margin: 20px 0;
}

.balance-label {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

.balance-amount,
.purchasable-amount,
.credit-amount {
    margin: 5px 0;
    font-size: 1.5rem;
    font-weight: bold;
}

.balance-text {
    text-align: LEFT;
    color: black;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.action-buttons {
    position: relative;
    top: 25px;
    background: white;
    padding: 15px;
    border-radius: 15px;
    margin: 0 auto;
    width: 30%;
    min-width: 300px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.header-action {
    padding: 20px;
    text-align: center;
    height: 120px;
    margin-top: -55px;
    border-radius: 0 0 100% 100%;
    z-index: 1;
}

.action-buttons small {
    color: #333;
    font-size: 0.9rem;
}

.amount-btn {
    min-height: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.2s ease;
    border-radius: 8px !important;
    padding: 10px 5px !important;
}

.amount-btn:hover {
    border-color: #5C2D91;
}

.amount-btn.selected {
    background-color: #5C2D91 !important;
    color: white !important;
    border-color: #5C2D91 !important;
}

.amount-btn.selected span {
    color: white !important;
}


@media (max-width: 768px) {
    .deposit-btn {
        width: 100%;
        max-width: 100%;
    }
}

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

    .amount-btn {
        min-height: 50px;
        font-size: 0.9rem;
    }
}

/* For very small screens */
@media (max-width: 360px) {
    .deposit {
        grid-template-columns: repeat(2, 1fr);
    }
}

.pin-inputs input.pin {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    text-align: center;
    margin: 0 5px;
    border: 2px solid #ddd;
    border-radius: 5px;
}

.pin-inputs input.pin:focus {
    border-color: #5C2D91;
}

/* Replace the existing bank select with this */
.bank-select-button {
    width: 100%;
    text-align: left;
    background: white;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    padding: 0.375rem 0.75rem;
    position: relative;
    min-height: 38px;
}

.bank-select-button::after {
    content: '';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #6c757d;
}

.nav-tabs {
    display: flex;
    width: 100%;
}

.nav-tabs .nav-item {
    flex: 1;
    text-align: center;
    background: #d9d9d9 !important;
}

.nav-tabs .nav-link {
    width: 100%;
    background-color: #d9d9d9;
    border-color: #d9d9d9 !important;
    border-radius: .25rem !important;
}

.nav-tabs .nav-link.active {
    font-weight: bold;
    background-color: #ffffff;
    border-color: #d9d9d9;
    color: #000000;
}

.nav-tabs .nav-link {
    border: 1px solid #d9d9d9;
    color: #6c757d;
}

.clickable-text {
    color: #000000;
    font-weight: bold;
    cursor: pointer;
    font-size: 16px;
}

.clickable-text:hover {
    color: #3a0e3a;
}

.quick-range {
    background-color: #f4ecf7;
    border: none;
    color: #5C2D91;
    cursor: pointer;
}

.default-badge {
    background-color: #f4ecf7;
    border: none;
    color: #5C2D91;
}

/* Transaction item styles */
.border-bottom {
    border-bottom: 1px solid #dee2e6 !important;
}

.text-haroct {
    color: #5C2D91;
}

.text-muted {
    color: #6c757d !important;
}

.fw-bold {
    font-weight: bold !important;
}

.text-right {
    text-align: right !important;
}

input[type="checkbox"]:checked {
    color: #5C2D91;
}

input[type="radio"]:checked {
    color: #5C2D91;
}

.transaction-item {
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.transaction-item:hover {
    background-color: #f8f9fa;
}

.icons {
    position: absolute;
    right: 10px;
    /* Adjust as needed */
    display: flex;
    gap: 10px;
}

.action-buttons {
    position: relative;
    top: 30px;
    display: flex;
    justify-content: space-around;
    background: white;
    padding: 15px;
    border-radius: 15px;
    margin: 0 auto;
    width: 30%;
    min-width: 300px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    /* Added shadow */
}

.action-items {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    /* keeps it responsive */
}

.action-item {
    text-align: center;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: white;
    padding: 20px;
    border-radius: 15px;
    min-width: 300px;
    margin: 0 auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.option-items {
    width: 100%;
}

.action-icon {
    background-color: #efeaf4;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
    font-size: 1.4rem;
}

.action-text {
    font-size: 0.85rem;
}

.header-action {
    padding: 20px;
    text-align: center;
    height: 120px;
    /* Adjust this value based on your needs */
    position: relative;
    margin-top: -60px;
    /* Half of the height to overlap */
    border-radius: 30px 30px 100% 100%;
    z-index: 1;
    /* Ensure it stays above content below */
}

.deposit-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.balance-amount {
    margin: 5px 0;
    font-size: 2rem;
    font-weight: bold;
}

.amount-btn {
    min-height: 45px;
    transition: all 0.2s ease;
}

.pin-inputs {
    display: flex;
    margin-bottom: 20px;
}

.pin-inputs .pin-input {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    text-align: center;
    margin-right: 10px;
    border: 2px solid #ddd;
    border-radius: 5px;
}

.pin-inputs input:focus {
    border-color: #541855;
    outline: none;
}

.pin-input.error {
    border-color: #FF0000 !important;
}

.btn-haroct {
    background-color: #6a1b9a;
    color: white;
    padding: 8px 20px;
    border-radius: 5px;
}

.btn-haroct:hover {
    background-color: #3a0e3a;
    color: white;
}

.modal-title {
    text-align: left;
}

.submit-withdraw {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.switch-container {
    display: flex;
    border-radius: 20px;
    background-color: #f1f1f1;
    overflow: hidden;
    width: fit-content;
    margin-left: auto;
}

.btn-switch {
    flex: 1;
    padding: 6px 12px;
    border: none;
    background-color: transparent;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    min-width: 80px;
    color: #5C2D91;
}

.btn-switch.active {
    background-color: #5C2D91 !important;
    color: white;
}

.btn-payment.active {
    border: 1px solid #5C2D91 !important;
}

.form-check-input:not(:checked) {
    background-color: white;
    border-color: white;
}

.form-check-input:checked {
    background-color: #5C2D91;
    border-color: #5C2D91;
}

@media (max-width: 768px) {
    .subscribe-trial {
        min-width: 100%;
    }
}

.card-global {
    border: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.card-premium {
    border: 2px solid #5C2D91;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

@media (min-width: 769px) {
    .fa-chevron-down {
        display: none !important;
    }
}

@media (max-width: 768px) {

    .card,
    .card-premium,
    .card-global {
        cursor: pointer;
        min-width: 100%;
        overflow: hidden;
        max-height: 100px;
        /* collapsed height */
    }

    .card.expanded,
    .card-premium.expanded,
    .card-global.expanded {
        max-height: 1000px;
        /* allow full expansion */
    }


    .card-content {
        display: none;
    }

    .card-content.show {
        display: block;
    }

    .sub-price {
        flex-direction: row !important;
    }

    .popular-label {
        margin-bottom: 0 !important;
    }

    .text-muted.mt-2 {
        margin-top: 0 !important;
    }

    .card-header-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

        .card-chevron {
        margin-left: auto;
    }
}

@media (max-width: 768px) {

    .card,
    .card-premium,
    .card-global {
        cursor: pointer;
        min-width: 100%;
        overflow: hidden;
        max-height: 115px;
        /* collapsed height */
    }
}

.nav-tabs {
    display: flex;
}

.nav-tabs .nav-link {
    width: 100%;
    background-color: #f7f7fc;
    color: black;
}

.nav-tabs .nav-link.active {
    background-color: #f7f7fc;
    border-color: #ffffff;
    border-bottom-color: #5C2D91;
    color: #5C2D91;
}

.sticky-new-order {
    position: fixed;
    bottom: 150px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2000;
    animation: fadeInUp 0.3s ease-out;
    text-align: center;
    width: auto;
}

.tab-content {
    padding-bottom: 80px;
}

.day-box {
    padding: 0.5rem 1rem;
    border: 1px solid #e0e0e0;
    border-left: none;
    text-align: center;
    min-width: 60px;
    cursor: pointer;
    user-select: none;
}

.day-box:first-child {
    border-left: 1px solid #e0e0e0;
}

.dropdown-like-select {
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding: 8px 12px;
    cursor: pointer;
    background-color: white;
}

.dropdown-like-select .select-display {
    display: flex;
    align-items: center;
}

.list-group-item {
    border-left: 0;
    border-right: 0;
    padding: 12px 20px;
}

.list-group-item:first-child {
    border-top: 0;
}

.list-group-item:last-child {
    border-bottom: 0;
}

.channel-selection {
    transition: all 0.3s ease;
}

.input-button-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.input-button {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    border: none;
    padding: 0 15px;
    cursor: pointer;
}

.payment-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.btn.disable {
    opacity: 0.6;
    pointer-events: none;
}

.delivery-photo {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.delivery-photo:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.delivery-photo-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

#modalPhoto {
    max-height: 70vh;
    object-fit: contain;
}

.modal-content {
    background: transparent;
    border: none;
}

.modal-header {
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid #dee2e6;
}

.product-item.active {
    background-color: #E0E0F3;
}

.form-check-input:not(:checked) {
    background-color: white;
    border-color: #f7f7fc;
}

.breaker-border {
    border-bottom: 3px solid #f7f7fc !important;
}

.image-preview-container {
    display: none;
    flex-wrap: wrap;
}

.image-wrapper {
    position: relative;
    width: 200px;
    height: 250px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    margin-right: 10px;
    margin-bottom: 10px;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.delete-image-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: rgba(128, 128, 128, 0.7);
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.delete-image-btn:hover {
    background-color: #666666;
}

.add-photo-container:hover {
    border-color: #5c2d91;
    background-color: #f0f0f0;
}

.btn-add-photo {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.btn-add-photo:hover {
    transform: scale(1.1);
}

.product-item {
    padding: 10px 15px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s;
}

.product-item:hover {
    background-color: #f8f9fa;
}

.product-item.selected {
    background-color: #e9ecef;
}

.origin-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
}

.origin-item:last-child {
    border-bottom: none;
}

.origin-item label {
    margin-bottom: 0;
    flex-grow: 1;
    cursor: pointer;
}

.origin-item input[type="radio"] {
    cursor: pointer;
}

.static-placeholder-input {
    position: relative;
    width: 100%;
}

.static-placeholder {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    pointer-events: none;
    z-index: 3;
}

.form-control.no-placeholder {
    padding-left: 150px;
    /* Adjust based on your placeholder width */
    text-align: right;
    background: transparent;
    position: relative;
    z-index: 2;
}

/* Remove browser default placeholder if any */
.form-control.no-placeholder::placeholder {
    color: transparent;
}

.form-check-input:not(:checked) {
    background-color: white;
    border-color: #ced4da;
}

.image-wrapper video {
    max-width: 100%;
    height: 100%;
    object-fit: cover;
}

.breaker-border {
    border-bottom: 5px solid #f7f7fc !important;
}

.iti {
    width: 100%;
}

body {
    min-height: 100vh;
    position: relative;
}

.nav-link {
    color: #373935;
    /* Menu text color for non-hover or non-active */
    border-radius: 10px;
    padding: 16px;
}

.nav-link .active-icon {
    display: none;
}

.nav-link:hover .active-icon,
.nav-link.active .active-icon {
    display: inline-block;
}

.nav-link:hover .non-active-icon,
.nav-link.active .non-active-icon {
    display: none;
}

/* Custom hover effect */
.nav-link:hover {
    background-color: #5418551A;
    color: #541855;
    font-weight: bold;
}

.nav-link.active {
    background-color: #5418551A;
    color: #541855;
    font-weight: bold;
}

.nav-link img {
    width: 32px;
    height: 32px;
}

.nav-item {
    font-size: 16px;
}

.dropdown-arrow::after {
    font-size: 12px;
    color: #373935;
}

.dropdown-toggle {
    cursor: pointer;
}

.ms-auto {
    margin-left: auto;
}

.stats-container {
    display: flex;
    gap: 30px;
    margin-top: 20px;
}

.stat-box {
    background-color: #FFFFFF;
    border: 2px solid #ECECEC;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    width: 500px;
    flex: 1;
}

.map-container {
    height: 340px;
    width: 100%;
    border: 1px solid #ccc;
}

.map-container-edit {
    height: 340px;
    width: 100%;
    border: 1px solid #ccc;
}

.stat-value {
    font-size: 24px;
    font-weight: bold;
}

.stat-label {
    font-size: 20px;
    color: #373935;
    font-weight: 800;
    text-align: left;
}

.stat-text {
    font-size: 16px;
    color: #6c757d;
}

.logo-container {
    width: 200px;
    height: 200px;
    background-color: #5418551A;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 0 auto;
}

.logo-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 100px;
}

.attach-btn {
    display: inline-block;
    width: auto;
    padding: 8px 20px;
    margin: 20px auto;
    font-size: 14px;
    background-color: #541855;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.form-label {
    color: #868889;
    text-align: left;
    display: block;
}

.required-text {
    color: #FF1313;
}

.required-error {
    border: 2px solid #FF1313 !important;
    /* Red border for invalid fields */
}

.pac-container {
    z-index: 2000 !important;
}

.menu-item {
    padding: 10px;
    border-radius: 8px;
}

.menu-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    font-weight: bold;
    color: #5b2357;
    padding: 10px;
}

.arrow-icon {
    transition: transform 0.3s ease;
}

.submenu {
    display: none;
    padding-left: 20px;
}

.submenu-item {
    display: block;
    color: #777;
    padding: 5px 0;
    text-decoration: none;
}

.submenu-item:hover {
    color: #000;
}

.show {
    display: block;
}

.rotate {
    transform: rotate(180deg);
}

.dot {
    height: 6px;
    width: 6px;
    background-color: red;
    display: inline-block;
    border-radius: 50%;
    margin-left: 5px;
}

.address-row {
    display: flex;
    /* Use flexbox for alignment */
    justify-content: space-between;
    /* Space between label and value */
    align-items: center;
    /* Vertically center align */
    margin-bottom: 10px;
    /* Spacing between rows */
}

.address-label {
    text-align: left;
    /* Align label to the left */
    font-weight: bold;
    /* Optional: Make labels bold */
    flex: 1;
    /* Allow label to take available space */
}

.address-value {
    text-align: left;
    /* Align value to the right */
    font-weight: bold;
    flex: 1;
    /* Allow value to take available space */
}

.badge-default {
    background-color: #0E9A021A;
    border-radius: 2px;
    color: #0E9A02;
}

.badge-label {
    text-align: right;
    flex: 1;
}

.form-check-input:checked {
    background-color: #541855;
    border-color: #541855;
}

.form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(84, 24, 85, 0.25);
}

.btnSetDefault {
    background-color: #8688891A;
    color: #868889;
    border-radius: 2px;
}

/* Add these styles to your existing CSS */
.modal-xl {
    min-width: 900px;
}

/* Optional: Make form elements wider */
#addAddressModal .form-control,
#addAddressModal .form-select,
#editAddressModal .form-control,
#editAddressModal .form-select {
    width: 100%;
}

/* Make the map container wider */
.map-container,
.map-container-edit {
    height: 400px;
    /* Slightly taller */
    width: 100%;
    border: 1px solid #ccc;
    margin-top: 10px;
}

.bulk-input {
    height: calc(1.5em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.nav-tabs {
    display: flex;
    width: 100%;
    height: 54px;
}

.nav-tabs .nav-link {
    width: 100%;
    height: 55px;
    font-weight: bold;
    background-color: #f7f7fc;
    border-color: #f7f7fc !important;
    color: black !important;
}

.nav-tabs .nav-link.active {
    font-weight: bold;
    background-color: #5C2D91;
    border-color: #5C2D91;
    color: #ffffff !important;
}

.select-input {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
}

.select-input:last-child {
    border-bottom: none;
}

.select-input label {
    margin-bottom: 0;
    flex-grow: 1;
    cursor: pointer;
}

.select-input input[type="radio"] {
    cursor: pointer;
}

.disabled-link {
    pointer-events: none;
    background-color: #ececec !important;
    color: #868889 !important;
}

.banner-premium,
.banner-global {
    width: 100%;
    height: auto;
    position: absolute;
    right: 0px;
    bottom: -10px;
    z-index: 1;
    opacity: 0.99;
    pointer-events: none;
}

.toggle-buy {
    border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;
}

.toggle-sell {
    border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;
}

.breaker-border {
    border-bottom: 5px solid #f7f7fc !important;
    /* Adjust the 2px to your desired thickness */
}

.supply-icon {
    width: 65px;
    height: 65px;
}

@media (max-width: 767.98px) {
    .my-supply .d-flex {
        flex-wrap: nowrap !important;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 8px;
    }

    .my-supply .col-6 {
        flex: 0 0 auto;
        width: auto;
        padding: 0 8px;
    }

    .my-supply .mb-4 {
        margin-bottom: 0 !important;
    }

    .supply-icon {
        width: 52px !important;
        height: 52px !important;
    }

        .icon-nav {
        font-size: 11px !important;
    }
}

/* Desktop styles remain unchanged */
@media (min-width: 768px) {
    .my-supply .d-flex {
        width: 100%;
    }
}

@media (max-width: 767.98px) {
    .my-orders .d-flex {
        flex-wrap: nowrap !important;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 8px;
    }

    .my-orders .col-6 {
        flex: 0 0 auto;
        width: auto;
        padding: 0 8px;
    }

        .my-orders .mb-4 {
        margin-bottom: 0 !important;
    }
}

/* Desktop styles remain unchanged */
@media (min-width: 768px) {
    .my-orders .d-flex {
        width: 100%;
    }
}

.card-body {
    padding: 1.5rem !important;
}

.text-muted {
    color: #6c757d !important;
    font-size: 0.875rem;
}

.fw-medium {
    font-weight: 500;
}

.card {
    border-radius: 0.5rem;
}

.row.mb-2 {
    margin-bottom: 0.75rem;
}

.row:last-child {
    margin-bottom: 0;
}

/* Avatar Styles */
.avatar-container {
    display: inline-block;
    position: relative;
}

.avatar-image {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 4px solid #f8f9fa;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.avatar-placeholder {
    width: 120px;
    height: 120px;
    background-color: #5C2D91;
    border: 4px solid #f8f9fa;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.avatar-edit-btn {
    bottom: 5px;
    right: 5px;
    width: 32px;
    height: 32px;
    background-color: #5C2D91;
    border: 2px solid white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.avatar-edit-btn:hover {
    background-color: #4a2474;
    transform: scale(1.1);
}

.text-haroct {
    color: #5C2D91 !important;
}

/* Right alignment for data */
.fw-medium.text-end {
    text-align: right;
    max-width: 60%;
    word-break: break-word;
}

/* Loading spinner */
.spinner-border {
    width: 2rem;
    height: 2rem;
}

/* Email warning dot */
.email-warning-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #dc3545;
    border-radius: 50%;
}

.banner-premium,
.banner-global {
    width: 100%;
    height: auto;
    position: absolute;
    right: 0px;
    bottom: -15px;
}

.nav-tabs .nav-link {
    width: 100%;
    background-color: #d9d9d9;
    border-color: #d9d9d9 !important;
}

.breaker-border {
    border-bottom: 3px solid #f7f7fc !important;
    /* Adjust the 2px to your desired thickness */
}

.setting-popup {
    position: absolute;
    top: 50px;
    right: 0px;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    z-index: 999;
    width: 230px;
}

.setting-popup ul {
    padding: 0;
    margin: 0;
}

.setting-popup li {
    cursor: pointer;
}

.setting-popup li:hover {
    background-color: #f1f1f1;
}

#vouchers-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.voucher-card {
    display: flex;
    align-items: center;
    background: #F7F7FC;
    border-radius: 10px;
    padding: 15px;
    width: 100%;
    /* Full width for single column */
    box-sizing: border-box;
}

.voucher-icon {
    background: #5C2D91;
    color: white;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 20px;
    font-weight: bold;
}

.voucher-details {
    flex-grow: 1;
    margin-left: 15px;
}

.copy-icon {
    cursor: pointer;
}

.copied-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    z-index: 1000;
    display: none;
}

.segment-field {
    min-height: 38px;
    display: flex;
    align-items: center;
}

.segment-field:hover {
    background-color: #e9ecef !important;
}

.form-check-input {
    border: 1px solid #ccc !important;
}

.pin-group {
    display: flex;
    gap: 10px;
}

.pin {
    width: 45px;
    height: 55px;
    text-align: center;
    font-size: 22px;
    border-radius: 10px;
}

.language-item {
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, .1);
    transition: all 0.2s ease;
}

.language-item:hover {
    background: #f8f9ff;
    border-color: #d0d7ff;
}

.language-radio {
    width: 1.2em;
    height: 1.2em;
    accent-color: #6f42c1;
}

.list-group-item {
    border-radius: 12px !important;
}

.bg-buyer-info {
    background: linear-gradient(0deg, rgba(114, 117, 226, 1) 0%, rgba(92, 45, 145, 1) 100%);
}

.bg-haroct-2.active {
    background-color: #5C2D91;
    color: white;
}

.btn-sort {
    background-color: #F7F7FC;
    color: #5C2D91;
}

.btn.active {
    background-color: #5C2D91;
    color: white;
}

.border-haroct {
    border: 1px solid #5C2D91 !important;
}

input[type="checkbox"].form-check-input:checked {
    background-color: #5C2D91;
    border-color: #5C2D91;
}

input[type="checkbox"].form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(84, 24, 85, 0.25);
}

.min-qty-warning {
    color: #dc3545;
    background: none;
    border: none;
    padding: 10px 0;
    margin: 0;
}

#tncModal .modal-dialog {
    width: 800px !important;
}

#tncPreviewModal .modal-dialog {
    width: 800px !important;
}

/* Custom radio button styling */
input[type="radio"].radio-button,
.list-group-item input[type="radio"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 50%;
    outline: none;
    cursor: pointer;
    position: relative;
    margin: 0;
    vertical-align: middle;
    transition: all 0.2s ease;
}

input[type="radio"].radio-button:checked,
.list-group-item input[type="radio"]:checked {
    border-color: #FFA800;
}

input[type="radio"].radio-button:checked::before,
.list-group-item input[type="radio"]:checked::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background-color: #FFA800;
    border-radius: 50%;
}

.payment-method-wrapper {
    border-bottom: 1px solid #dee2e6;
    /* or your color */
}

.form-check-input:checked {
    background-color: #5f259f;
    border-color: #5f259f;
}

.btn-category {
    color: #5C2D91;
}

.btn-category.active {
    background-color: #5C2D91 !important;
    color: white;
}

.remark-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 20px;
    height: 20px;
}

/* Custom badge styling */
.remark-badge .badge {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.6em;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background-color: none;
    color: white;
    font-weight: bold;
}

.nav-tabs .nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.text-purple {
    color: #663399;
}

.card {
    background-color: #f7f7fc;
}

.adjust-quantity {
    background-color: #f7f7fc;
}

.form-check-input:checked {
    background-color: #663399;
    border-color: #663399;
}

.gallery-img {
    transition: transform 0.2s;
    max-width: 100%;
    height: auto;
}

.gallery-img:hover {
    transform: scale(1.05);
}

#imageModal .modal-content {
    background-color: rgba(255, 255, 255, 0.95);
}

#imageModal .modal-body {
    padding: 0;
}

#modalImage {
    max-height: 80vh;
    object-fit: contain;
}

.btn-request:disabled {
    background-color: #ececec;
    color: #868889;
    border: none;
    cursor: not-allowed;
    box-shadow: none;
}

.btn-request:enabled {
    background-color: #5c2d91;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-request:enabled:hover {
    background-color: #4b1f7a;
    color: #ffffff;
}

/* Custom Checkbox Styling */
.form-check-discount-input {
    display: none;
}

.form-check-discount-label {
    cursor: pointer;
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 0.75rem;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
}

.form-check-discount-label .fa-check-circle {
    color: #ccc;
}

/* Selected State Styling */
.form-check-discount-input:checked+.form-check-discount-label {
    background-color: #5c2d91;
    color: #ffffff;
    border: 2px solid #5c2d91;
    border-radius: 5px 5px 0 0;
}

.form-check-discount-input:checked+.form-check-discount-label .fa-check-circle {
    color: #ffffff;
}

.product-details {
    display: none;
    background-color: #f7f7fc;
    border: 2px solid #5c2d91;
    border-top: none;
    padding: 0.75rem;
    border-radius: 0 0 5px 5px;
}

/* Show details when checkbox is checked */
.form-check-discount-input:checked~.product-details {
    display: block;
}

.form-control-discount {
    display: block;
    width: 92%;
    height: calc(1.5em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

/* Styling for grouped select and input */
.input-group .form-select,
.input-group .form-control-discount {
    border-radius: 0;
}

.input-group .form-select {
    border-right: 0;
}

.input-group .form-control-discount {
    border-left: 0;
}

.product-image-upload {
    display: flex;
    align-items: flex-start;
}

.image-preview-container {
    display: none;
    flex-wrap: wrap;
    margin-right: 20px;
}

.image-wrapper {
    position: relative;
    width: 110px;
    height: 110px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    margin-right: 10px;
    margin-bottom: 10px;
}

.add-photo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #ffffff;
}

.btn-add-photo {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1px;
}

.modal-content {
    background: #fff;
    border-radius: 10px;
    border: none;
}

.modal-header {
    border-bottom: 1px solid #e5e5e5;
    padding: 15px 20px;
}

.modal-title {
    font-weight: 600;
}

.modal-body {
    padding: 20px;
}

.unit-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.unit-option {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.unit-option input[type="radio"] {
    display: none;
}

.unit-text {
    flex-grow: 1;
    font-size: 1rem;
}

.unit-indicator {
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 50%;
}

.unit-option input[type="radio"]:checked+.unit-text+.unit-indicator {
    background-color: #ffc107;
    border-color: #ffc107;
}

.banner-premium,
.banner-global {
    width: 100%;
    height: auto;
    position: absolute;
    right: 0px;
    bottom: -50px;
}

.nav-tabs button.nav-link {
    background-color: #fff;
    border: none;
}

.bg-rank-1 {
    background: linear-gradient(0deg, rgba(255, 204, 0, 1) 0%, rgba(255, 239, 119, 1) 100%);
    color: #A95F0B;
    box-shadow: 0px 0px 0.43px 0px #FFFAC7;

    box-shadow: 0px 0px 0.86px 0px #FFFAC7;

    box-shadow: 0px 0px 3.01px 0px #FFFAC7;

    box-shadow: 0px 0px 6.01px 0px #FFFAC7;

    box-shadow: 0px 0px 10.31px 0px #FFFAC7;

    box-shadow: 0px 0px 18.04px 0px #FFFAC7;

}
.rank-badge-1 {
    background: url('../assets/images/rank-1.svg') no-repeat center;
    background-size: contain;
    color: #A95F0B;
}

.rank-badge-2 {
    background: url('../assets/images/rank-2.svg') no-repeat center;
    background-size: contain;
    color: #4D6A94;
}

.rank-badge-3 {
    background: url('../assets/images/rank-3.svg') no-repeat center;
    background-size: contain;
    color: #FFF3E6;
}

.rank-badge-1 {
    background: url('../../assets/images/rank-1.svg') no-repeat center;
    background-size: contain;
    color: #A95F0B;
}

.rank-badge-2 {
    background: url('../../assets/images/rank-2.svg') no-repeat center;
    background-size: contain;
    color: #4D6A94;
}

.rank-badge-3 {
    background: url('../../assets/images/rank-3.svg') no-repeat center;
    background-size: contain;
    color: #FFF3E6;
}

.rate .fa-star {
    font-size: 30px;
}

.btn-vertical.active {
    background-color: #5C2D91;
    color: white;
}

.nav-tabs .nav-link {
    width: 100%;
    background-color: #f7f7fc;
    border-color: #f7f7fc !important;
}

.nav-tabs .nav-link.active {
    font-weight: bold;
    background-color: #5C2D91;
    border-color: #5C2D91;
    color: white;
}

.nav-tabs .nav-link {
    border: 1px solid #d9d9d9;
    color: black;
}

.nav-tabs .nav-link.active {
    background-color: #ffffff;
    border-color: #ffffff;
    border-bottom-color: #5C2D91;
    color: #5C2D91;
}

.nav-tabs .nav-link {
    background-color: white;
    color: black;
}

:root {
    --brand-purple: #5a2d82;
    /* Custom purple from image */
    --header-gray: #e9e9f4;
}

/* Container styling */
.main-card {
    max-width: 1000px;
    margin: 2rem auto;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-radius: 4px;
}

/* Customizing Bootstrap Tabs to match image */
.nav-tabs-custom {
    display: flex;
    border-bottom: 1px solid #dee2e6;
}

.nav-tabs-custom .nav-link {
    flex: 1;
    border: none;
    border-radius: 0;
    padding: 15px;
    font-weight: bold;
    color: #333;
    text-align: center;
    background-color: #fff;
}

/* The Active state: Purple background, white text */
.nav-tabs-custom .nav-link.active {
    background-color: var(--brand-purple) !important;
    color: #fff !important;
}

/* Table Header styling */
.table thead th {
    background-color: var(--header-gray);
    border: none;
    color: #666;
    font-size: 0.9rem;
}

.search-bar {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
}

.btn-delete {
    color: var(--brand-purple);
    cursor: pointer;
}

:root {
    --brand-purple: #5a2d82;
    --header-gray: #e9e9f4;
}

.cat-list .list-group-item {
    border-radius: 8px !important;
    margin-bottom: 8px;
    border: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1.2rem;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.cat-item.active-selection {
    background-color: #f6f7fb !important;
}

.cat-item.active-selection .status-icon {
    color: #2ecc71;
}

.cat-item:not(.active-selection) {
    background-color: #fff;
}

.cat-item:not(.active-selection) .status-icon {
    color: #5e35b1;
}

.category-checkbox {
    display: none;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: none;
    padding: 10px;
    cursor: pointer;
}

.center-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.bg-subscribe {
    background: linear-gradient(0deg, #7275E2 0%, #5C2D91 100%);
    color: white;
}

.bg-subscribe-premium {
    background: linear-gradient(0deg, #7275E2 0%, #AC62A8 100%);
    color: white;
}

.bg-subscribe-global {
    background: linear-gradient(90deg, #4C426B 0%, #221C35 100%);
    color: #EFC334;
}

.bg-subscribe-payment {
    background: linear-gradient(0deg, #DBDCFF 0%, #7275E2 100%);
    color: white;
}

.popup-menu {
    position: absolute;
    top: 60px;
    right: 0px;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    z-index: 999;
    width: 250px;
}

.toggle-plan-btn {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    user-select: none;
    font-size: 14px;
    color: #868889;
}

.toggle-plan-btn .icon {
    transition: transform 0.3s ease;
    display: inline-block;
}

.toggle-plan-btn.expanded .icon {
    transform: rotate(180deg);
}

.logo {
    width: 140px;
    height: auto;
    position: absolute;
    left: -30px;
    bottom: 0px;

}

.fire {
    width: 50px;
    height: auto;
    position: absolute;
    right: 0px;
    top: -20px;
}

/* Original desktop styles */
.bg-subscribe-premium {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    background: linear-gradient(0deg, #7275E2 0%, #5C2D91 100%);
    color: white;
    position: relative;
    width: 30%;
    height: 140px;
    /* Original height */
    border-radius: 15px 50px 15px 15px;
}

.bg-subscribe-basic {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    position: relative;
    width: 30%;
    height: 140px;
    /* Original height */
    border-radius: 15px 50px 15px 15px;
    overflow: hidden;
}

.bg-subscribe-global.old {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    position: relative;
    width: 30%;
    height: 140px;
    /* Original height */
    border-radius: 15px 50px 15px 15px;
    overflow: hidden;
}

@media (min-width: 768px) {

    .bg-subscribe-premium,
    .bg-subscribe-basic,
    .bg-subscribe-global {
        position: relative;
        overflow: hidden;
    }

    .details {
        height: 100%;
    }

        .learn-more {
        position: relative;
        display: inline-block;
    }
}

/* Mobile responsive styles */
@media (max-width: 767px) {
    .user-subscription {
        flex-direction: column;
        gap: 15px;
    }

    .bg-subscribe-premium,
    .bg-subscribe-basic,
    .bg-subscribe-global {
        width: 100% !important;
        margin-right: 0 !important;
        border-radius: 10px 30px 10px 10px;
    }

    .details {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .details .fw-bold {
        text-align: left;
        margin-right: auto;
    }

    .learn-more {
        margin-left: auto;
    }

    .learn-more.position-absolute {
        position: relative !important;
        bottom: auto !important;
        right: auto !important;
        margin: 0 !important;
    }

    .logo {
        width: 80px;
        left: -15px;
        bottom: -15px;
    }


    .subscribe-label {
        font-size: 16px;
    }

    .help-link img {
        width: 16px !important;
        height: 16px !important;
        margin-bottom: 2px !important;
    }

    .btn-responsive {
        width: 100% !important;
    }

    .mobile-short-card .details .fw-bold.d-md-none {
        display: block !important;
        text-align: left;
        margin-right: auto;
    }

    .mobile-short-card .details .fw-bold.d-none.d-md-block {
        display: none !important;
    }

    .mobile-short-card>.d-md-none {
        display: flex !important;
        justify-content: flex-end;
        margin-top: -20px;
    }

    .mobile-short-card {
        height: 50px !important;
        min-height: 50px !important;
        position: relative;
        padding: 10px !important;
    }

    .mobile-short-card .fw-bold {
        text-align: left !important;
        margin-right: auto !important;
        width: 60%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .mobile-short-card .learn-more {
        margin-left: auto;
        white-space: nowrap;
    }

    .bg-subscribe-premium .fw-bold {
        color: white !important;
    }

    .mobile-short-card .logo {
        width: 80px;
        left: -15px;
        bottom: -15px;
    }

    .mobile-short-card .fire {
        width: 40px;
        top: -15px;
    }
}

@media (max-width: 768px) {
    .btn-responsive {
        width: 50% !important;
    }

    .logo {
        width: 140px;
        height: auto;
        position: absolute;
        right: 20px;
        bottom: -20px;
        opacity: 0.5;
    }

    .popup-menu {
        position: absolute;
        top: 130px;
        right: 0px;
        background-color: white;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
        border-radius: 5px;
        z-index: 999;
        width: 250px;
    }

    .subscription-title {
        font-size: 1.25rem;
        /* Default size for larger screens */
        white-space: nowrap;
        /* Prevent text from wrapping */
        overflow: hidden;
        /* Hide overflow */
        text-overflow: ellipsis;
        /* Add ellipsis if text overflows */
    }

    .subscription-status {
        font-size: 0.875rem;
        /* Smaller than title */
        display: inline-block;
        /* Ensure it stays on its own line */
        margin-top: 0.25rem;
    }
}

@media (max-width: 768px) {
    .subscription-title {
        font-size: 1rem;
        /* Smaller size for mobile */
    }

    .subscription-status {
        font-size: 0.75rem;
        /* Even smaller on mobile */
    }
}

@media (max-width: 576px) {
    .subscription-title {
        font-size: 0.875rem;
        /* Even smaller for very small screens */
    }

    .subscription-status {
        font-size: 0.6875rem;
        /* Adjusted for very small screens */
    }
}

.fixed-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

/* Custom scrollbar styles for better appearance */
.tnc-list::-webkit-scrollbar {
    width: 8px;
}

.tnc-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.tnc-list::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.tnc-list::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Ensure modal doesn't exceed viewport height */
.modal-dialog {
    max-height: 90vh;
    margin: 1rem auto;
}

.modal-content {
    max-height: 85vh;
    display: flex;
    flex-direction: column;
}

.modal-body {
    flex: 1;
    overflow: hidden;
}

.signature-input {
    position: relative;
    width: 400px;
    height: 200px;
}

.border-dashed {
    border-style: dashed !important;
    border-color: #868889 !important;
}

.map-container {
    height: 340px;
    width: 100%;
}

.map-container-company {
    height: 340px;
    width: 100%;
}

.map-container-dropoff {
    height: 100%;
    width: 100%;
}

.btn-address.active {
    background-color: #5C2D91 !important;
    color: white !important;
}

.time-input {
    width: 130px !important;
    background-color: #fff;
    color: #212529;
    font-size: 1rem;
    line-height: 1.5;
    padding: 0.375rem 0.75rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

/* For hover effect */
.time-input:hover {
    border-color: #5C2D91;
}


.time-input::-webkit-calendar-picker-indicator {
    background-color: transparent;
    cursor: pointer;
    border-radius: 3px;
}

.time-input::-webkit-calendar-picker-indicator:hover {
    background-color: #e9ecef;
}

input[type="time"]::-webkit-datetime-edit-hour-field:focus,
input[type="time"]::-webkit-datetime-edit-minute-field:focus,
input[type="time"]::-webkit-datetime-edit-ampm-field:focus {
    background-color: #5C2D91;
    color: white;
}

/* For highlighted/selected values */
input[type="time"]::-webkit-datetime-edit-hour-field:hover,
input[type="time"]::-webkit-datetime-edit-minute-field:hover,
input[type="time"]::-webkit-datetime-edit-ampm-field:hover {
    background-color: #5C2D91;
    color: white;
}

/* For the selected state */
input[type="time"]::-webkit-datetime-edit-field-selected {
    background-color: #5C2D91 !important;
    color: white;
}

.step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #dee2e6;
    color: #6c757d;
}

.step.active .step-number,
.step.completed .step-number {
    background: #5c2d91;
    color: white;
}

.progress-line {
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    height: 2px;
    width: 90%;
    background: #dee2e6;
    z-index: 0;
}

.progress-line-fill {
    height: 100%;
    background: #5c2d91;
    width: 0%;
    transition: width 0.3s ease;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.truck-type-btn.active {
    background-color: #5C2D91 !important;
    color: white !important;
}

.new-address {
    display: none;
}

.company-address {
    display: block;
}

.nav-button {
    background: none;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    padding: 10px 15px;
}

.month-button.active {
    background-color: #5C2D91 !important;
    color: white;
}

.week-button.active {
    background-color: #f7f7f7 !important;
    color: #5C2D91;
    border: 0;
}

.weeks-container {
    display: flex;
    flex-direction: column;
}

.week-button:hover {
    background-color: #f8f9fa;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.status-indicator.completed {
    background-color: #28a745;
}

.status-indicator.pending {
    background-color: #ffc107;
}

.total-status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.total-status-indicator.completed {
    background-color: #28a745;
}

.total-status-indicator.pending {
    background-color: #ffc107;
}

.border-truck {
    border: 1px solid #5C2D91;
}

.input-button-wrapper {
    position: relative;
    width: 100%;
    display: inline-block;
}

.input-button-wrapper input {
    padding-right: 80px;
    /* Make space for the button */
}

.input-button-wrapper .input-button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    height: calc(100% - 10px);
    margin: 0;
    border: none;
    background: transparent;
    padding: 0 15px;
    border-left: 1px solid #dee2e6;
}

/* Optional: Add hover effect */
.input-button-wrapper .input-button:hover {
    background-color: #f8f9fa;
}

.finance-page .header-content {
    padding: 20px;
    text-align: center;
    margin-bottom: 20px;
}

.finance-page .title-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.finance-page .title {
    margin: 0;
    font-size: 1.5rem;
}

.finance-page .icons {
    position: absolute;
    right: 10px; /* Adjust as needed */
    display: flex;
    gap: 10px;
}

.finance-page .icons i {
    font-size: 1.2rem;
}

.finance-page .balance-section {
    margin: 20px 0;
}

.finance-page .balance-label {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

.finance-page .balance-amount, .finance-page .purchasable-amount, .finance-page .credit-amount {
    margin: 5px 0;
    font-size: 1.5rem;
    font-weight: bold;
}

.finance-page .balance-text {
    text-align: LEFT;
    color: black;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.finance-page .action-buttons {
    position: relative;
    top: 30px;
    display: flex;
    justify-content: space-around;
    background: white;
    padding: 15px;
    border-radius: 15px;
    margin: 0 auto;
    width: 30%;
    min-width: 300px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); /* Added shadow */
}

.finance-page .action-items {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap; /* keeps it responsive */
}

.finance-page .action-item {
    text-align: center;
}

.finance-page .action-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: white;
    padding: 20px;
    border-radius: 15px;
    min-width: 300px;
    margin: 0 auto;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.finance-page .option-items {
    width: 100%;
}

.finance-page .action-icon {
    background-color: #efeaf4;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
    font-size: 1.4rem;
}

.finance-page .action-text {
    font-size: 0.85rem;
}

.finance-page .header-action {
    padding: 20px;
    text-align: center;
    height: 120px; /* Adjust this value based on your needs */
    position: relative;
    margin-top: -60px; /* Half of the height to overlap */
    border-radius: 30px 30px 100% 100%;
    z-index: 1; /* Ensure it stays above content below */
}