/* Field info — راهنمای ورودی‌های کاربر */

.ui-fi-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.ui-fi {
    position: relative;
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
}

.ui-fi-btn {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1px solid rgba(45, 74, 110, 0.28);
    background: rgba(45, 74, 110, 0.08);
    color: var(--glass-teal, #2d4a6e);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
    line-height: 1;
}

.ui-fi-btn:hover,
.ui-fi.is-open .ui-fi-btn {
    background: rgba(45, 74, 110, 0.18);
    border-color: rgba(45, 74, 110, 0.45);
}

.ui-fi-tip {
    display: none;
    position: absolute;
    z-index: 40;
    top: calc(100% + 8px);
    right: 0;
    min-width: 200px;
    max-width: min(280px, 70vw);
    padding: 10px 12px;
    border-radius: 12px;
    background: #1a2a4a;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.7;
    box-shadow: 0 8px 24px rgba(15, 26, 46, 0.25);
}

.ui-fi-tip::before {
    content: '';
    position: absolute;
    top: -5px;
    right: 10px;
    width: 10px;
    height: 10px;
    background: #1a2a4a;
    transform: rotate(45deg);
}

.ui-fi.is-open .ui-fi-tip {
    display: block;
}

.ui-fi-hint {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.65;
    color: var(--glass-muted, #6f817f);
    font-weight: 600;
}

html.panel-theme-dark .ui-fi-btn {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.16);
    color: #b8d0e8;
}

html.panel-theme-dark .ui-fi-tip {
    background: #0f1a2e;
}

html.panel-theme-dark .ui-fi-tip::before {
    background: #0f1a2e;
}

/* تب‌بار شلوغ‌تر وقتی پشتیبانی هم هست */
@media (max-width: 991.98px) {
    .panel-tabbar-label {
        font-size: 10px;
    }

    .panel-tabbar-item {
        min-width: 0;
        padding-inline: 2px;
    }
}

.panel-glass-icon-btn--support {
    color: var(--glass-teal, #2d4a6e);
}
