/**
 * File: page_styles/voice-prompt.css
 * Voice FFO Banner & Modal Styles - With Minimize Support
 * Version: 2.0 - With minimize feature
 * Date: 2025-10-24 16:30
 */

/* ============================================================================
   VOICE PROMPT BANNER - FULL SIZE
   ============================================================================ */

.voice-prompt-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    position: relative;
}

.voice-prompt-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.voice-prompt-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.voice-prompt-icon-wrapper {
    flex-shrink: 0;
}

.voice-prompt-icon {
    width: 48px;
    height: 48px;
    color: white;
}

.voice-prompt-text {
    flex: 1;
    color: white;
}

.voice-prompt-text h3 {
    margin: 0 0 8px 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.voice-prompt-text p {
    margin: 0;
    font-size: 0.95rem;
    opacity: 0.95;
}

.demo-link {
    text-decoration: underline;
    font-weight: 500;
}

/* ============================================================================
   VOICE PROMPT BANNER - MINIMIZED
   ============================================================================ */

.voice-prompt-banner.minimized {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    right: 20px;
    top: 120px;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.voice-prompt-banner.minimized:hover {
    transform: scale(1.1);
}

.voice-prompt-mini {
    color: white;
    font-size: 24px;
    font-weight: 900;
    line-height: 1;
}

/* ============================================================================
   DEMO MODAL
   ============================================================================ */

.demo-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    align-items: center;
    justify-content: center;
}

.demo-modal-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.demo-modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.demo-modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
}

.demo-close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 36px;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s;
    line-height: 1;
}

.demo-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.demo-iframe {
    width: 100%;
    height: 80vh;
    max-height: 1000px;
    border: none;
    border-radius: 0 0 12px 12px;
}

/* ============================================================================
   ANIMATIONS
   ============================================================================ */

@keyframes bounceIn {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* ============================================================================
   MOBILE RESPONSIVE
   ============================================================================ */

@media (max-width: 768px) {
    .voice-prompt-banner {
        padding: 15px;
    }
    
    .voice-prompt-content {
        gap: 15px;
    }
    
    .voice-prompt-icon {
        width: 36px;
        height: 36px;
    }
    
    .voice-prompt-text h3 {
        font-size: 1.1rem;
    }
    
    .voice-prompt-text p {
        font-size: 0.9rem;
    }
    
    .voice-prompt-banner.minimized {
        width: 56px;
        height: 56px;
        right: 15px;
        top: 100px;
    }
    
    .voice-prompt-mini {
        font-size: 28px;
    }
    
    .demo-modal-content {
        width: 95%;
        max-height: 85vh;
    }
    
    .demo-modal-header {
        padding: 15px;
    }
    
    .demo-modal-header h2 {
        font-size: 1.2rem;
    }
    
    .demo-iframe {
        height: 70vh;
    }
}
