/* /eticks/styles/profile.css */

.et-profile,
.et-profile * {
  box-sizing: border-box;
}

.et-profile {
  min-height: 100vh;
  background: #ffffff !important;
  color: #000000;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  overflow-x: hidden;
  padding: 10px 0 28px;
}

/* root shell */
.et-profile .profile-shell {
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 12px;
}

/* hide cover completely */
.et-profile .cover,
.et-profile #profileCover {
  display: none !important;
}

/* top bar */
.et-profile .profile-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px 0 14px;
  margin-bottom: 10px !important;
  background: linear-gradient(to bottom, rgba(202, 202, 202, 0.98), rgba(124, 124, 124, 0.92));
  backdrop-filter: blur(10px);
}

.et-profile .topbar-title {
  text-align: center;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: #050505;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.et-profile .topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.et-profile .icon-btn {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: #000000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity .18s ease, transform .18s ease, background .18s ease;
}

.et-profile .icon-btn:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,.06);
}

.et-profile .notif-bell {
  position: relative;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  
}

.et-profile .bell-icon {
  color: #2bff6b;
  width: 22px;
  height: 22px;
  display: block;
  object-fit: contain;
  opacity: .98;
}

.et-profile .notif-count {
  position: absolute;
  top: 2px;
  right: 1px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: #ff2d55;
  color: #000000;
  font-size: 12px;
  line-height: 20px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(255,45,85,.35);
}

/* menu */
.menu-wrap {
  position: relative;
}

.menu-dropdown {
  position: absolute;
  top: 48px;
  right: 0;
  min-width: 170px;
  padding: 8px;
  border-radius: 16px;
  background: #111;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 18px 40px rgba(0,0,0,.4);
  display: none;
  flex-direction: column;
  z-index: 50;
}

.menu-dropdown.open {
  display: flex;
}

.menu-dropdown button {
  background: none;
  border: none;
  color: #000000;
  padding: 11px 12px;
  text-align: left;
  border-radius: 12px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}

.menu-dropdown button:hover {
  background: rgba(255,255,255,.08);
}

/* profile header */
.et-profile .profile-hero {
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  padding: 8px 0 12px;
}

.et-profile .profile-header-row {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 0;
}

.et-profile .avatar-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.et-profile .avatar-frame {
  position: relative;
  width: 92px;
  height: 92px;
  flex: 0 0 auto;
}

.et-profile .avatar {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  object-fit: cover;
  background: #1b1b1b;
  border: 1.5px solid rgba(255,255,255,.14);
  box-shadow: 0 0 0 1px rgba(0,0,0,.9);
}

.et-profile .online-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #17d16a;
  border: 2px solid #000;
  position: absolute;
  right: 6px;
  bottom: 4px;
  box-shadow: 0 0 0 3px rgba(23,209,106,.14);
}

.et-profile .bio-below-avatar {
  margin-top: 10px;
  width: 92px;
  min-height: 44px;
  padding: 0;
  background: transparent;
  border: none;
  font-size: 14px;
  line-height: 1.35;
  color: rgba(255,255,255,.82);
  white-space: pre-line;
  overflow: hidden;
}

.et-profile #profileBio {
  margin-top: -5px !important;
  max-width: 520px;
  font-size: 12px;
  line-height: 1.45;
  color: rgb(0, 0, 0) !important;
  white-space: pre-line;
}

.et-profile .profile-meta {
  min-width: 0;
  padding-top: 2px;
}

.et-profile .name {
  margin: 0;
  font-size: 20px !important;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -.02em;
  color: #000000;
  overflow-wrap: anywhere;
}

/* stats row */
.et-profile .stats-strip {
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 420px;
}

.et-profile .stat {
  text-align: left;
}

.et-profile .stat h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1;
  font-weight: 800;
  color: #000000;
}

.et-profile .stat span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: rgb(0, 0, 0) !important;
}

/* actions */
.et-profile .profile-actions-row {
  margin-top: 16px;
}

.et-profile .actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.et-profile .btn {
  border: none;
  border-radius: 12px;
  padding: 11px 16px;
  min-height: 42px;
  background: #262626;
  color: #000000;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, opacity .18s ease;
}

.et-profile .btn:hover {
  transform: translateY(-1px);
  background: #303030;
}

.et-profile .edit-fab {
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: #000000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* content */
.et-profile .content-section {
  width: 100%;
  max-width: 1480px;
  margin: 8px auto 0;
  padding: 0;
  color: #000000;
}

/* section head */
.et-profile .section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 12px;
  padding: 0;
}

.et-profile .section-head h4 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: #000000;
}

