/* ============================================================
   PROFIL HERO (archive/blacklist)
   ============================================================ */
.profile-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255,255,255,0.10), rgba(255,255,255,0.03));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(14px);
}

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

.profile-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.profile-hero-title {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.profile-name {
  font-size: 28px;
  font-weight: 800;
  margin: 0;
  line-height: 1.1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-subline {
  display: flex;
  gap: 10px;
  align-items: center;
  opacity: 0.85;
  font-size: 13px;
}

.badge-pill {
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 800;
  font-size: 11px;
}

.badge-id {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Courier New", monospace;
  opacity: 0.75;
  font-size: 12px;
}


/* ============================================================
   DRAWER / SIDE PANEL
   ============================================================ */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: flex;
  justify-content: flex-end;
}

.drawer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity var(--dur-2) var(--ease);
}

.drawer-inner {
  position: relative;
  width: 460px;
  background: linear-gradient(180deg, rgba(99,102,241,0.05) 0%, transparent 30%), #0c1323;
  height: 100%;
  display: flex;
  flex-direction: column;
  border-left: 1px solid rgba(99,102,241,0.2);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.6);
  transform: translateX(24px);
  opacity: 0;
  transition: transform var(--dur-3) var(--ease), opacity var(--dur-2) var(--ease);
}

.drawer:not(.hidden) .drawer-inner  { transform: translateX(0); opacity: 1; }
.drawer:not(.hidden) .drawer-overlay { opacity: 1; }

.drawer-header {
  padding: 25px 35px;
  display: flex;
  justify-content: flex-end;
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(180deg, rgba(12,19,35,0.95), transparent);
}

.drawer-body {
  padding: 10px 40px 40px;
  overflow-y: auto;
  flex: 1;
}

.drawer-body h2 {
  margin-top: 10px;
  margin-bottom: 30px;
  font-size: 28px;
  font-weight: 800;
}

.btn-close-circle {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.7);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.btn-close-circle:hover {
  background: rgba(244, 63, 94, 0.18);
  border-color: rgba(244, 63, 94, 0.5);
  color: var(--danger);
  transform: rotate(90deg);
  box-shadow: 0 0 12px rgba(244, 63, 94, 0.25);
}


/* ============================================================
   PAGE PROFIL FULL
   ============================================================ */
.profile-view {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 800px 500px at 10% 0%, rgba(99,102,241,0.12), transparent 60%),
    radial-gradient(ellipse 600px 400px at 90% 100%, rgba(168,85,247,0.10), transparent 60%),
    #060a14;
  z-index: 9999;
  overflow-y: auto;
  animation: slideInUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.profile-content-wrapper {
  max-width: 1100px;
  margin: 60px auto;
  width: 90%;
}

.profile-card-full {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: 50px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.profile-section { margin-top: 50px; }

.profile-section h3 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--primary-alt);
  margin-bottom: 20px;
  font-weight: 900;
}

.profile-grid-large {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.profile-actions {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* profile top bar */
.profile-top-bar {
  padding: 18px 28px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(6, 10, 20, 0.8);
  backdrop-filter: blur(20px);
  position: sticky;
  top: 0;
  z-index: 10;
}
