/**
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Open Software License (OSL 3.0)
 * that is bundled with this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * http://opensource.org/licenses/osl-3.0.php
 *
 * @author    FMM Modules
 * @copyright Copyright 2025 © FMM Modules
 * @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
 */

/**
 * Demo Helper - Helper Bar Styles
 * A fixed bar at the bottom of the screen with action buttons
 */

.demohelper-countdown-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    padding: 15px 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    animation: demohelperSlideUp 0.5s ease-out;
}

@keyframes demohelperSlideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.demohelper-countdown-bar.hidden {
    transform: translateY(100%);
    opacity: 0;
}

.demohelper-countdown-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.demohelper-countdown-button {
    background: #ffffff;
    color: #667eea;
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    margin-left: 10px;
    text-decoration: none;
    display: inline-block;
}

.demohelper-countdown-button.demohelper-button-first {
    background: #f0f0f0;
    color: #764ba2;
    margin-left: 0;
}

.demohelper-countdown-button.demohelper-button-second {
    background: #ffffff;
    color: #667eea;
}

.demohelper-countdown-button:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.demohelper-countdown-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.demohelper-countdown-button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .demohelper-countdown-bar {
        padding: 12px 15px;
    }
    
    .demohelper-countdown-content {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    .demohelper-countdown-button {
        width: 100%;
        padding: 12px 20px;
        margin-left: 0;
    }
}

/* Print media - hide the helper bar when printing */
@media print {
    .demohelper-countdown-bar {
        display: none !important;
    }
}
