/* ==========================================================================
   AI-INFO COMPONENT STYLESHEET
   ========================================================================== */

.ai-info-btn {
    position: absolute;
    bottom: 24px;
    left: 24px;
    z-index: 25;
    display: inline-flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0 12px;
    height: 28px;
    box-sizing: border-box;
    gap: 4px;
    background: rgba(0, 0, 0, 0.25);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1000px;
    cursor: none;
    user-select: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, background-color 0.25s ease, border-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease, padding 0.2s ease;
}

/* Fades in on image hover or when active */
.main-image-container:hover .ai-info-btn,
.persona-interactive-container:hover .ai-info-btn,
.ai-info-btn.visible,
.ai-info-btn.active {
    opacity: 1;
    pointer-events: auto;
}

.ai-info-btn:hover {
    background: rgba(0, 0, 0, 0.55);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.06);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.ai-info-btn.active {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 0 16px rgba(255, 255, 255, 0.35);
    padding: 0 10px 0 12px;
}

.ai-info-label {
    font-family: 'Courier Prime', monospace;
    font-style: normal;
    font-weight: 700;
    font-size: 12px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #FFFFFF;
    letter-spacing: -0.01em;
    pointer-events: none;
    margin: 0;
    padding: 0;
    transform: translateY(1px); /* Optical vertical center adjustment for Courier Prime font metrics */
}

.ai-info-close-icon {
    font-family: 'Material Symbols Rounded';
    font-size: 14px;
    width: 14px;
    height: 14px;
    line-height: 1;
    color: #FFFFFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    margin-left: 2px;
    transform: translateY(0.5px);
}

.ai-info-btn.hidden {
    opacity: 0 !important;
    pointer-events: none !important;
}
