/* Glassmorphism Output Panel */
.service-output-panel {
    position: fixed;
    right: -400px; /* hidden by default */
    top: 60px;
    width: 350px;
    height: calc(100vh - 80px);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: -4px 0 24px rgba(0,0,0,0.1);
    transition: right 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 1000;
    padding: 24px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    color: #1a1a2e;
    font-family: 'Inter', sans-serif;
}
.service-output-panel.open {
    right: 0;
}

/* AI Service Node Badge */
.service-badge {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    color: white;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(110, 142, 251, 0.4);
    cursor: pointer;
    z-index: 10;
    animation: pulseBadge 2.5s infinite ease-in-out;
}

@keyframes pulseBadge {
    0% { transform: scale(1); box-shadow: 0 4px 12px rgba(110, 142, 251, 0.4); }
    50% { transform: scale(1.15); box-shadow: 0 4px 20px rgba(110, 142, 251, 0.8); }
    100% { transform: scale(1); box-shadow: 0 4px 12px rgba(110, 142, 251, 0.4); }
}

.service-output-content {
    flex-grow: 1;
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    padding: 16px;
    margin-top: 16px;
    font-family: monospace;
    font-size: 0.9em;
    white-space: pre-wrap;
    border: 1px solid rgba(255,255,255,0.6);
    word-break: break-all;
}
