﻿/*lagona*/
/*:root {
    --primary-color: #df8700;
    --primary-d-color: #df8700;
    --secondary-color: #df8700;
    --font-size-base: 16px;
    --padding: 10px;
    --default-font: Karla;
}*/


/*elyu*/
/*:root {
    --primary-color: #183962;
    --primary-d-color: #183962;
    --secondary-color: #183962;
    --font-size-base: 16px;
    --padding: 10px;
    --default-font: Raleway;
}*/

/*unlimovers*/
/*:root {
    --primary-color: #0C6774;
    --primary-d-color: #0C6774;
    --secondary-color: #0C6774;
    --font-size-base: 16px;
    --padding: 10px;
    --default-font: Raleway;
}
*/
/*buddybuddy*/
:root {
    --primary-color: #003558;
    --primary-d-color: #003558;
    --secondary-color: #003558;
    --font-size-base: 16px;
    --padding: 10px;
    --default-font: Raleway;
}

/*ridetome or lagona*/
/*:root {
    --primary-color: #D98B14;
    --primary-d-color: #D98B14;
    --secondary-color: #D98B14;
    --font-size-base: 16px;
    --padding: 10px;
    --default-font: Raleway;
}*/

.bgc-orange-tp1 {
    background-color: var(--primary-color) !important;
}

.text-orange {
    color: var(--primary-color) !important;
}

body {
    color: #000000 !important;
}

.body-container {
    background-color: var(--primary-color);
}

.btn-primary {
    color: #ffffff !important;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover, 
.btn-primary:focus {
    color: #ffffff !important;
    background-color: var(--primary-d-color) !important;
    border-color: var(--primary-d-color) !important;
}

label {
    color: var(--primary-d-color) !important;
    font-weight: bold !important;
}


.text-primary, 
.text-primary-d2 {
    color: var(--primary-color) !important;
}



.is-invalid {
    border: 2px solid red;
    outline: none;
}

/* Overlay Style */
#loadingOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Spinner Style */
.spinner {
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #fff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

/* Keyframes for Spinner */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.e-grid, .e-control {
    font-family: var(--default-font) !important;
}

.navlogo {
    width: 50px !important;
}

.frontlogo {
    width: 100px !important;
}

.d-hide {
    visibility: hidden;
}

.form-control {
    color: #000000 !important;
}


@keyframes blink {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.blinking {
    animation: blink 1s infinite;
    /* Additional styling for the element */
    color: #333;
    font-weight: bold;
    font-size: 1.5rem;
}

hr {
    height: 5px; /* Thickness of the HR */
    background-color: var(--primary-color); /* Color of the HR */
    border: none; /* Remove default border */
    margin: 20px 0; /* Optional: spacing around the HR */
    border-radius: 5px; /* Optional: rounded edges */
}



.floating-cart {
    position: fixed;
    bottom: 83px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
}

.floating-cart.hidden {
    display: none;
}


.floating-cart:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.cart-icon {
    font-size: 24px;
    color: white;
    position: relative;
}

.item-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #f44336;
    color: white;
    font-size: 12px;
    font-weight: bold;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.merchantdetail, .caritem {
    cursor: pointer;
}


#progressOverlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    text-align: center;
}

#progressBar {
    width: 0;
    height: 100%;
    background: #4caf50;
    transition: width 0.3s ease;
}

.dcard {
    position: relative !important;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 15;
    transition: opacity 0.3s ease-in-out;
    pointer-events: none; /* Disable interaction by default */
}
.overlay-text {
    font-size: 2rem;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
}