/* components.css - Messages, input, orbs */

/* Orbs */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.orb1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--zoe-primary-ghost), transparent);
    top: 10%;
    left: 10%;
    animation: drift 20s infinite ease-in-out;
    animation-delay: 0s;
}

.orb2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--orb-blue), transparent);
    top: 50%;
    right: 10%;
    animation: drift 20s infinite ease-in-out;
    animation-delay: -7s;
}

.orb3 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--orb-pink), transparent);
    bottom: 10%;
    left: 30%;
    animation: drift 20s infinite ease-in-out;
    animation-delay: -14s;
}

/* Messages */
.msg {
    padding: 1.2rem 1.5rem;
    line-height: 1.8;
    font-size: 1.1rem;
    border-radius: var(--radius-msg);
    animation: msgIn 0.5s ease-out forwards;
}

.zoe {
    background: var(--zoe-primary-subtle);
    border-left: 3px solid var(--zoe-primary-soft);
    color: var(--zoe-primary);
    animation: msgIn 0.5s ease-out forwards, glow 4s infinite;
}

.user {
    background: var(--user-bg);
    text-align: right;
    color: var(--text-white);
    margin-left: 20%;
}

.pensee {
    font-style: italic;
    opacity: 0.7;
    font-size: 1rem;
    border-left-color: var(--zoe-primary-faint);
}

/* Mentor styles */
.mentor-verne {
    border-left-color: var(--mentor-verne);
    color: var(--mentor-verne);
}

.mentor-curie {
    border-left-color: var(--mentor-curie);
    color: var(--mentor-curie);
}

.mentor-turing {
    border-left-color: var(--mentor-turing);
    color: var(--mentor-turing);
}

.mentor-sagan {
    border-left-color: var(--mentor-sagan);
    color: var(--mentor-sagan);
}

/* Offline indicator */
.offline-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255,107,107,0.9);
    color: white;
    text-align: center;
    padding: 0.5rem;
    font-size: 0.9rem;
    z-index: 1001;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}
