/* Local Differential Privacy Explorer - Styles */

body { 
    font-family: 'Inter', sans-serif; 
}

/* Visual Metaphors - Ball Elements */
.ball {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: inset -2px -2px 6px rgba(0,0,0,0.2);
    border: 1px solid rgba(0,0,0,0.1);
    transition: all 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: default;
    user-select: none;
}

.ball-authentic { 
    background-color: #f97316; 
    color: #fff; 
}

.ball-noise { 
    background-color: #22c55e; 
    color: #fff; 
}

.ball-other { 
    background-color: #3b82f6; 
    opacity: 0.6; 
}

/* Animation Keyframes */
@keyframes handPick {
    0% { transform: translateY(-30px); opacity: 0; }
    50% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(-15px); opacity: 1; }
}

.animate-hand { 
    animation: handPick 1s ease-in-out forwards; 
}

@keyframes moveRight {
    0% { transform: translateX(0); opacity: 1; }
    100% { transform: translateX(150px); opacity: 0; }
}

.animate-send { 
    animation: moveRight 1s ease-in-out forwards; 
}

/* Panel Styles */
.panel {
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    background: white;
    position: relative;
    overflow: hidden;
}

.boundary-local {
    border: 2px dashed #f97316;
    background-color: #fff7ed;
    position: relative;
}

.boundary-server {
    border: 2px dashed #3b82f6;
    background-color: #eff6ff;
    position: relative;
}

.boundary-label {
    position: absolute;
    top: -10px;
    left: 10px;
    background: white;
    padding: 0 6px;
    font-size: 10px;
    font-weight: bold;
    color: #4b5563;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
}

/* Chart Bar Transitions */
.bar-anim {
    transition: height 1s cubic-bezier(0.4, 0, 0.2, 1);
}
