@import "./ebmenu1-main.css";

:root {
    /* --- COLORS --- */
    /* Top Bar Colors */
    --ebmenu1-hdr1-topbar-bg: #ffffff;
    --ebmenu1-hdr1-topbar-text-color: #000000;
    --ebmenu1-hdr1-icon-primary-color: #000000;
    --ebmenu1-hdr1-whatsapp-link-color: #000000;
    --ebmenu1-hdr1-call-link-color: #000000;
    --ebmenu1-hdr1-logo-text: var(--ebmenu1-primary-color);

    /* --- FONT SIZES (All clamped for responsiveness) --- */
    --ebmenu1-hdr1-fs-regular: clamp(0.875rem, 2.5vw, 1rem);
    --ebmenu1-hdr1-fs-medium: clamp(1.25rem, 4vw, 1.5rem);
    --ebmenu1-hdr1-fs-large: clamp(1.50rem, 5vw, 1.55rem);

    /* --- SPACING (Padding & Gaps) --- */
    --ebmenu1-hdr1-gap-topbar: 16px;
    --ebmenu1-hdr1-gap-actions: 12px;

    /* ------------- dash board button -------------- */
    --ebmenu1-hdr1-db-button-bg: linear-gradient(135deg, var(--ebmenu1-secondary-color), var(--ebmenu1-primary-color));
    --ebmenu1-hdr1-db-button-hover-bg: linear-gradient(-135deg, var(--ebmenu1-secondary-color), var(--ebmenu1-primary-color));
    --ebmenu1-hdr1-db-input-radius: 12px;
    --ebmenu1-hdr1-db-button-text-color: #ffffff;


}

/*=========================================
TOP BAR
========================================= */

.ebmenu1-hdr1-db-return {
    border: none;

    background:
        var(--ebmenu1-hdr1-db-button-bg);

    color:
        var(--ebmenu1-hdr1-db-button-text-color);

    padding: 14px 5px;

    border-radius:
        var(--ebmenu1-hdr1-db-input-radius);

    font-size: 15px;

    font-weight: 600;

    cursor: pointer;

    transition: 0.3s;
}

.ebmenu1-hdr1-header {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: var(--ebmenu1-hdr1-topbar-bg);
    gap: var(--ebmenu1-hdr1-gap-topbar);
    z-index: 1000;
    box-shadow: 0 0.45em 1.2em rgba(2, 6, 23, 0.35)
}

.ebmenu1-hdr1-header-wrapper {

    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1440px;
    width: calc(100% - 2em);
    padding-block: 12px;
    margin: 0 auto;
    background-color: var(--ebmenu1-hdr1-topbar-bg);
    gap: var(--ebmenu1-hdr1-gap-topbar);
}

.ebmenu1-hdr1-header.ebmenu1-hdr1-form-header {
    max-width: 1100px;
    margin: auto;
}

.ebmenu1-hdr1-header-right {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.ebmenu1-hdr1-action-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.ebmenu1-hdr1-action-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;

    color: var(--ebmenu1-hdr1-icon-primary-color);
    font-size: var(--ebmenu1-hdr1-fs-medium);
    font-weight: bold;
}

.ebmenu1-hdr1-whatsapp {
    font-size: var(--ebmenu1-hdr1-fs-large);
    color: var(--ebmenu1-hdr1-whatsapp-link-color);
    font-weight: bold;
}

.ebmenu1-hdr1-icon {
    width: 24px;
    color: var(--ebmenu1-hdr1-icon-primary-color);
}

.ebmenu1-hdr1-call-link {
    color: var(--ebmenu1-hdr1-call-link-color);
}

.ebmenu1-hdr1-header-logo-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 5px;
    text-decoration: none;
    color: var(--ebmenu1-hdr1-logo-text);
}

.ebmenu1-hdr1-header-logo {
    width: 60px;
    height: 60px;
    border-radius: 10px;
}

.ebmenu1-hdr1-header-logo-container {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: clamp(1.5rem, 5vw, 2rem);
    font-weight: clamp(800, 5vw, 900);
    text-decoration: none;
    color: var(--ebmenu1-hdr1-logo-text);
    direction: ltr;
}

.ebmenu1-hdr1-header-logo {
    border-radius: 12px;
    width: 60px;
    height: 60px;
}
/*=========================================
QR CODE WIDGET (Header)
========================================= */

.ebmenu1-hdr1-qr-widget {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.ebmenu1-hdr1-qr-canvas-wrapper {
    position: relative;
    display: inline-flex;
    padding: 3px;
    border-radius: 8px;
    background: #ffffff;
}

.ebmenu1-hdr1-qr-canvas-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 8px;
    border: 2px solid var(--ebmenu1-primary-color);
    animation: ebmenu1-hdr1-qr-pulse 1.8s ease-out infinite;
}

.ebmenu1-hdr1-qr-widget canvas {
    display: block;
    width: 46px;
    height: 46px;
    border-radius: 6px;
}

.ebmenu1-hdr1-qr-caption {
    font-size: 11px;
    font-weight: 600;
    color: var(--ebmenu1-hdr1-icon-primary-color);
    white-space: nowrap;
}

@keyframes ebmenu1-hdr1-qr-pulse {
    0% {
        transform: scale(1);
        opacity: 0.9;
    }

    70% {
        transform: scale(1.25);
        opacity: 0;
    }

    100% {
        transform: scale(1.25);
        opacity: 0;
    }
}

@media (max-width: 640px) {
    .ebmenu1-hdr1-qr-caption {
        display: none;
    }

    .ebmenu1-hdr1-qr-widget canvas {
        width: 38px;
        height: 38px;
    }
}
