/***********************************************************
 * COMMON CSS - Shared across multiple pages
 * Used by: home, bids
 * 
 * This file contains CSS classes used by 2+ pages.
 * Page-specific CSS should be in assets/<page>.css
 ***********************************************************/

/* ------------------------------------------------------------------ */
/* Floating info panel (home & BIDS pages)                            */
/* ------------------------------------------------------------------ */
.floating-info-panel {
    position: fixed;
    top: 140px;
    right: 0;
    width: 360px;
    max-width: calc(100vw - 30px);
    background: #ffffff;
    border-radius: 14px 0 0 14px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border: 1px solid #e5e7eb;
    padding: 18px 18px 20px 22px;
    z-index: 1050;
    transform: translateX(0);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.floating-info-panel.collapsed {
    transform: translateX(105%);
    pointer-events: none;
}

.info-toggle-tab {
    position: fixed;
    top: 170px;
    right: 0;
    width: 38px;
    height: 38px;
    background: #2563eb;
    color: #ffffff;
    border-radius: 10px 0 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(37,99,235,0.3);
    z-index: 1051;
    transition: background 0.2s ease, transform 0.2s ease;
}

.info-toggle-tab:hover {
    background: #1d4ed8;
    transform: translateX(-2px);
}

@media (max-width: 992px) {
    .floating-info-panel {
        top: 110px;
        width: 88vw;
        border-radius: 14px;
        right: 12px;
    }
    .info-toggle-tab {
        top: 120px;
        right: 12px;
        border-radius: 12px;
    }
}
