.mobilepro-wrapper {
    max-width: 960px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ── Header ─────────────────────────────────────────── */
.mobilepro-header { margin-bottom: 24px; }
.mobilepro-header h1 { font-size: 24px; color: #1e40af; margin: 0 0 4px; }
.mobilepro-header p  { color: #64748b; font-size: 14px; }

/* ── Tabs ────────────────────────────────────────────── */
.mobilepro-tabs {
    display: flex;
    gap: 4px;
    padding: 4px;
    background: #f1f5f9;
    border-radius: 12px;
    width: fit-content;
    margin-bottom: 24px;
}
.mobilepro-tab {
    padding: 8px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    background: transparent;
    color: #64748b;
    transition: all .2s;
    display: flex;
    align-items: center;
    gap: 6px;
}
.mobilepro-tab.active {
    background: #2563eb;
    color: #fff;
    box-shadow: 0 2px 8px rgba(37,99,235,.3);
}
.mobilepro-tab-content { display: none; }
.mobilepro-tab-content.active { display: block; }
.mobilepro-badge-new {
    background: #dcfce7;
    color: #16a34a;
    font-size: 11px;
    padding: 1px 6px;
    border-radius: 99px;
    font-weight: 600;
}

/* ── Form Card ───────────────────────────────────────── */
.mobilepro-form-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.mobilepro-form-card h3 {
    font-size: 16px;
    color: #1e293b;
    margin: 0 0 16px;
}
.mobilepro-search-type { display: flex; gap: 24px; margin-bottom: 16px; }
.mobilepro-search-type label { cursor: pointer; font-weight: 500; }
.mobilepro-input-group { display: flex; gap: 10px; }
.mobilepro-input {
    flex: 1;
    padding: 10px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
    transition: border-color .2s;
}
.mobilepro-input:focus { border-color: #3b82f6; }

/* ── Buttons ─────────────────────────────────────────── */
.mobilepro-btn {
    padding: 10px 20px;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background .2s;
}
.mobilepro-btn:hover { background: #1d4ed8; }
.mobilepro-btn:disabled { background: #94a3b8; cursor: not-allowed; }
.mobilepro-btn-danger {
    background: rgba(239,68,68,.1) !important;
    color: #dc2626 !important;
    border: 1px solid rgba(239,68,68,.3) !important;
}
.mobilepro-btn-danger:hover { background: rgba(239,68,68,.2) !important; }

/* ── Info Grid ───────────────────────────────────────── */
.mobilepro-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 12px;
    margin-top: 16px;
}
.info-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.info-card span   { font-size: 12px; color: #64748b; }
.info-card strong { font-size: 15px; color: #1e293b; }
.status-active   { color: #16a34a !important; }
.status-inactive { color: #dc2626 !important; }
.status-unknown  { color: #d97706 !important; }

/* ── History ─────────────────────────────────────────── */
.mobilepro-history { margin-top: 32px; }
.mobilepro-history h3 { font-size: 18px; margin-bottom: 12px; }

/* ── Live status ─────────────────────────────────────── */
#mobilepro-live-status { font-size: 14px; }
#mobilepro-live-map { border: 1px solid #e2e8f0; }

/* ── Session pills ───────────────────────────────────── */
.mobilepro-session-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border: 2px solid #e2e8f0;
    border-radius: 99px;
    background: #f8fafc;
    font-size: 13px;
    cursor: pointer;
    transition: border-color .15s, background .15s;
}
.mobilepro-session-pill:hover { border-color: #3b82f6; background: #eff6ff; }
.mobilepro-session-pill.active {
    border-color: #2563eb;
    background: #eff6ff;
    font-weight: 600;
}
.mobilepro-session-pill .pill-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.pill-dot.dot-live  { background: #4ade80; box-shadow: 0 0 6px #4ade80; }
.pill-dot.dot-off   { background: #cbd5e1; }

/* ── Warning banner ──────────────────────────────────── */
.mobilepro-warning-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 10px;
    font-size: 13px;
    color: #92400e;
}

/* ── Settings: Provider list ─────────────────────────── */
.mobilepro-provider-list { display: flex; flex-direction: column; gap: 10px; }
.mobilepro-provider-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    cursor: pointer;
    transition: border-color .15s, background .15s;
    font-size: 14px;
}
.mobilepro-provider-row:hover  { border-color: #93c5fd; background: #eff6ff; }
.mobilepro-provider-row.active { border-color: #3b82f6; background: #dbeafe; font-weight: 600; }
.mobilepro-provider-row .provider-label { flex: 1; }