﻿.app-info-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #103048;
    font-size: 1.15rem;
    line-height: 1;
    border-radius: 50%;
    transition: color .15s ease, transform .15s ease;
}

.app-info-btn:hover,
.app-info-btn.is-active {
    color: #3699ff;
    transform: scale(1.12);
}

.app-info-btn:focus {
    outline: none;
}

.app-info-btn:focus-visible {
    box-shadow: 0 0 0 3px rgba(54, 153, 255, .25);
}

.app-info-pop {
    position: fixed;
    z-index: 1100;
    min-width: 260px;
    max-width: 380px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(16, 48, 72, .18), 0 2px 6px rgba(16, 48, 72, .08);
    opacity: 0;
    transform: translateY(4px);
    transition: opacity .14s ease, transform .14s ease;
    pointer-events: auto;
}

.app-info-pop.is-open {
    opacity: 1;
    transform: translateY(0);
}

.app-info-pop-header {
    background: #103048;
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 14px;
    border-radius: 8px 8px 0 0;
}

.app-info-pop-body {
    padding: 12px 14px;
    color: #3f4254;
}

.app-info-pop-arrow {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #fff;
    transform: translateY(-50%) rotate(45deg);
    box-shadow: -2px 2px 4px rgba(16, 48, 72, .06);
}

.app-info-pop[data-side="right"] .app-info-pop-arrow {
    left: -6px;
}

.app-info-pop[data-side="left"] .app-info-pop-arrow {
    right: -6px;
    box-shadow: 2px -2px 4px rgba(16, 48, 72, .06);
}

.app-info-card .app-info-title {
    font-weight: 600;
    color: #3f4254;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid #ebedf3;
}

.app-info-card .app-info-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 2px 0;
    font-size: 0.875rem;
}

.app-info-card .app-info-label {
    color: #b5b5c3;
    white-space: nowrap;
}

.app-info-card .app-info-value {
    text-align: right;
    color: #3f4254;
}

.app-info-card .app-info-value--success { color: #1bc5bd; font-weight: 600; }
.app-info-card .app-info-value--warning { color: #ffa800; font-weight: 600; }
.app-info-card .app-info-value--danger { color: #f64e60; font-weight: 600; }
.app-info-card .app-info-value--primary { color: #3699ff; font-weight: 600; }
.app-info-card .app-info-value--muted { color: #b5b5c3; }

@media (prefers-reduced-motion: reduce) {
    .app-info-pop,
    .app-info-btn {
        transition: none;
    }
}
