.livekit-agent-container {
    position: relative;
    width: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.livekit-state {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.livekit-state.hidden {
    opacity: 0;
    pointer-events: none;
}

.livekit-wrapper {
    text-align: center;
    max-width: 600px;
    margin-bottom: 2rem;
}

.livekit-preset-agents {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
}

.livekit-agent-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    border: 2px solid transparent;
    border-radius: 12px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.livekit-agent-badge:hover {
    border-color: #1f4eda;
    transform: translateY(-2px);
}

.livekit-incall-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.livekit-audio-marble {
    position: relative;
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.marble-core {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1f4eda, #547fff);
}

.marble-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(31, 78, 218, 0.3);
    animation: marble-pulse 2s infinite;
}

.ring-1 {
    width: 100px;
    height: 100px;
}

.ring-2 {
    width: 120px;
    height: 120px;
    animation-delay: 0.5s;
}

@keyframes marble-pulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.2); opacity: 0; }
}

.livekit-call-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.livekit-back-btn {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 10;
}

/* Dots animation */
@keyframes dots {
    0%, 20% { content: ''; }
    40% { content: '.'; }
    60% { content: '..'; }
    80%, 100% { content: '...'; }
}

.dots::after {
    content: '';
    animation: dots 1.5s infinite;
}
