/* SubPK Platform — modern dark theme */
:root {
  --bg: #0f0f14;
  --bg-card: #16161f;
  --bg-elevated: #1c1c28;
  --border: rgba(255, 255, 255, 0.08);
  --text: #f4f4f5;
  --text-muted: #a1a1aa;
  --primary: #6366f1;
  --primary-hover: #818cf8;
  --accent: #22d3ee;
  --success: #34d399;
  --danger: #f87171;
  --warning: #fbbf24;
  --gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #22d3ee 100%);
  --radius: 14px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --font: 'Inter', 'Segoe UI', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

a { color: var(--primary-hover); text-decoration: none; }
a:hover { color: var(--accent); }

.app-shell {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 260px;
  background: var(--bg-card);
  border-right: 1px solid var(--border);
  padding: 1.5rem;
  position: fixed;
  height: 100vh;
  overflow-y: auto;
}

.sidebar-brand {
  font-size: 1.25rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sidebar-nav { list-style: none; }
.sidebar-nav li { margin-bottom: 0.25rem; }
.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  color: var(--text-muted);
  transition: all 0.2s;
}
.sidebar-nav a:hover, .sidebar-nav a.active {
  background: rgba(99, 102, 241, 0.15);
  color: var(--text);
}

.sidebar-divider {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  list-style: none;
}
.sidebar-divider span {
  display: block;
  padding: 0.25rem 1rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.main-content {
  flex: 1;
  margin-left: 260px;
  padding: 2rem;
  max-width: 1400px;
}

.page-header {
  margin-bottom: 2rem;
}
.page-header h1 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.page-header p { color: var(--text-muted); }

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.card-title { font-size: 1.1rem; font-weight: 600; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: 10px;
  font-weight: 500;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.btn-primary {
  background: var(--gradient);
  color: white;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
  color: white;
}
.btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}
.btn-ghost:hover { background: var(--bg-elevated); color: var(--text); }
.btn-danger { background: var(--danger); color: white; }
.btn-sm { padding: 0.4rem 0.8rem; font-size: 0.8rem; }
.btn-access {
  background: linear-gradient(135deg, #22d3ee, #6366f1);
  color: white;
  font-weight: 600;
}
.btn-access:hover { transform: scale(1.02); color: white; }

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
th {
  color: var(--text-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}
tr:hover td { background: rgba(255,255,255,0.02); }

.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}
.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-size: 0.95rem;
}
.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}
textarea.form-control { min-height: 120px; font-family: 'Consolas', monospace; font-size: 0.85rem; }
select.form-control { cursor: pointer; }

.alert {
  padding: 1rem 1.25rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  border: 1px solid;
}
.alert-success { background: rgba(52, 211, 153, 0.1); border-color: var(--success); color: var(--success); }
.alert-danger { background: rgba(248, 113, 113, 0.1); border-color: var(--danger); color: var(--danger); }

.badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}
.badge-success { background: rgba(52, 211, 153, 0.2); color: var(--success); }
.badge-muted { background: rgba(161, 161, 170, 0.2); color: var(--text-muted); }

/* User dashboard service cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient);
}
.service-card:hover {
  border-color: rgba(99, 102, 241, 0.4);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.service-card h3 { font-size: 1.15rem; margin-bottom: 0.85rem; }
.service-meta-list {
  list-style: none;
  margin: 0 0 1.35rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.service-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.75rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.4;
}
.service-meta-chip i {
  flex-shrink: 0;
  width: 1rem;
  text-align: center;
  color: var(--primary-hover);
  font-size: 0.82rem;
}
.service-meta-chip span { color: var(--text-muted); }
.service-meta-chip--domain { padding: 0.35rem 0.5rem; }
.service-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
  line-height: 1.5;
}
.service-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.service-meta-item i { color: var(--primary-hover); font-size: 0.8rem; }
.extension-version {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}
.service-card .meta { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 1rem; }
.service-card .actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.btn-access.is-disabled,
.btn-access:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  filter: grayscale(0.4);
  pointer-events: none;
}

/* Auth pages */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at top, rgba(99,102,241,0.15), transparent 50%), var(--bg);
  padding: 2rem;
}
.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: var(--shadow);
}
.auth-card h1 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  text-align: center;
}
.auth-card .subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 0.9rem;
}