.et-profile .section-head p {
  margin: 4px 0 0;
  font-size: 13px;
  color: rgb(0, 0, 0);
}

.et-profile .section-head span {
  font-size: 12px;
  color: rgb(0, 0, 0);
}

/* instagram-style tabs */
.et-profile .profile-tabs {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 0;
  padding: 10px 0 0;
  margin: 0 0 12px;
  border-top: 1px solid rgba(255,255,255,.06);
}

.et-profile .profile-tab {
  flex: 1;
  border: none;
  background: transparent;
  color: rgb(0, 0, 0);
  cursor: pointer;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  transition: color .18s ease, opacity .18s ease;
  position: relative;
}

.et-profile .profile-tab:hover {
  color: rgb(61, 61, 61);
}

.et-profile .profile-tab.active {
  color: #000000;
}

.et-profile .profile-tab.active::after {
  content: "";
  position: absolute;
  left: 22%;
  right: 22%;
  bottom: -1px;
  height: 2px;
  border-radius: 999px;
  background: #000000;
}

/* panels */
.et-profile .tab-panel {
  display: none;
}

.et-profile .tab-panel.active {
  display: block;
}

/* grid */
.et-profile .feed,
.et-profile .mini-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 3px;
}

.et-profile .feed img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  border-radius: 0;
  background: #111;
  transition: opacity .18s ease;
}

.et-profile .feed img:hover {
  opacity: .94;
}

/* cards for saved/bookmarks */
.et-profile .mini-card {
  display: flex;
  gap: 12px;
  background: #111;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 16px;
  overflow: hidden;
  min-height: 108px;
  text-decoration: none;
  color: inherit;
}

.et-profile .mini-thumb {
  width: 96px;
  flex: 0 0 96px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #1a1a1a;
}

.et-profile .mini-body {
  padding: 12px 12px 12px 0;
  min-width: 0;
}

.et-profile .mini-body h5 {
  margin: 0;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 800;
  color: #000000;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.et-profile .mini-body p {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(255,255,255,.58);
}

/* empty state */

.et-profile .empty-state {
  display: flex;
  justify-content: center;
  padding: 28px 12px;
}

.et-profile .empty-state-card {
  width: 100%;
  max-width: 360px;
  text-align: center;
  padding: 28px 20px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.08);
}

.et-profile .empty-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.06);
}

.et-profile .empty-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.et-profile .empty-state-card h5 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
}

.et-profile .empty-state-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  opacity: 0.75;
}





