/**
 * Progressive Disclosure Styles
 * Simplifies translator interface by hiding non-essential elements initially
 * Shows features progressively as users become comfortable
 */

/* Hide overwhelming elements initially */
body.simplified-mode .smart-allocation-banner,
body.simplified-mode #smartAllocationBanner {
    display: none !important;
}

body.simplified-mode .demo-mode-button,
body.simplified-mode #demoModeBtn {
    display: none !important;
}

body.simplified-mode .recent-contacts,
body.simplified-mode #recentContacts {
    display: none !important;
}

body.simplified-mode .language-pairs-section,
body.simplified-mode #languagePairsSection {
    display: none !important;
}

body.simplified-mode .language-favorites-section,
body.simplified-mode #languageFavoritesSection {
    display: none !important;
}

body.simplified-mode .recent-languages-section,
body.simplified-mode #recentLanguagesSection {
    display: none !important;
}

body.simplified-mode .onboarding-progress,
body.simplified-mode .progress-sidebar,
body.simplified-mode .getting-started-panel {
    display: none !important;
}

body.simplified-mode .email-verification-banner,
body.simplified-mode .email-verification-prompt {
    display: none !important;
}

body.simplified-mode .demo-banner,
body.simplified-mode .trial-banner {
    display: none !important;
}

body.simplified-mode .speed-dial-section,
body.simplified-mode .favorite-contacts {
    display: none !important;
}

body.simplified-mode .quick-start-mode {
    display: none !important;
}

body.simplified-mode .language-categories {
    display: none !important;
}

/* Simplify the translator card */
body.simplified-mode .translator-card {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
}

/* Center and simplify the main interface */
body.simplified-mode .translator-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 100px);
}

/* Simplify phone input */
body.simplified-mode .phone-input-section {
    margin-bottom: 2rem;
}

/* Make the call button more prominent */
body.simplified-mode .start-call-btn,
body.simplified-mode #startCallBtn {
    width: 100%;
    padding: 1.25rem;
    font-size: 1.125rem;
    background: linear-gradient(135deg, #0EA5E9 0%, #6366F1 100%);
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 2rem;
}

body.simplified-mode .start-call-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(14, 165, 233, 0.3);
}

/* Show help button for accessing hidden features */
.help-toggle-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0EA5E9 0%, #6366F1 100%);
    color: white;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1000;
}

.help-toggle-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.help-toggle-btn svg {
    width: 24px;
    height: 24px;
}

/* Progressive reveal animation */
.progressive-reveal {
    animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Show more features button */
.show-more-features {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-primary);
}

.show-more-btn {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.show-more-btn:hover {
    background: var(--color-primary);
    color: white;
}

/* Simplified header */
body.simplified-mode .translator-header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

body.simplified-mode .translator-header p {
    font-size: 1rem;
    color: var(--text-secondary);
}

/* Focus mode - even more minimal */
body.focus-mode .translator-card {
    border: 2px solid var(--color-primary);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
}

/* Hide all tooltips in simplified mode */
body.simplified-mode [data-tooltip] {
    pointer-events: none;
}

body.simplified-mode .tooltip {
    display: none !important;
}

/* Clean up spacing */
body.simplified-mode .input-group {
    margin-bottom: 1.5rem;
}

body.simplified-mode .input-group:last-child {
    margin-bottom: 0;
}

/* Hide voice input initially in simplified mode */
body.simplified-mode .voice-input-container {
    display: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    body.simplified-mode .translator-card {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .help-toggle-btn {
        bottom: 1rem;
        right: 1rem;
        width: 48px;
        height: 48px;
    }
}