/* Onboarding Buddy - Gemeente De Bilt */
/* Huisstijl kleuren: Groen/Teal + Goudgeel accent */

:root {
    --primary-color: #1B7B6E;
    --primary-dark: #0B6B5B;
    --accent-color: #E8A435;
    --tile-green: #2B8A5E;
    --text-dark: #333333;
    --bg-light: #F5F5F5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Popup mode - smaller container */
body.popup-mode {
    background: #f5f5f5;
}

body.popup-mode .container {
    box-shadow: none;
    border-radius: 0;
    max-width: 100%;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.container {
    background: white;
    border-radius: 24px;
    padding: 48px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: 90%;
}

.logo {
    width: 180px;
    height: auto;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-img {
    width: 100%;
    height: auto;
}

h1 {
    color: var(--primary-dark);
    font-size: 28px;
    margin-bottom: 8px;
}

.subtitle {
    color: #666;
    margin-bottom: 32px;
}

.status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 24px;
    border-radius: 50px;
    margin-bottom: 24px;
    font-weight: 500;
}

.status.idle {
    background: #e8f5e9;
    color: #2e7d32;
}

.status.connecting {
    background: #fff3e0;
    color: #f57c00;
}

.status.active {
    background: #e3f2fd;
    color: #1976d2;
}

.status.error {
    background: #ffebee;
    color: #c62828;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: currentColor;
}

.status.active .status-dot {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.call-button {
    width: 100%;
    padding: 20px 32px;
    font-size: 18px;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--tile-green) 100%);
    border: none;
    border-radius: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.call-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(27, 123, 110, 0.4);
}

.call-button.active {
    background: linear-gradient(135deg, var(--accent-color) 0%, #D4922E 100%);
}

.call-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.listening-indicator {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 24px;
    height: 40px;
}

.listening-indicator.hidden {
    visibility: hidden;
}

.wave {
    width: 6px;
    height: 100%;
    background: var(--primary-color);
    border-radius: 3px;
    animation: wave 1s ease-in-out infinite;
}

.wave:nth-child(2) {
    animation-delay: 0.1s;
}

.wave:nth-child(3) {
    animation-delay: 0.2s;
}

@keyframes wave {

    0%,
    100% {
        transform: scaleY(0.5);
    }

    50% {
        transform: scaleY(1);
    }
}

footer {
    margin-top: 32px;
    color: #999;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 480px) {
    .container {
        padding: 32px 24px;
    }

    h1 {
        font-size: 24px;
    }

    .call-button {
        padding: 16px 24px;
        font-size: 16px;
    }
}