/* Quick Action Button Styles */
.quick-action-container {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 9999;
}

/* Main quick action button */
.quick-action-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #1f458b; /* Match the site's blue color */
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 10;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(31, 69, 139, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(31, 69, 139, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(31, 69, 139, 0);
    }
}

.quick-action-btn:hover {
    background-color: #15316c;
    transform: scale(1.05);
    animation: none; /* Stop pulsing on hover */
}

.quick-action-btn i {
    font-size: 24px;
    transition: transform 0.3s ease;
}

.quick-action-btn.active i {
    transform: rotate(45deg);
}

/* Quick action menu */
.quick-action-menu {
    position: absolute;
    bottom: 75px;
    right: 0;
    background-color: white;
    border-radius: 10px;
    width: 220px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    opacity: 0;
    transform: translateY(20px);
    visibility: hidden;
    transition: all 0.3s ease;
    overflow: hidden;
}

.quick-action-menu.active {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.quick-action-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: #444;
    text-decoration: none;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #f1f1f1;
}

.quick-action-item:last-child {
    border-bottom: none;
}

.quick-action-item:hover {
    background-color: #f8f9fa;
    color: #1f458b;
}

.quick-action-item i {
    margin-right: 15px;
    color: #1f458b; /* Match the site's blue color */
    width: 20px;
    text-align: center;
}

/* Overlay for closing menu when clicking outside */
.quick-action-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9;
    display: none;
}

.quick-action-overlay.active {
    display: block;
}