.extension-banner {
  background: linear-gradient(135deg, rgba(99,102,241,0.2), rgba(34,211,238,0.15));
  border: 1px solid rgba(99,102,241,0.3);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}
.extension-banner strong {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
}
.extension-banner p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0.35rem 0 0;
  line-height: 1.5;
}
.extension-install-panel { margin-bottom: 1.5rem; }
.extension-install-card { margin-bottom: 0; }
.extension-install-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}
.extension-video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--border);
}
.extension-video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.extension-install-steps {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.75;
}
.extension-install-steps li { margin-bottom: 0.35rem; }
.extension-install-steps code {
  background: var(--bg-elevated);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  font-size: 0.8rem;
}
.extension-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}
.extension-status.checking { color: var(--text-muted); }
.extension-status.ok { color: var(--success); }
.extension-status.no { color: var(--danger); }
@media (max-width: 768px) {
  .extension-install-body { grid-template-columns: 1fr; }
}

.json-editor { font-family: 'Consolas', 'Monaco', monospace; font-size: 0.8rem; min-height: 200px; }

/* Custom modal shell (inside .purchase-overlay etc.) — NOT Bootstrap .modal.fade */
.modal-backdrop:not(.fade) {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
}
.modal:not(.fade) {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  overflow-y: auto;
}
.modal:not(.fade) .modal-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.modal:not(.fade) .modal-body { padding: 1.5rem; }
.modal:not(.fade) .modal-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

@media (max-width: 900px) {
  body:not(.admin-app) .sidebar { width: 100%; height: auto; position: relative; }
  body:not(.admin-app) .main-content { margin-left: 0; }
  body:not(.admin-app) .app-shell { flex-direction: column; }
  .grid-2 { grid-template-columns: 1fr; }
}

