.dashboard_wrapper .active{
    background-color: var(--dark-blue) !important;
    border-color: var(--dark-blue) !important;
    color: var(--text-white) !important;
}

.dashboard_wrapper .active i,
.dashboard_wrapper .active a {
    color: var(--text-white) !important;
}



.text-danger {
    margin: 10px 0; /* Space above and below the error message */
    text-align: center; /* Center the text of the error message */
}

/* Target the placeholder text */
#cardholder-name::placeholder {
    /* color: #87BBFD; */
    color: #bac5cf; /* Set your desired color */
    font-weight: 900;
    font-family: 'Roboto, Open Sans, Segoe UI, sans-serif';
    font-size: '18px';
    opacity: 1; /* Ensure the color shows fully */
}



/* Customize placeholder for input fields */
input::placeholder {
    color: #aab7c4;
    opacity: 1;
}


.custom-payment-form .form-group {
    margin-bottom: 10px;
}

.custom-payment-form label {
    font-weight: 600;
    color: #333;
}

.custom-payment-form .form-control {
    font-weight:700;
    font-family:'Roboto, Open Sans, Segoe UI, sans-serif';
    border: 2px solid grey;
    border-radius: 8px;
    padding: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.custom-payment-form .form-control:focus {
    border-color: #4a90e2;
    box-shadow: 0 0 8px rgba(74, 144, 226, 0.2);
}


.custom-payment-form .input-wrapper {
    position: relative;
}

.custom-payment-form #card-brand-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.custom-payment-form input::placeholder {
    color: #aab7c4;
    opacity: 1;
}

.custom-payment-form .button {
    background-color: #4a90e2;
    /* color: white; */
    font-size: 16px;
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* .custom-payment-form .button:hover {
    background-color: #357ABD;
} */

.order_wrapper{
    margin-top:10px !important;
}

.small-font {
    font-size: 12px !important; /* Set font size to 12px */
}

.modalOrder {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

.modalContentOrder {
    margin: auto;
    display: block;
    max-width: 50%;
    max-height: 90%;
}

.closeOrder {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #ffffff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}


#profile_picture{
    padding: 11px;
}



.accordion-collapse {
    display: none; /* Initially hidden to prevent flash */
}
.accordion-collapse.show {
    display: block; /* Shown smoothly when expanded */
    transition: opacity 0.1s ease; /* Smooth opacity transition */
}

@media (max-width: 1000px) {
    .cart-count {
        background-color: red;
        color: white;
        border-radius: 50%;
        height: 15px !important;
        width: 15px !important;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 12px;
        font-weight: bold;
        margin-left: 0px !important;
    }
}
@media (max-width: 768px) { /* You can adjust the max-width as needed */
    .navbar-brand {
        margin-right: 0px !important;
    }
    .navbar-brand img {
        height: 69px !important;
    }
}
hr.space-details{
        margin: 0.5rem 0 !important;
}

.accordion-button.disable-click {
    pointer-events: none;
}
/* General styling for autocomplete */
.ui-autocomplete {
    max-width: 100%;
    background-color: #ffffff;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    padding: 8px 0;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    z-index: 9999;
}

/* Styling for individual autocomplete items */
.ui-autocomplete li {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    cursor: pointer;
    transition: background-color 0.2s ease, padding 0.2s ease;
    border-bottom: 1px solid #f1f1f1;
    border-radius: 6px;
}

/* Item hover effect */
.ui-autocomplete li:hover {
    background-color: #f7f7f7;
    padding-left: 24px;
}

/* Styling for product image */
.ui-autocomplete li img {
    width: 60px;
    height: 60px;
    margin-right: 20px;
    border-radius: 8px;
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Image hover effect */
.ui-autocomplete li:hover img {
    transform: scale(1.05);
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.2);
}

/* Styling for product title */
.ui-autocomplete li .title {
    font-weight: 500;
    color: #333333;
    transition: color 0.3s ease;
}

/* Title hover effect */
.ui-autocomplete li:hover .title {
    color: #070d3f;
}

/* Styling for SKU */
.ui-autocomplete li .sku {
    font-size: 12px;
    color: #888;
    margin-top: 4px;  /* Adds space between title and SKU */
    text-align: left; /* Ensures SKU is left-aligned */
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .ui-autocomplete li {
        flex-direction: column;
        align-items: flex-start;
        padding: 14px 20px;
    }

    .ui-autocomplete li img {
        width: 50px;
        height: 50px;
        margin-right: 0;
        margin-bottom: 12px;
    }

    .ui-autocomplete li .title {
        font-size: 16px;
        font-weight: 600;
        color: #444444;
    }

    .ui-autocomplete li .sku {
        font-size: 12px;
        color: #888;
        margin-top: 5px;
    }
}

/* Very small screens (mobile devices) */
@media (max-width: 480px) {
    .ui-autocomplete li {
        padding: 12px 16px;
    }

    .ui-autocomplete li img {
        width: 45px;
        height: 45px;
    }

    .ui-autocomplete li .title {
        font-size: 14px;
    }

    .ui-autocomplete li .sku {
        font-size: 10px;
    }
}

/* Active item styling */
.ui-state-active, .ui-widget-content .ui-state-active {
    border: 1px solid #f7f7f7 !important;
    background: #f7f7f7 !important;
    font-weight: normal;
    color: #f7f7f7 !important;
}

#searchForm {
    display: flex;
    width: 100%;
    position: relative; /* This makes the button position relative to the form */
}

#search {
    width: 100%; /* Ensures input stretches to full width */
    border-radius: 25px;
    padding: 12px 20px;
    padding-right: 50px; /* Adds extra space on the right for the button */
    border: 1px solid #ddd;
    font-size: 16px;
    z-index: 1; /* Ensures input stays above the button */
}

.btn-custom-search {
    position: absolute;
    top: 50%;
    right: 10px; /* Moves button slightly to the left */
    transform: translateY(-50%);
    padding: 12px;
    background-color: var(--dark-blue);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2; /* Keeps button above input */
}

/* Remove hover styles (optional) */
.btn-custom-search:hover {
    background-color: var(--dark-blue); 
    color: #fff; 
}

.btn-custom-search i {
    font-size: 18px;
}

/* Container styling */
.coupon-container {
    padding: 10px;
}

/* Coupon text box */
.coupon-code-text {
    font-size: 15px;
    color: #070d3f;
    font-weight: bold;
    background-color: #fff;
    padding: 10px 0 0 0;
    border-radius: 8px;
    border: 2px solid #070d3f;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

/* Icon style */
.coupon-code-text .icon {
    margin-right: 10px;
    font-size: 24px;
    transition: transform 0.3s ease;
}

/* Hover effect for coupon box */
.coupon-code-text:hover {
    background-color: #f9f9f9;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(-4px);
}

/* Success message styled as a pin */
.copied-message {
    position: fixed; /* Fixed to the viewport */
    top: 20px; /* Position near the top of the viewport */
    right: 20px; /* Align to the right side */
    background-color: #28a745;
    color: white;
    padding: 8px 15px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.2);
    display: none; /* Initially hidden */
    animation: fadeInOut 3s ease-out;
    z-index: 9999; /* Ensure it appears above other elements, including the sticky header */
}

/* Example animation for fade in and out */
@keyframes fadeInOut {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    10%, 90% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(-10px);
    }
}
