/* Unified Pro upgrade modal — shared across all pages */
.pro-upgrade-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 4500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.pro-upgrade-card {
    position: relative;
    background: #181b22;
    border: 1px solid #1f2937;
    border-radius: 12px;
    padding: 24px 20px 20px;
    max-width: 320px;
    width: 100%;
    color: #e5e7eb;
    text-align: center;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}

.pro-upgrade-close-x {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    padding: 0;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: #6b7280;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    transition: color 0.15s ease, background 0.15s ease;
}

.pro-upgrade-close-x:hover {
    color: #e5e7eb;
    background: rgba(255, 255, 255, 0.06);
}

.pro-upgrade-title {
    font-size: 14px;
    margin: 0 0 8px;
    padding: 0 20px;
    line-height: 1.5;
}

.pro-upgrade-hint {
    font-size: 12px;
    color: #9ca3af;
    margin: 0 0 16px;
    line-height: 1.5;
}

.pro-upgrade-actions {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.pro-upgrade-cta {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 6px;
    background: #3b82f6;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    transition: background 0.15s ease;
}

.pro-upgrade-cta:hover {
    background: #2563eb;
}

/* Inline Pro gate lock (panel overlays) */
.pro-gate-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 12, 16, 0.92);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pro-gate-inline {
    text-align: center;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.5;
}

.pro-gate-inline-label {
    display: block;
}

.pro-gate-inline-link {
    display: block;
    color: #3b82f6;
    text-decoration: none;
    margin-top: 2px;
}

.pro-gate-inline-link:hover {
    color: #60a5fa;
}