/* ——— Public site ——— */
.site-wrap { max-width: 1240px; margin: 0 auto; padding: 1.25rem 1.5rem 3rem; }
.site-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.5rem; margin-bottom: 2rem;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); position: sticky; top: 1rem; z-index: 50;
  backdrop-filter: blur(12px);
}
.site-logo {
  font-size: 1.35rem; font-weight: 700; background: var(--gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  display: flex; align-items: center; gap: 0.5rem; color: var(--text);
}
.site-nav { display: flex; align-items: center; gap: 0.25rem; list-style: none; flex-wrap: wrap; }
.site-nav a {
  padding: 0.5rem 0.85rem; border-radius: 8px; color: var(--text-muted);
  font-size: 0.9rem; font-weight: 500;
}
.site-nav a:hover { color: var(--text); background: rgba(99,102,241,0.12); }
.site-nav-toggle {
  display: none; background: none; border: 1px solid var(--border);
  color: var(--text); padding: 0.5rem 0.75rem; border-radius: 8px; cursor: pointer;
}
.hero {
  padding: 3rem 2rem; margin-bottom: 2rem;
  background: linear-gradient(135deg, rgba(99,102,241,0.15), rgba(34,211,238,0.08));
  border: 1px solid var(--border); border-radius: 20px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center;
}
.hero h1 { font-size: 2.5rem; line-height: 1.15; margin-bottom: 1rem; }
.hero h1 span { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 1.5rem; }
.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.hero-visual {
  aspect-ratio: 4/3; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--border); background: var(--bg-elevated);
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.section-title-lg {
  font-size: 1.75rem; font-weight: 700; text-align: center; margin-bottom: 0.5rem;
  background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.section-sub { text-align: center; color: var(--text-muted); margin-bottom: 2rem; }
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin-bottom: 2rem;
}
.feature-box {
  padding: 1.5rem; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); text-align: center; transition: transform 0.2s;
}
.feature-box:hover { transform: translateY(-4px); border-color: rgba(99,102,241,0.35); }
.feature-box i { font-size: 1.75rem; color: var(--primary-hover); margin-bottom: 0.75rem; }
.feature-box h3 { font-size: 1rem; margin-bottom: 0.35rem; }
.feature-box p { font-size: 0.85rem; color: var(--text-muted); }
.cta-banner {
  text-align: center; padding: 3rem 2rem; margin: 2rem 0;
  background: var(--gradient); border-radius: var(--radius); color: white;
}
.cta-banner h2 { font-size: 1.75rem; margin-bottom: 0.5rem; }
.cta-banner p { opacity: 0.9; margin-bottom: 1.25rem; }
.cta-banner .btn { background: white; color: var(--primary); }
.shop-toolbar {
  display: flex; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap; align-items: center;
}
.search-wrap { flex: 1; min-width: 200px; position: relative; }
.search-wrap i { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--text-muted); }
.search-wrap input {
  width: 100%; padding: 0.75rem 1rem 0.75rem 2.75rem;
  background: var(--bg); border: 1px solid var(--border); border-radius: 10px; color: var(--text);
}
.products-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem;
}
.product-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: all 0.25s;
}
.product-card:hover { transform: translateY(-4px); border-color: rgba(99,102,241,0.4); box-shadow: var(--shadow); }
.product-img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 200px;
  background: linear-gradient(165deg, var(--bg-elevated) 0%, var(--bg-card) 100%);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  box-sizing: border-box;
}
.product-img img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  border-radius: 20px;
}
.product-body { padding: 1.25rem; }
.product-body h3 { font-size: 1.1rem; margin-bottom: 0.35rem; }
.product-body p { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 0.75rem; line-height: 1.5; }
.product-price { font-size: 1.35rem; font-weight: 700; color: var(--accent); margin-bottom: 0.75rem; }
.product-price del { color: var(--text-muted); font-size: 0.9rem; margin-left: 0.5rem; }
.product-cycle { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.purchase-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.75); z-index: 2000;
  display: none; align-items: center; justify-content: center; padding: 1rem;
}
.purchase-overlay.show { display: flex; }
.purchase-modal {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  width: 100%; max-width: 480px; padding: 1.5rem; position: relative;
}
.purchase-modal .close-btn {
  position: absolute; top: 1rem; right: 1rem; background: none; border: none;
  color: var(--text-muted); font-size: 1.5rem; cursor: pointer;
}
.site-footer {
  margin-top: 3rem; padding: 2rem; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius);
}
.footer-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 2rem; margin-bottom: 2rem;
}
.footer-grid h4 { color: var(--text); font-size: 0.95rem; margin-bottom: 0.75rem; }
.footer-grid p, .footer-grid a { color: var(--text-muted); font-size: 0.85rem; line-height: 1.8; display: block; }
.footer-grid a:hover { color: var(--accent); }
.footer-bottom { text-align: center; padding-top: 1.5rem; border-top: 1px solid var(--border); color: var(--text-muted); font-size: 0.8rem; }
.social-row { display: flex; gap: 0.5rem; margin-top: 0.75rem; }
.social-row a {
  width: 36px; height: 36px; border-radius: 8px; background: var(--bg-elevated);
  border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--text-muted);
}
.social-row a:hover { color: var(--accent); border-color: var(--primary); }
.auth-tabs { display: flex; margin-bottom: 1.5rem; border-bottom: 1px solid var(--border); }
.auth-tab {
  flex: 1; text-align: center; padding: 0.75rem; color: var(--text-muted);
  cursor: pointer; font-weight: 500; border-bottom: 2px solid transparent;
}
.auth-tab.active { color: var(--text); border-bottom-color: var(--primary); }
.legal-prose { max-width: 800px; margin: 0 auto; }
.legal-section {
  margin-bottom: 1.5rem; padding: 1.25rem; background: var(--bg-elevated);
  border-radius: 10px; border-left: 3px solid var(--primary);
}
.legal-section h2 { font-size: 1.2rem; margin-bottom: 0.75rem; color: var(--primary-hover); }
.legal-section p, .legal-section li { color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; }
.legal-section ul { margin: 0.5rem 0 0 1.25rem; }
.pagination { display: flex; gap: 0.5rem; justify-content: center; margin-top: 1.5rem; flex-wrap: wrap; }
.pagination a, .pagination span {
  padding: 0.5rem 0.85rem; border-radius: 8px; border: 1px solid var(--border); color: var(--text-muted); font-size: 0.85rem;
}
.pagination a:hover, .pagination .active { background: rgba(99,102,241,0.2); color: var(--text); border-color: var(--primary); }
.admin-page-content { margin-left: 260px; padding: 2rem; min-height: 100vh; }
.admin-page-content .card, .admin-page-content table { background: var(--bg-card); color: var(--text); }
.admin-page-content .table { color: var(--text); }
.admin-page-content .table th { background: var(--bg-elevated); color: var(--text-muted); }
.admin-page-content .table td { border-color: var(--border); }
.admin-page-content .btn-primary { background: var(--gradient); border: none; }
.admin-page-content .modal-content { background: var(--bg-card); color: var(--text); border: 1px solid var(--border); }
.admin-page-content .modal-header { border-color: var(--border); }
.admin-page-content .form-control, .admin-page-content .form-select {
  background: var(--bg); border-color: var(--border); color: var(--text);
}
.admin-page-content .alert { border-radius: 10px; }
.main_con_resp .card {
  background: var(--bg-card) !important; border: 1px solid var(--border) !important;
  color: var(--text) !important; border-radius: var(--radius) !important;
  box-shadow: var(--shadow) !important;
}
.main_con_resp .card-header {
  background: transparent !important; border-color: var(--border) !important; color: var(--text) !important;
}
.main_con_resp .table { color: var(--text); }
.main_con_resp .table th { background: var(--bg-elevated); color: var(--text-muted); border-color: var(--border); }
.main_con_resp .table td { border-color: var(--border); }
.main_con_resp .form-control, .main_con_resp .form-select {
  background: var(--bg) !important; border-color: var(--border) !important; color: var(--text) !important;
}
.main_con_resp .btn-primary { background: var(--gradient) !important; border: none !important; }
.main_con_resp .modal-content { background: var(--bg-card) !important; color: var(--text) !important; border: 1px solid var(--border) !important; }
.main_con_resp .modal-header { border-color: var(--border) !important; }
.main_con_resp h1, .main_con_resp h2, .main_con_resp h3, .main_con_resp h4, .main_con_resp h5 { color: var(--text); }
.main_con_resp p, .main_con_resp label { color: var(--text-muted); }
.main_con_resp .text-muted { color: var(--text-muted) !important; }
@media (max-width: 1100px) {
  .admin-page-content { margin-left: 0; padding: 1rem; }
}
@media (max-width: 900px) {
  .site-nav-toggle { display: block; }
  .site-nav { display: none; flex-direction: column; width: 100%; padding-top: 1rem; }
  .site-nav.open { display: flex; }
  .site-header { flex-wrap: wrap; }
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero-actions { justify-content: center; }
  .hero h1 { font-size: 1.85rem; }
}

