/* Fixed Bottom Action Buttons - Modern Uniform UI */
.fixed-bottom-actions {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    pointer-events: none;
    width: auto;
    max-width: 95vw;
}

.action-buttons-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 20px;
    box-shadow: 
        0 8px 32px -4px rgba(0, 0, 0, 0.1),
        0 2px 8px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    pointer-events: auto;
    gap: 10px;
}

/* Uniform Button Base */
.action-button {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    position: relative;
    background: transparent;
    gap: 8px;
    min-width: 120px;
    border: 1px solid transparent;
}

/* Uniform Icon Style */
    .action-button .action-icon {
        font-size: 22px;
        color: var(--global--color-heading);
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 24px;
        height: 24px;
    }
    .action-button:after {
        content: "";
        height: 75%;
        width: 1px;
        border-radius: 5px;
        position: absolute;
        right: -5px;
        top: 12.5%;
        background: #002a5c30;
    }
.action-button:last-child:after{
    display:none;
}
/* Uniform Text Style */
.action-button .action-text {
    font-size: 16px;
    font-weight: 600;
    font-family: Questrial;
    color: var(--global--color-heading);
    white-space: nowrap;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

/* Hover Effects - Only Color Primary on Hover */
.action-button:hover {
    background: rgba(31, 193, 200, 0.08); /* Very light primary tint */
    border-color: rgba(31, 193, 200, 0.2);
    box-shadow: 0 4px 15px rgba(31, 193, 200, 0.15);
}

.action-button:hover .action-text {
    color: var(--global--color-primary);
}

.action-button:hover .action-icon {
    color: var(--global--color-primary);
    transform: scale(1.15);
}

/* Active State */
.action-button:active {
    transform: translateY(-1px);
    background: rgba(31, 193, 200, 0.12);
}


/* Responsive Adjustments */
@media (max-width: 768px) {
    .fixed-bottom-actions {
        bottom: 16px;
        width: 94%;
        max-width: 450px;
    }

    .action-buttons-container {
        padding: 5px;
        background: rgba(255, 255, 255, 0.95);
        border-radius: 18px;
        border: 1px solid #002a5c30;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
        gap: 3px;
    }
    
    .action-button {
        flex: 1;
        flex-direction: column; /* Stack vertically on mobile */
        padding: 10px 4px;
        min-width: 0;
        border-radius: 14px;
        gap: 4px;
    }
    
    .action-button .action-icon {
        font-size: 22px;
        width: 24px; 
        height: 24px;
        margin-right: 0;
    }
    
    .action-button .action-text {
        font-size: 10px;
        line-height: 1;
        text-align: center;
        white-space: nowrap;
    }
}


/* Removing the previous media query block completely to avoid duplication issues and ensure clean state */
/* Mobile Specific Overrides */
@media (max-width: 768px) {
    .fixed-bottom-actions {
        bottom: 16px; 
        /* Reset left/transform if needed, but the main class handles center. 
           We just need to ensure width constraints. */
    }
}

/* Animation on page load */
@keyframes slideUpFadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.fixed-bottom-actions {
    animation: slideUpFadeIn 0.5s ease-out;
}

@media (max-width: 768px) {
    @keyframes slideUpFadeInMobile {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .fixed-bottom-actions {
        animation: slideUpFadeInMobile 0.5s ease-out;
    }
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}
