.visualization-container {
    flex-wrap: nowrap;
    flex-direction: column;
    justify-content: center;
    gap: 0.85rem;
    padding: 0.5rem 0;
}

.verb-pills {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}

.pill {
    border-radius: 16px;
    padding: 5px 20px;
    text-align: center;
    min-width: 70px;
}

.pill span {
    font-weight: 700;
    font-size: 0.85rem;
}

.verb {
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-right: 0.5rem;
    display: inline-block;
    width: 60px;
    text-align: center;
}

.verb.get {
    background: #3b82f6;
    color: white;
}

.verb.post {
    background: #22c55e;
    color: white;
}

.verb.put {
    background: #f59e0b;
    color: white;
}

.verb.delete {
    background: #ef4444;
    color: white;
}

.database-container {
    width: 250px;
    height: 145px;
    border: 2px dashed var(--glass-border);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    background: rgba(0, 0, 0, 0.2);
}

.db-label {
    position: absolute;
    top: -10px;
    background: #0f172a;
    padding: 0 10px;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.user-card {
    background: #1e293b;
    border: 1px solid var(--primary);
    padding: 1rem;
    border-radius: 8px;
    width: 80%;
    margin-top: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: all 0.3s;
}

.user-card h3 {
    margin: 0;
    font-size: 1rem;
    color: var(--secondary);
}

.user-card p {
    margin: 5px 0 0;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.actions {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 10px;
    width: 100%;
    max-width: 400px;
}

.action-btn {
    background: #334155;
    border: none;
    color: white;
    padding: 0.8rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.2s;
}

.action-btn:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.action-btn:active {
    transform: scale(0.95);
}

#console-output {
    font-family: monospace;
    color: var(--text-muted);
    min-height: 1.5rem;
}

/* Animations */
@keyframes popIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    80% {
        transform: scale(1.1);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

@keyframes fadeOut {
    to {
        transform: scale(0);
        opacity: 0;
    }
}