/* Device login conflict modal */
.device-conflict-popup {
  background: #18181b !important;
  border: 1px solid #3f3f46 !important;
  border-radius: 20px !important;
  padding: 0 !important;
  max-width: 420px !important;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5) !important;
}
.device-conflict-popup .swal2-html-container { margin: 0 !important; padding: 0 1.5rem 1rem !important; }
.device-conflict-popup .swal2-actions { padding: 1rem 1.5rem 1.5rem !important; gap: 0.75rem !important; }
.device-conflict-modal { text-align: center; color: #fafafa; }
.device-conflict-logo {
  width: 64px; height: 64px; margin: 1.5rem auto 1rem;
  border-radius: 16px; background: linear-gradient(135deg, #6366f1, #8b5cf6);
  display: flex; align-items: center; justify-content: center; font-size: 1.75rem; color: #fff;
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.35);
}
.device-conflict-modal h2 {
  font-size: 1.35rem; font-weight: 700; margin: 0 0 0.5rem;
  background: linear-gradient(135deg, #a5b4fc, #c4b5fd);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.device-conflict-modal > p {
  color: #a1a1aa; font-size: 0.9rem; line-height: 1.55; margin: 0 0 1.25rem;
}
.device-conflict-list { text-align: left; margin-bottom: 0.5rem; }
.device-conflict-item {
  display: flex; align-items: flex-start; gap: 0.85rem;
  padding: 0.85rem 1rem; margin-bottom: 0.5rem;
  background: #27272a; border: 1px solid #3f3f46; border-radius: 12px;
}
.device-conflict-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: 10px; background: rgba(99, 102, 241, 0.15);
  color: #a5b4fc; display: flex; align-items: center; justify-content: center;
}
.device-conflict-item strong { display: block; font-size: 0.95rem; color: #fafafa; margin-bottom: 0.15rem; }
.device-conflict-item span { display: block; font-size: 0.8rem; color: #a1a1aa; }
.device-conflict-time { font-size: 0.75rem !important; color: #71717a !important; margin-top: 0.2rem; }
.device-conflict-confirm { font-weight: 600 !important; padding: 0.65rem 1.25rem !important; }
.device-conflict-cancel { font-weight: 500 !important; }
