/* ============================================================
   Bottom Contact Us Bar — Frosted Glass with Centered Layout
   Sticky to bottom, slides up on hover to reveal content
   Scoped to #bottombar-v2
   ============================================================ */

/* --- Outer wrapper: fixed to bottom of viewport --- */
#bottombar-v2 {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: linear-gradient(135deg, #00853e 0%, #006b32 100%);
    overflow: visible;
    /* Only show the label tab by default; content is below viewport */
    transform: translateY(calc(100% - 40px));
    transition: transform 0.5s ease;
}

/* On hover (desktop) or .open (mobile tap), slide up to reveal full bar */
#bottombar-v2:hover,
#bottombar-v2.open {
    transform: translateY(0);
}

/* --- Gold accent line at top --- */
#bottombar-v2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #fbbb10, #00853e, #fbbb10);
}

/* --- Inner container --- */
#bottombar-v2 .bottom-v2-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- "Need Assistance?" label (visible tab) --- */
#bottombar-v2 .bottom-v2-label {
    text-align: center;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    height: 40px;
    line-height: 40px;
    margin-bottom: 0;
    padding: 0;
    cursor: pointer;
    font-family: 'Montserrat', 'Roboto', sans-serif;
    transition: color 0.3s;
}

/* Chevron hint on the label */
#bottombar-v2 .bottom-v2-label::after {
    content: ' \f077';
    font-family: 'FontAwesome';
    font-size: 10px;
    margin-left: 8px;
    color: #fbbb10;
    transition: transform 0.3s;
    display: inline-block;
}

/* Flip chevron when expanded */
#bottombar-v2:hover .bottom-v2-label::after,
#bottombar-v2.open .bottom-v2-label::after {
    transform: rotate(180deg);
}

/* --- Content area (hidden until hover) --- */
#bottombar-v2 .bottom-v2-content {
    padding: 8px 0 16px;
}

/* --- Main content row --- */
#bottombar-v2 .bottom-v2-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* --- Contact info pills (Email, Phone) --- */
#bottombar-v2 .bottom-v2-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    font-family: 'Montserrat', 'Roboto', sans-serif;
}

#bottombar-v2 .bottom-v2-pill:hover {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.4);
    transform: translateY(-2px);
    color: #fff;
}

#bottombar-v2 .bottom-v2-pill i {
    color: #fbbb10;
    font-size: 15px;
}

/* --- Primary action button (Contact Us) --- */
#bottombar-v2 .bottom-v2-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 22px;
    background: #fbbb10;
    color: #000;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Montserrat', 'Roboto', sans-serif;
}

#bottombar-v2 .bottom-v2-btn:hover {
    background: #fff;
    color: #00853e;
}

/* --- Outline button (Merchant Login, Live Chat) --- */
#bottombar-v2 .bottom-v2-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 20px;
    background: transparent;
    border: 2px solid rgba(255,255,255,0.4);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Montserrat', 'Roboto', sans-serif;
}

#bottombar-v2 .bottom-v2-btn-outline:hover {
    border-color: #fbbb10;
    color: #fbbb10;
}

/* --- Divider dot --- */
#bottombar-v2 .bottom-v2-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
}

/* --- Social icons --- */
#bottombar-v2 .bottom-v2-social {
    display: flex;
    gap: 10px;
}

#bottombar-v2 .bottom-v2-social a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s;
}

#bottombar-v2 .bottom-v2-social a:hover {
    background: #fbbb10;
    color: #000;
    border-color: #fbbb10;
}

/* Force icons white (override global .fa-* colors) */
#bottombar-v2 .fa-comments,
#bottombar-v2 .fa-comment,
#bottombar-v2 .fa-facebook,
#bottombar-v2 .fa-linkedin,
#bottombar-v2 .bottom-v2-social svg {
    color: #fff;
    fill: #fff;
}
#bottombar-v2 .fa-comments:hover,
#bottombar-v2 .fa-comment:hover,
#bottombar-v2 .fa-facebook:hover,
#bottombar-v2 .fa-linkedin:hover {
    color: inherit;
}

/* --- Hours of operation --- */
#bottombar-v2 .bottom-v2-hours {
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 11px;
    margin-top: 12px;
    font-family: 'Montserrat', 'Roboto', sans-serif;
}

/* --- Merchant Login dropdown --- */
#bottombar-v2 .bottom-v2-dropdown-wrap {
    position: relative;
    display: inline-flex;
}

#bottombar-v2 .bottom-v2-dropdown {
    display: none;
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 8px;
    background: #282e3e;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    overflow: hidden;
    min-width: 220px;
    z-index: 100;
}

#bottombar-v2 .bottom-v2-dropdown-wrap:hover .bottom-v2-dropdown {
    display: block;
}

#bottombar-v2 .bottom-v2-dropdown a {
    display: block;
    padding: 10px 18px;
    color: #82c434;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    font-family: 'Montserrat', 'Roboto', sans-serif;
}

#bottombar-v2 .bottom-v2-dropdown a:last-child {
    border-bottom: none;
}

#bottombar-v2 .bottom-v2-dropdown a:hover {
    background: rgba(255,255,255,0.08);
    color: #fff;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    #bottombar-v2 .bottom-v2-row {
        flex-direction: column;
        gap: 10px;
    }

    #bottombar-v2 .bottom-v2-pill,
    #bottombar-v2 .bottom-v2-btn,
    #bottombar-v2 .bottom-v2-btn-outline {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    #bottombar-v2 .bottom-v2-dot {
        display: none;
    }

    #bottombar-v2 .bottom-v2-social {
        justify-content: center;
        margin-top: 4px;
    }

    #bottombar-v2 .bottom-v2-dropdown {
        left: 0;
        transform: none;
        width: 100%;
    }

    #bottombar-v2 .bottom-v2-dropdown-wrap {
        width: 100%;
    }
}
