/* ── Zbot Field Mascot Styles ── */

.zbot-field-wrapper {
    display: flex;
    flex-direction: column;
}

.zbot-field-label {
    font-size: 0.85rem;
    color: #cad9ea;
    margin-bottom: 0;
}

.zbot-input-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Mascot base */
.zbot-field-mascot {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

/* Sleeping: hidden (no space) */
.zbot-field-mascot.zbot-sleeping {
    max-height: 0;
    opacity: 0;
}

/* Awake: visible */
.zbot-field-mascot.zbot-awake {
    max-height: 60px;
    opacity: 1;
}

/* Input fields */
.zbot-input {
    width: 100%;
    background: rgba(4, 13, 26, 0.8);
    border: 1px solid rgba(0, 210, 255, 0.24);
    color: #d0deed;
    padding: 12px 13px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.zbot-input:focus {
    border-color: rgba(0, 246, 255, 0.6);
    box-shadow: 0 0 8px rgba(0, 246, 255, 0.2);
}

/* Hand wave animation */
@keyframes zbot-wave {
    0%   { transform-origin: bottom center; transform: rotate(0deg); }
    20%  { transform-origin: bottom center; transform: rotate(-25deg); }
    40%  { transform-origin: bottom center; transform: rotate(15deg); }
    60%  { transform-origin: bottom center; transform: rotate(-20deg); }
    80%  { transform-origin: bottom center; transform: rotate(10deg); }
    100% { transform-origin: bottom center; transform: rotate(0deg); }
}

.zbot-hand-left.zbot-field-wave {
    animation: zbot-wave 1.2s ease-in-out;
}
