/* Floating Actions Module Styles */
.floating-actions {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.floating-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: var(--primary-color, #FF4D4D);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(255, 77, 77, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
    padding: 8px;
}

.floating-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 77, 77, 0.5);
    background: #FF3333;
}

.floating-btn#topFloatingBtn {
    background: #6B7280;
    box-shadow: 0 4px 20px rgba(107, 114, 128, 0.4);
}

.floating-btn#topFloatingBtn:hover {
    background: #4B5563;
    box-shadow: 0 6px 25px rgba(107, 114, 128, 0.5);
}

.floating-btn#mobileFloatingBtn {
    background: #1AAD19;
    box-shadow: 0 4px 20px rgba(26, 173, 25, 0.4);
}

.floating-btn#mobileFloatingBtn:hover {
    background: #138A15;
    box-shadow: 0 6px 25px rgba(26, 173, 25, 0.5);
}

.floating-icon {
    font-size: 1.2rem;
    margin-bottom: 2px;
}

.floating-text {
    font-size: 0.65rem;
    font-weight: 500;
    line-height: 1.1;
}

/* Mobile Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1001;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    pointer-events: auto;
    display: none;
}

.modal-content {
    position: fixed;
    bottom: 100px;
    right: 24px;
    width: 320px;
    max-width: calc(100vw - 48px);
    background: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    padding: 24px;
    border: 1px solid #E5E7EB;
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border: none;
    background: #F3F4F6;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.modal-close:hover {
    background: #E5E7EB;
}

.qr-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 20px 0;
}

.qr-item {
    text-align: center;
}

.qr-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 8px;
}

.qr-title {
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 0.8rem;
    line-height: 1.3;
}

@media (max-width: 576px) {
    .floating-actions {
        bottom: 16px;
        right: 16px;
    }

    .floating-btn {
        width: 56px;
        height: 56px;
    }

    .modal-content {
        bottom: 90px;
        right: 16px;
        width: calc(100vw - 32px);
        padding: 20px;
    }

    .qr-image {
        width: 80px;
        height: 80px;
    }
}