/* ============================================================
   Lab Buttons — Frontend
   Design system: Pitch Black & Electric Turf
   ============================================================ */

.lb-container {
    position: fixed;
    left: 0;
    right: 0;
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    padding: 12px 48px;
    background: #131313;
    flex-wrap: wrap;
}

.lb-container.lb-top {
    top: 0;
    border-bottom: 1px solid #3d4a3e;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.9);
}

.lb-container.lb-bottom {
    bottom: 0;
    border-top: 1px solid #3d4a3e;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.9);
}

/* Base do botão — cores vêm via inline style do admin */
.lb-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 4px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    text-align: center;
    outline: 1px solid transparent;
    outline-offset: 2px;
    transition: transform 0.15s ease, outline-color 0.15s ease, box-shadow 0.15s ease;
}

.lb-button:hover {
    transform: translateY(-2px);
    outline-color: currentColor;
    box-shadow: 0 0 0 1px currentColor, 0 6px 20px rgba(0, 0, 0, 0.5);
    text-decoration: none;
}

.lb-button:active {
    transform: translateY(0);
    box-shadow: none;
}

.lb-button:focus-visible {
    outline: 2px solid #54e98a;
    outline-offset: 3px;
}

/* Offset para a admin bar do WordPress (32px desktop, 46px mobile) */
body.admin-bar .lb-container.lb-top {
    top: 32px;
}

/* Responsivo */
@media (max-width: 768px) {
    .lb-container {
        gap: 8px;
        padding: 10px 16px;
    }

    .lb-button {
        font-size: 13px;
        padding: 10px 20px;
        width: 100%;
        max-width: 360px;
        justify-content: center;
    }
}

@media screen and (max-width: 782px) {
    body.admin-bar .lb-container.lb-top {
        top: 46px;
    }
}