.skeleton {
  background: linear-gradient(90deg, #1e1e1e 25%, #2d2d2d 37%, #1e1e1e 63%);
  background-size: 400% 100%;
  animation: shimmer 1.2s ease infinite;
  border-radius: 14px;
}

@keyframes shimmer {
  0% { background-position: 100% 50%; }
  100% { background-position: 0 50%; }
}

.skeleton-circle {
  border-radius: 50%;
}

.action-skeleton {
  width: 110px;
  height: 40px;
  border-radius: 999px;
}

.stat-skeleton {
  width: 70px;
  height: 24px;
  margin: 0 auto 8px;
}

.section-title {
  width: 140px;
  height: 22px;
}

.section-subtitle {
  width: 220px;
  height: 14px;
  margin-top: 10px;
}

.tab-skeleton {
  width: 86px;
  height: 36px;
  border-radius: 999px;
}

.card-skeleton {
  height: 120px;
  border-radius: 18px;
  margin-bottom: 12px;
}

.modal-title-skeleton {
  width: 140px;
  height: 24px;
  margin-bottom: 18px;
}

.skeleton-input {
  height: 46px;
  border: none;
  color: transparent;
}

.preview-skeleton {
  width: 100%;
  height: 160px;
  border-radius: 18px;
  margin-bottom: 10px;
}

.save-skeleton {
  width: 100%;
  height: 46px;
  border: none;
}

.notif-title-skeleton {
  width: 120px;
  height: 20px;
}

.notif-skeleton {
  height: 70px;
  border-radius: 16px;
  margin-bottom: 10px;
}

/* FULL PAGE LOADER */
.profile-loading {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: linear-gradient(180deg, #070707 0%, #0d0d0d 100%);
  display: flex;
  justify-content: center;
  overflow-y: auto;
  padding: 18px;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

 .profile-loading.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.et-profile .loading-shell {
  width: 100%;
  max-width: 1480px;
  padding-bottom: 28px;
}

.et-profile .loading-cover {
  height: 180px;
  border-radius: 28px;
  margin-bottom: 18px;
}

.et-profile .loading-hero {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  align-items: start;
  padding: 6px 2px 18px;
}

.et-profile .loading-avatar {
  width: 110px;
  height: 110px;
  border-radius: 28px;
}

.et-profile .loading-meta {
  min-width: 0;
}

.et-profile .loading-line {
  border-radius: 14px;
}

.et-profile .loading-name {
  height: 26px;
  width: min(260px, 70%);
  margin-top: 12px;
}

.et-profile .loading-bio {
  height: 16px;
  width: min(420px, 92%);
  margin-top: 14px;
}

.et-profile .loading-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.et-profile .loading-pill {
  height: 40px;
  width: 120px;
  border-radius: 999px;
}

.et-profile .loading-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.et-profile .loading-stat {
  height: 78px;
  border-radius: 20px;
}

.et-profile .loading-section {
  margin-top: 18px;
}

.et-profile .loading-section-head {
  margin-bottom: 14px;
}

.et-profile .loading-title {
  height: 24px;
  width: 140px;
}

.et-profile .loading-subtitle {
  height: 14px;
  width: 240px;
  margin-top: 10px;
}

.et-profile .loading-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.et-profile .loading-tab {
  width: 92px;
  height: 38px;
  border-radius: 999px;
}

.et-profile .loading-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.et-profile .loading-card {
  height: 132px;
  border-radius: 22px;
}

/* SHARED SKELETON */
.et-profile .skeleton {
  background: linear-gradient(90deg, #151515 25%, #2a2a2a 37%, #151515 63%);
  background-size: 400% 100%;
  animation: et-profile-skeleton 1.15s ease-in-out infinite;
}

@keyframes et-profile-skeleton {
  0% { background-position: 100% 50%; }
  100% { background-position: 0 50%; }
}

@media (max-width: 768px) {
  .et-profile .loading-hero {
    grid-template-columns: 1fr;
  }

  .et-profile .loading-avatar {
    width: 96px;
    height: 96px;
  }

  .et-profile .loading-stats {
    grid-template-columns: 1fr;
  }

  .et-profile .loading-grid {
    grid-template-columns: 1fr;
  }
}
/* modal */
.et-profile .modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.62);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 18px;
}

.et-profile .modal-content {
  width: 100%;
  max-width: 430px;
  background: #000000;
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 18px 55px rgba(0,0,0,.28);
}

.et-profile .modal h3 {
  margin: 0 0 14px;
  font-size: 20px;
  font-weight: 800;
  color: #111827;
}

.et-profile .input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid #d8dee6;
  margin-bottom: 12px;
  font-size: 14px;
  outline: none;
  background: #000000;
  color: #111827;
}

.et-profile .input:focus {
  border-color: #2b7cff;
  box-shadow: 0 0 0 3px rgba(43,124,255,.12);
}

.et-profile .drop {
  border: 1px dashed #cfd7e2;
  border-radius: 16px;
  padding: 16px;
  text-align: center;
  cursor: pointer;
  margin-bottom: 12px;
  background: #fafcff;
}

.et-profile .upload-box {
  position: relative;
  overflow: hidden;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.et-profile .upload-box .preview {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 12px;
  display: none;
}

.et-profile .upload-text {
  font-size: 13px;
  color: #667085;
}

.et-profile .save-btn {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 14px;
  background: #111827;
  color: #000000;
  font-weight: 800;
  cursor: pointer;
}

.et-profile .save-btn:disabled {
  opacity: .7;
  cursor: not-allowed;
}

.et-profile .loader {
  width: 16px;
  height: 16px;
  border: 2px solid #000000;
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: et-profile-spin .65s linear infinite;
  display: inline-block;
}

@keyframes et-profile-spin {
  to { transform: rotate(360deg); }
}

/* notifications */
.et-profile .notifications {
  position: fixed;
  right: -420px;
  top: 0;
  width: 420px;
  height: 100%;
  background: #090909;
  border-left: 1px solid rgba(255,255,255,.08);
  box-shadow: -10px 0 40px rgba(0,0,0,.25);
  transition: right .32s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 200;
}

.et-profile .notifications.open {
  right: 0;
}

.et-profile .notif-header {
  padding: 18px 20px;
  color: #000000;
  border-bottom: 1px solid rgba(255,255,255,.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.et-profile .notif-close {
  color: rgba(255,255,255,.8);
  cursor: pointer;
  font-size: 18px;
}

.et-profile .notif-list {
  flex: 1;
  overflow-y: auto;
}

.et-profile .notification {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  cursor: pointer;
}

.et-profile .notification:hover {
  background: rgba(255,255,255,.03);
}

.et-profile .notif-card {
  display: flex;
  gap: 12px;
  width: 100%;
}

.et-profile .notif-poster-wrap {
  position: relative;
  flex: 0 0 auto;
}

.et-profile .notif-poster {
  width: 74px;
  height: 94px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.et-profile .notif-badge {
  position: absolute;
  top: -9px;
  left: 8px;
  background: #ff2d55;
  color: #000000;
  font-size: 8px;
  font-weight: 700;
  padding: 4px 6px;
  border-radius: 6px;
  letter-spacing: .4px;
}

.et-profile .notif-info {
  flex: 1;
  min-width: 0;
}

.et-profile .notif-title {
  color: #000000;
  font-weight: 700;
  font-size: 14px;
}

.et-profile .notif-text {
  font-size: 13px;
  margin-top: 4px;
  color: rgba(255,255,255,.72);
  line-height: 1.45;
}

.et-profile .notif-time {
  font-size: 12px;
  margin-top: 6px;
  color: rgba(255,255,255,.48);
}

.et-profile .notif-view-btn {
  margin-top: 8px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: #000000;
  color: #111;
}

/* empty notif */
.et-profile .empty-notif {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: rgba(255,255,255,.72);
  padding: 24px;
}

.et-profile .empty-notif img {
  width: 70px;
  opacity: .7;
  margin-bottom: 10px;
}

.et-profile .notif-skeleton {
  height: 60px;
  background: linear-gradient(90deg, #0f0f0f, #1d1d1d, #0f0f0f);
  animation: et-profile-notif-load 1.1s infinite;
}

@keyframes et-profile-notif-load {
  0% { opacity: .55; }
  50% { opacity: 1; }
  100% { opacity: .55; }
}

/* responsive */
@media (max-width: 900px) {
  .et-profile .profile-header-row {
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 14px;
  }

  .et-profile .avatar-frame,
  .et-profile .avatar,
  .et-profile .bio-below-avatar {
    width: 104px;
  }

  .et-profile .avatar {
    height: 104px;
  }

  .et-profile .feed,
  .et-profile .mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .et-profile .notifications {
    width: 100%;
    right: -100%;
  }
}

@media (max-width: 640px) {
  .et-profile {
    padding: 8px 0 24px;
  }

  .et-profile .profile-shell {
    padding: 0 10px;
  }

  .et-profile .profile-header-row {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 12px;
  }

  .et-profile .avatar-frame,
  .et-profile .avatar,
  .et-profile .bio-below-avatar {
    width: 92px;
  }

  .et-profile .avatar {
    height: 92px;
  }

  .et-profile .bio-below-avatar {
    font-size: 12.5px;
    line-height: 1.35;
  }

  .et-profile .name {
    font-size: 18px !important;
  }

  .et-profile .stats-strip {
    gap: 8px;
    max-width: 100%;
  }

  .et-profile .stat h3 {
    font-size: 16px;
  }

  .et-profile .stat span {
    font-size: 11px;
  }

  .et-profile .profile-tab {
    font-size: 13px;
  }

  .et-profile .feed,
  .et-profile .mini-grid {
    grid-template-columns: 1fr;
  }

  .et-profile .mini-thumb {
    width: 92px;
    flex-basis: 92px;
  }

  .et-profile .modal-content {
    padding: 18px;
    border-radius: 18px;
  }
}

@media (max-width: 420px) {
  .et-profile .profile-topbar {
    grid-template-columns: 40px 1fr auto;
  }

  .et-profile .icon-btn {
    width: 40px;
    height: 40px;
  }

  .et-profile .topbar-title {
    font-size: 16px;
  }

  .et-profile .section-head h4 {
    font-size: 17px;
  }

  .et-profile .section-head p {
    font-size: 12px;
  }

  .et-profile .notif-card {
    gap: 10px;
  }

  .et-profile .notif-poster {
    width: 68px;
    height: 86px;
  }
}

.et-profile .name-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.et-profile .edit-pen-btn {
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: #000000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex: 0 0 auto;
  transition: transform .18s ease, background .18s ease;
}

.et-profile .edit-pen-btn:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,.14);
}

.et-profile .edit-pen-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.menu-dropdown {
  position: absolute;
  top: 48px;
  right: 0;
  min-width: 220px;
  padding: 8px;
  border-radius: 18px;
  background: rgba(20,20,20,.96);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 18px 40px rgba(0,0,0,.4);
  display: none;
  flex-direction: column;
  z-index: 50;
  backdrop-filter: blur(16px);
}

.menu-dropdown.open {
  display: flex;
}

.menu-dropdown button {
  width: 100%;
  background: transparent;
  border: none;
  color: #000000;
  padding: 12px;
  text-align: left;
  border-radius: 14px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-dropdown button svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  opacity: .92;
  flex: 0 0 auto;
}

.menu-dropdown button:hover {
  background: rgba(255,255,255,.08);
}
.et-profile .mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr) !important; /* ALWAYS 3 */
  gap: 8px; /* tighter for mobile */
  padding: 0 4px;
}

.et-profile .mini-card {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
}

/* Poster only */
.et-profile .mini-thumb {
  width: 100%;
  aspect-ratio: 1 / 1; /* perfect square */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 12px;
}

/* ❌ REMOVE TEXT COMPLETELY */
.et-profile .mini-body {
  display: none;
}

.layout {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 18px;
  transition: grid-template-columns 0.24s ease, gap 0.24s ease;
}

.suggestion-panel {
  overflow: hidden;
  transition:
    opacity 0.22s ease,
    transform 0.22s ease,
    max-width 0.22s ease,
    padding 0.22s ease,
    border-color 0.22s ease,
    margin 0.22s ease;
  will-change: opacity, transform, max-width;
}

.layout.search-active {
  grid-template-columns: 0fr 1fr;
  gap: 0;
}

.layout.search-active .suggestion-panel {
  opacity: 0;
  transform: translateX(-12px);
  pointer-events: none;
  max-width: 0;
  padding: 0;
  margin: 0;
  border-width: 0;
}

/* ===== FORCE LIGHT MODE ===== */

.et-profile {
  background: #ffffff !important;
  color: #111 !important;
}

/* Topbar */
.et-profile .profile-topbar {
  background: #ffffff !important;
  border-bottom: 1px solid #e5e7eb;
}

/* Cards / panels */
.et-profile .mini-card,
.et-profile .modal-content,
.et-profile .notifications,
.menu-dropdown {
  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

/* Buttons */
.et-profile .btn {
  background: #f3f4f6 !important;
  color: #111 !important;
}

.et-profile .btn:hover {
  background: #e5e7eb !important;
}

/* Inputs */
.et-profile .input {
  background: #ffffff !important;
  color: #111 !important;
  border: 1px solid #d1d5db !important;
}

/* Tabs */
.et-profile .profile-tabs {
  border-top: 1px solid #e5e7eb !important;
}

.et-profile .profile-tab {
  color: #555 !important;
}

.et-profile .profile-tab.active {
  color: #000 !important;
}

.et-profile .profile-tab.active::after {
  background: #000 !important;
}

/* Images / grid */
.et-profile .feed img {
  background: #f3f4f6 !important;
}

/* Notifications */
.et-profile .notifications {
  background: #ffffff !important;
}

.et-profile .notification:hover {
  background: #f9fafb !important;
}

/* Modal overlay (keep slight dark blur) */
.et-profile .modal {
  background: rgba(0,0,0,0.2) !important;
}

/* Skeleton loaders (light version) */
.skeleton {
  background: linear-gradient(90deg, #e5e7eb 25%, #f3f4f6 37%, #e5e7eb 63%) !important;
}

/* Remove dark backgrounds everywhere */
.et-profile * {
  background-color: transparent;
}

/* Fix specific dark elements */
.et-profile .mini-thumb,
.et-profile .avatar {
  background-color: #f3f4f6 !important;
}


.logout-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.logout-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.logout-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 12, 18, 0.62);
  backdrop-filter: blur(10px);
}

.logout-modal__card {
  position: relative;
  width: min(92vw, 420px);
  margin: 10vh auto 0;
  border-radius: 24px;
  padding: 24px;
  background: linear-gradient(180deg, rgba(18, 24, 34, 0.98), rgba(11, 16, 24, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  color: #eef2ff;
  transform: translateY(16px) scale(0.98);
  transition: transform 220ms cubic-bezier(.16,1,.3,1);
}

.logout-modal.active .logout-modal__card {
  transform: translateY(0) scale(1);
}

.logout-modal__icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(50, 213, 131, 0.18), rgba(50, 213, 131, 0.08));
  margin-bottom: 16px;
}

.logout-modal__icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: #7cf7b1;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.logout-modal__card h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.logout-modal__card p {
  margin: 0;
  color: rgba(238, 242, 255, 0.72);
  line-height: 1.6;
}

.logout-modal__actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 22px;
  flex-wrap: wrap;
}

.logout-btn {
  border: 0;
  border-radius: 14px;
  padding: 12px 16px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.logout-btn.secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #eef2ff;
}

.logout-btn.primary {
  background: linear-gradient(135deg, #7cf7b1, #32d583);
  color: #06110b;
} 