/* Sticky UI Elements Styling */

/* Right-Edge Audit Button */
.sticky-audit-btn {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    writing-mode: vertical-rl;
    text-orientation: mixed;
    z-index: 50;
    background: #D4AF37; /* PBE Gold */
    color: #0D1B2A; /* PBE Charcoal */
    font-weight: 900;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    padding: 1.5rem 0.5rem;
    border-radius: 0.5rem 0 0 0.5rem;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: -4px 0 25px rgba(0,0,0,0.3);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

.sticky-audit-btn:hover {
    padding-right: 3rem;
    background: #0D1B2A;
    color: #D4AF37;
    border: 1px solid #D4AF37;
}

/* Bottom-Right FAB */
.fab-container {
    /* Position handled by Tailwind in footer.php */
}

.fab-container:hover .fab-options {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

.fab-main {
    width: 60px;
    height: 60px;
    background: #D4AF37;
    color: #0D1B2A;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
}

.fab-main:hover {
    transform: rotate(90deg) scale(1.1);
}

.fab-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.fab-container:hover .fab-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.fab-option {
    width: 50px;
    height: 50px;
    background: #0D1B2A;
    color: #D4AF37;
    border: 1px solid #D4AF37;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    position: relative;
}

.fab-option:hover {
    background: #D4AF37;
    color: #0D1B2A;
}

.fab-label {
    position: absolute;
    right: 70px;
    background: #0D1B2A;
    color: #D4AF37;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    pointer-events: none;
    border: 1px solid #D4AF37;
}

.fab-option:hover .fab-label {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 768px) {
    .sticky-audit-btn {
        font-size: 0.6rem;
        padding: 0.75rem 1.5rem;
    }
    .fab-main {
        width: 50px;
        height: 50px;
    }
}
