.div-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 98vw;
    height: 8vh;
    background-color: var(--brown);
    color: var(--white);
    border-radius: 10000px;
    margin-bottom: 2vh;
    padding: 0 2vw;
    box-sizing: border-box;
    transition: justify-content 0.3s ease;
    position: relative;
}

/* When no game is running - center voice state with icon on right */
.div-footer.no-game {
    justify-content: space-between;
}

.div-footer.no-game .div-footer-left {
    display: none;
}

.div-footer.no-game .div-footer-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.div-footer.no-game .div-footer-right {
    position: absolute;
    right: 2vw;
}

.div-footer-left {
    flex: 0 0 35%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: var(--white);
    font-size: 0.85vw;
    font-weight: bold;
}

.p-footer-game-info {
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.div-footer-center {
    display: flex;
    align-items: center;
    gap: 1.5vw;
    justify-content: center;
    flex: 1 0 auto;
}

.div-footer-right {
    flex: 0 0 35%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.img-footer-logo {
    width: 2vw;
    min-width: 20px;
    flex-shrink: 0;
}

.div-footer-voice-state {
    display: flex;
    align-items: center;
    gap: 0.8vw;
    padding: 0.5vw 1vw;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 500px;
    flex-shrink: 0;
}

.p-footer-voice-state-label {
    font-size: 0.85vw;
    font-weight: bold;
    margin: 0;
    opacity: 0.8;
}

.p-footer-voice-state-status {
    font-size: 0.85vw;
    font-weight: bold;
    margin: 0;
    padding: 0.3vw 0.8vw;
    background-color: rgba(139, 225, 235, 0.3);
    border-radius: 500px;
    min-width: 80px;
    text-align: center;
    color: var(--blue);
}

/* Different states for voice recognition */
.p-footer-voice-state-status.listening {
    background-color: rgba(139, 225, 235, 0.3);
    color: var(--blue);
}

.p-footer-voice-state-status.paused {
    background-color: rgba(233, 138, 244, 0.3);
    color: var(--pink);
}

.p-footer-voice-state-status.blocked {
    background-color: rgba(244, 67, 54, 0.3);
    color: #f44336;
}

.p-footer-voice-state-status.processing {
    background-color: rgba(33, 150, 243, 0.3);
    color: #2196f3;
}

.p-footer-voice-state-status.disabled {
    background-color: rgba(155, 155, 155, 0.3);
    color: #9b9b9b;
}

.p-footer-title {
    font-size: 1vw;
    font-weight: bold;
}

.p-footer-game-players {
    font-size: 0.8vw;
    margin: 0;
    opacity: 0.9;
}
