:root {
    --primary: #2e7d32;
    --bg: #f0f4f0;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background: var(--bg);
    margin: 0;
}

header {
    background: var(--primary);
    color: white;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#map {
    height: 60vh;
    width: 100%;
}

.controls {
    padding: 2rem;
    text-align: center;
    background: white;
    border-radius: 30px 30px 0 0;
    margin-top: -30px;
    position: relative;
    z-index: 10;
}

.hidden {
    display: none !important;
}

.mic-btn {
    padding: 20px 40px;
    border-radius: 50px;
    background: var(--primary);
    color: white;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    transition: 0.3s;
}

.mic-btn.listening {
    background: #d32f2f;
    animation: pulse 1.5s infinite;
}

.carbon-badge {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: bold;
    border: 1px solid #2e7d32;
    display: inline-block;
    margin-bottom: 15px;
}

.signin-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 100px;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}