/* ========================================
   ADMIN ACCOUNT SHOW - Account Details Page
   Styled to match IP Block and Invoice editors
   All styles scoped under .account-show
   ======================================== */

/* ----------------------------------------
   HEADER - Indigo/Purple gradient (royal feel)
   ---------------------------------------- */
.account-show .account-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
  border-radius: 8px;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .account-show .account-header {
  background: linear-gradient(135deg, #3d3260 0%, #2a2248 100%);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(139, 92, 246, 0.25);
}

.account-show .account-header h1 {
  color: white;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
}

.account-show .account-header .button.is-static {
  background: rgba(0, 0, 0, 0.25);
  border-color: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .account-show .account-header .button.is-static {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.15);
}

.account-show .account-header-stats {
  display: flex;
  gap: 2rem;
}

.account-show .header-stat {
  text-align: center;
}

.account-show .header-stat-value {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
}

.account-show .header-stat-value--danger {
  color: #fca5a5;
}

.account-show .header-stat-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.15rem;
}

.account-show .account-header .buttons {
  margin-bottom: 0;
  flex-shrink: 0;
}

.account-show .account-header .buttons .button {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  color: white;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.account-show .account-header .buttons .button:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
}


/* ----------------------------------------
   TAB PANELS
   ---------------------------------------- */
.account-show .tab-panel {
  display: none;
}

.account-show .tab-panel.is-active {
  display: block;
  animation: accountFadeIn 0.2s ease;
}

@keyframes accountFadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}


/* ----------------------------------------
   TABLE STYLES - clickable rows
   ---------------------------------------- */
.account-show .table tbody tr.is-clickable {
  cursor: pointer;
}


/* ----------------------------------------
   MEMBER AVATARS
   ---------------------------------------- */
.account-show .member-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: white;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  flex-shrink: 0;
}

.account-show .member-avatar--owner {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.account-show .member-avatar--admin {
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
}

/* ----------------------------------------
   STATUS DOTS
   ---------------------------------------- */
.account-show .status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 0.5rem;
}

.account-show .status-dot--success { background: #10b981; box-shadow: 0 0 6px #10b98180; }
.account-show .status-dot--warning { background: #f59e0b; box-shadow: 0 0 6px #f59e0b80; }
.account-show .status-dot--danger { background: #ef4444; box-shadow: 0 0 6px #ef444480; }
.account-show .status-dot--info { background: #3b82f6; box-shadow: 0 0 6px #3b82f680; }


/* ----------------------------------------
   EMPTY STATE - Uses Bulma's standard title/subtitle classes
   ---------------------------------------- */
.account-show .empty-state-panel {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--bulma-scheme-main-bis);
  border-radius: 6px;
}

.account-show .empty-state-panel .icon {
  color: var(--bulma-text-weak);
  margin-bottom: 1rem;
  opacity: 0.5;
}

/* ----------------------------------------
   RESPONSIVE
   ---------------------------------------- */
@media screen and (max-width: 1024px) {
  .account-show .account-header-stats {
    gap: 1.5rem;
  }
}

@media screen and (max-width: 768px) {
  .account-show .account-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .account-show .account-header-stats {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .account-show .account-header .buttons {
    width: 100%;
    justify-content: flex-start;
  }

  .account-show .section-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .account-show .section-tabs::-webkit-scrollbar {
    display: none;
  }

  .account-show .section-tab {
    flex-shrink: 0;
  }
}
