/* ══════════════════════════════════════════════════════════════════════════════
   ACCOUNT EXPL DESIGN (HIGH-END MODERN DARK PALETTE: #0A0A0A, #FFFFFF, #000000)
   ══════════════════════════════════════════════════════════════════════════════ */

/* Container wrapper */
#user-view-settings {
  max-width: 960px;
  margin: 0 auto;
  padding: 8px 12px 60px 12px;
}

/* ── Top Profile Header ─────────────────────────────────────────────── */
.acc-profile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 0 36px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.acc-profile-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.acc-avatar-box {
  position: relative;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  padding: 2px;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.18);
  flex-shrink: 0;
}

.acc-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.acc-user-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.acc-greeting-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.acc-greeting-title {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin: 0;
  line-height: 1.2;
}

.acc-badges-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.acc-user-email {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  font-family: inherit;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.acc-user-email:hover {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
}

.acc-user-email.email-blurred {
  display: inline-block;
  min-width: 150px;
  padding: 1px 5px;
  border-radius: 3px;
  background: rgba(150, 150, 150, 0.42);
  color: rgba(255, 255, 255, 0.62);
  filter: blur(4px);
  user-select: none;
}

.acc-user-email.email-blurred:hover {
  filter: blur(4px);
  text-decoration: none;
}

.session-ip-blurred {
  filter: blur(4px);
  user-select: none;
  cursor: pointer;
}

.account-confirm-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000001 !important;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, .72);
  backdrop-filter: blur(8px);
}

.account-confirm-card {
  width: min(100%, 390px);
  padding: 28px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 22px;
  background: #11131a;
  color: #fff;
  text-align: center;
  box-shadow: 0 24px 80px rgba(0,0,0,.55);
}

.account-confirm-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #fca5a5;
  background: rgba(239,68,68,.14);
  font-size: 21px;
}

.account-confirm-card h3 { margin: 0 0 8px; font-size: 19px; }
.account-confirm-card p { margin: 0; color: rgba(255,255,255,.58); font-size: 13px; line-height: 1.6; }
.account-confirm-actions { display: flex; gap: 10px; justify-content: center; margin-top: 22px; }
.account-confirm-actions button { border: 0; border-radius: 10px; padding: 11px 18px; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.account-confirm-cancel { color: #dbe3f2; background: rgba(255,255,255,.08); }
.account-confirm-danger { color: #fff; background: #dc3545; }
.account-confirm-actions button:hover { filter: brightness(1.12); transform: translateY(-1px); }

.acc-status-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
}

.acc-status-tag.tag-active {
  color: #22c55e;
}

.acc-status-tag.tag-verified {
  color: #22c55e;
}

.acc-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}

.acc-dot.dot-active {
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.5);
}

.acc-dot.dot-verified {
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.5);
}

/* Header Action Buttons */
.acc-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.acc-btn-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: #FFFFFF;
  color: #000000;
  border: 1px solid #FFFFFF;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.acc-btn-light:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-1px);
}

.acc-btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: #000000;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.acc-btn-dark:hover {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-1px);
}

/* ── Section Structure ──────────────────────────────────────────────── */
.acc-sections-wrapper {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.acc-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.acc-section.acc-section-highlight {
  filter: drop-shadow(0 0 16px rgba(255, 255, 255, 0.25));
  transform: translateY(-2px);
}

.acc-section-title {
  font-size: 18px;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.01em;
  margin: 0;
}

/* ── Group Card Surface ─────────────────────────────────────────────── */
.acc-group-card {
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

/* ── Row Item ───────────────────────────────────────────────────────── */
.acc-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: background 0.15s ease;
}

.acc-item-row:last-child {
  border-bottom: none;
}

.acc-item-row:hover {
  background: rgba(255, 255, 255, 0.02);
}

.acc-item-left {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.acc-item-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 15px;
  flex-shrink: 0;
}

.acc-icon-google {
  color: #FFFFFF;
}

.acc-icon-discord {
  color: #FFFFFF;
}

.acc-item-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.acc-item-title {
  font-size: 15px;
  font-weight: 600;
  color: #FFFFFF;
  letter-spacing: -0.01em;
}

.acc-item-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.4;
}

.acc-item-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

/* Status Indicators */
.acc-status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
}

.acc-status-bullet {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}

.acc-status-bullet.bullet-active {
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
}

.acc-status-bullet.bullet-warning {
  background: #eab308;
  box-shadow: 0 0 8px rgba(234, 179, 8, 0.5);
}

.acc-status-bullet.bullet-inactive {
  background: rgba(255, 255, 255, 0.3);
}

/* Item Action Button (e.g. Manage, Connect, View sessions) */
.acc-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.05);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.acc-action-btn:hover {
  background: #FFFFFF;
  color: #000000;
  border-color: #FFFFFF;
  transform: translateY(-1px);
}

/* ── Sessions Modal Fix & Styling ── */
#acc-sessions-modal.active,
#acc-sessions-modal.open {
  display: flex !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  visibility: visible !important;
  z-index: 999999 !important;
}

#acc-sessions-modal .daily-modal-panel {
  background: #0A0A0A !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
  border-radius: 20px !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .acc-profile-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .acc-header-actions {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .acc-item-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
  }
  .acc-item-right {
    width: 100%;
    justify-content: space-between;
  }
}


