/* =========================
   GLOBAL
========================= */

body {
  background: #0f172a;
  color: white;
  font-family: Arial, sans-serif;
  min-height: 100vh;
  transition: 0.4s;
  overflow-x: hidden;
}

body.light-mode {
  background: #f1f5f9;
  color: #1e293b;
}

/* =========================
   GLASS
========================= */

.glass {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  transition: 0.4s;
}

body.light-mode .glass {
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

/* =========================
   APP HEADER
========================= */

.app-header {
  gap: 24px;
}

.app-brand {
  min-width: 0;
}

.app-actions {
  flex-shrink: 0;
}

.mobile-menu-btn {
  display: none;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  font-size: 30px;
  line-height: 1;
  align-items: center;
  justify-content: center;
  transition: 0.25s;
}

.mobile-menu-btn:hover {
  background: rgba(255, 255, 255, 0.14);
}

body.light-mode .mobile-menu-btn {
  background: rgba(0, 0, 0, 0.06);
  color: #0f172a;
}

body.light-mode .mobile-menu-btn:hover {
  background: rgba(0, 0, 0, 0.1);
}

/* =========================
   DROP ZONE
========================= */

.drop-zone {
  border: 2px dashed #475569;
  border-radius: 20px;
  transition: 0.3s;
  cursor: pointer;
}

.drop-zone:hover {
  border-color: #3b82f6;
  background: rgba(59, 130, 246, 0.08);
}

/* =========================
   TEXT
========================= */

.text-muted-custom {
  color: #94a3b8;
}

/* =========================
   BUTTONS — BROWSE
========================= */

.browse-btn {
  background: #2563eb;
  color: white;
  border: none;
  border-radius: 12px;
  padding: 12px 24px;
  font-weight: 600;
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
}

.browse-btn:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
}

/* =========================
   BACK BUTTON
========================= */

.back-btn {
  background: rgba(255, 255, 255, 0.08);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 10px 20px;
  font-weight: 600;
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
}

.back-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

body.light-mode .back-btn {
  background: rgba(0, 0, 0, 0.06);
  color: #1e293b;
  border-color: rgba(0, 0, 0, 0.1);
}

/* =========================
   COPY BUTTON
========================= */

.copy-btn {
  border: none;
  background: #2563eb;
  color: white;
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  font-weight: 600;
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.copy-btn:hover {
  background: #1d4ed8;
}

/* =========================
   DELETE BUTTON
========================= */

.delete-btn {
  border: none;
  background: #dc2626;
  color: white;
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  font-weight: 600;
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.delete-btn:hover {
  background: #b91c1c;
}

.delete-all-btn {
  background: rgba(220, 38, 38, 0.14);
  color: #fca5a5;
  border: 1px solid rgba(248, 113, 113, 0.35);
  border-radius: 12px;
  padding: 10px 16px;
  font-weight: 700;
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.delete-all-btn:hover {
  background: rgba(220, 38, 38, 0.24);
  color: #fecaca;
  transform: translateY(-2px);
}

body.light-mode .delete-all-btn {
  background: rgba(220, 38, 38, 0.08);
  color: #b91c1c;
  border-color: rgba(220, 38, 38, 0.24);
}

/* =========================
   THEME TOGGLE
========================= */

#themeToggle {
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: #1e293b;
  color: white;
  font-size: 20px;
  transition: 0.3s;
}

#themeToggle:hover {
  transform: rotate(180deg);
}

body.light-mode #themeToggle {
  background: #cbd5e1;
  color: #1e293b;
}

/* =========================
   FILTER TABS
========================= */

.filter-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

body.light-mode .filter-tabs {
  background: transparent;
}

.filter-tab {
  background: rgba(255, 255, 255, 0.06);
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 9px 15px;
  font-weight: 600;
  font-size: 14px;
  transition: 0.25s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.filter-tab:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-color: rgba(59, 130, 246, 0.28);
}

.filter-tab.active {
  background: rgba(37, 99, 235, 0.18);
  color: white;
  border-color: rgba(59, 130, 246, 0.6);
  box-shadow: none;
}

body.light-mode .filter-tab {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.08);
  color: #64748b;
}

body.light-mode .filter-tab:hover {
  background: rgba(0, 0, 0, 0.06);
  color: #1e293b;
}

body.light-mode .filter-tab.active {
  background: rgba(37, 99, 235, 0.12);
  border-color: rgba(37, 99, 235, 0.45);
  color: #1d4ed8;
}

/* =========================
   FILTER COUNT BADGE
========================= */

.filter-count {
  background: rgba(148, 163, 184, 0.18);
  color: inherit;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 20px;
  margin-left: 4px;
  min-width: 20px;
  text-align: center;
}

.filter-tab.active .filter-count {
  background: rgba(59, 130, 246, 0.24);
}

.library-menu {
  position: relative;
}

.library-menu-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 220px;
  max-height: 330px;
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.28);
  opacity: 0;
  overflow-y: auto;
  padding: 6px;
  pointer-events: none;
  transform: translateY(-6px);
  transition: 0.2s;
  z-index: 50;
}

.library-menu-panel.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.library-menu-panel button {
  width: 100%;
  background: transparent;
  border: none;
  border-radius: 10px;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  padding: 10px;
  text-align: left;
}

.library-menu-panel button:hover {
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

body.light-mode .library-menu-panel {
  background: white;
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.14);
}

body.light-mode .library-menu-panel button {
  color: #475569;
}

body.light-mode .library-menu-panel button:hover {
  background: rgba(0, 0, 0, 0.06);
  color: #1e293b;
}

/* =========================
   HISTORY SEARCH
========================= */

.history-search-wrap {
  position: relative;
  margin-left: auto;
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  font-size: 15px;
  pointer-events: none;
}

.history-search {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 10px 16px 10px 40px;
  color: white;
  font-size: 14px;
  width: 240px;
  transition: 0.3s;
  outline: none;
}

.history-search::placeholder {
  color: #64748b;
}

.history-search:focus {
  border-color: #3b82f6;
  background: rgba(59, 130, 246, 0.08);
  width: 280px;
}

body.light-mode .history-search {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.1);
  color: #1e293b;
}

body.light-mode .history-search:focus {
  background: rgba(59, 130, 246, 0.06);
}

.library-toolbar {
  width: 100%;
  row-gap: 14px !important;
}

.library-title-row {
  justify-content: space-between;
  width: 100%;
}

.library-title-row h2 {
  margin-left: 0;
}

.recycle-title-row {
  justify-content: flex-start;
}

.recycle-action-group {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.library-controls-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
  width: 100%;
}

.library-controls-row .filter-tabs {
  margin-bottom: 0 !important;
  order: 1;
}

.library-controls-row .history-search-wrap {
  order: 2;
}

/* =========================
   MEDIA CARD
========================= */

.media-card {
  background: #1e293b;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: 0.3s;
  overflow: hidden;
}

.media-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-color: rgba(59, 130, 246, 0.3);
}

body.light-mode .media-card {
  background: #e2e8f0;
  color: #1e293b;
}

/* =========================
   PREVIEW WRAP (hover overlay)
========================= */

.preview-wrap {
  position: relative;
  width: 240px;
  height: 130px;
  flex-shrink: 0;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
}

.preview-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: 0.25s;
  font-size: 32px;
  color: white;
  border-radius: 16px;
}

.preview-wrap:hover .preview-overlay {
  opacity: 1;
}

/* =========================
   HORIZONTAL PREVIEW
========================= */

.horizontal-preview {
  width: 100%;
  height: 100%;
  background: black;
  display: block;
}

img.horizontal-preview {
  object-fit: cover;
}

video.horizontal-preview {
  object-fit: cover;
}

/* =========================
   TYPE BADGE
========================= */

.type-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
}

.type-badge.image {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.25);
}

.type-badge.video {
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.25);
}

/* =========================
   LINK BOX
========================= */

.link-box {
  background: #0f172a;
  padding: 10px;
  border-radius: 10px;
  font-size: 12px;
  word-break: break-all;
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

body.light-mode .link-box {
  background: #cbd5e1;
  color: #1e293b;
}

/* =========================
   UPLOAD PROGRESS BAR
========================= */

.upload-progress {
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
}

.upload-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6);
  border-radius: 4px;
  animation: progressAnim 2s ease-in-out infinite;
}

@keyframes progressAnim {
  0%   { width: 0%;   margin-left: 0%; }
  50%  { width: 60%;  margin-left: 20%; }
  100% { width: 0%;   margin-left: 100%; }
}

/* =========================
   MODAL PREVIEW
========================= */

.preview-modal-img {
  width: 100%;
  max-height: 85vh;
  object-fit: contain;
  background: black;
}

.preview-modal-video {
  width: 100%;
  height: 85vh;
  background: black;
}

/* =========================
   MIN WIDTH FIX
========================= */

.min-width-0 {
  min-width: 0;
}

/* =========================
   SIDE MENU
========================= */

.side-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.62);
  opacity: 0;
  pointer-events: none;
  transition: 0.25s;
  z-index: 1000;
}

.side-menu-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.side-menu-sheet {
  position: fixed;
  top: 0;
  left: 0;
  width: min(50vw, 430px);
  min-width: 340px;
  height: 100vh;
  background: #111827;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 18px 0 44px rgba(0, 0, 0, 0.38);
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 24px;
  transform: translateX(-105%);
  transition: 0.28s ease;
  z-index: 1001;
}

.side-menu-sheet.open {
  transform: translateX(0);
}

.side-menu-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.side-menu-profile {
  align-items: center;
  display: flex;
  gap: 12px;
  min-width: 0;
}

.side-menu-close {
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.side-menu-list {
  display: grid;
  gap: 10px;
}

.side-menu-list button {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  padding: 12px 14px;
  text-align: left;
  transition: 0.22s;
}

.side-menu-list button:hover {
  background: rgba(37, 99, 235, 0.2);
  border-color: rgba(59, 130, 246, 0.4);
}

.side-menu-list button i {
  color: #60a5fa;
  font-size: 18px;
}

.side-menu-list button.danger i,
.side-menu-list button.danger {
  color: #f87171;
}

body.light-mode .side-menu-sheet {
  background: #ffffff;
  border-right-color: rgba(15, 23, 42, 0.12);
}

body.light-mode .side-menu-close,
body.light-mode .side-menu-list button {
  background: rgba(15, 23, 42, 0.05);
  border-color: rgba(15, 23, 42, 0.1);
  color: #1e293b;
}

body.light-mode .side-menu-list button:hover {
  background: rgba(37, 99, 235, 0.12);
}

/* =========================
   SUGGESTION FORM
========================= */

.suggestion-modal {
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
}

.suggestion-input {
  width: 100%;
  resize: vertical;
  border: 1px solid rgba(148, 163, 184, 0.4);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.86);
  color: white;
  outline: none;
  padding: 12px 14px;
}

.suggestion-input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.16);
}

body.light-mode .suggestion-modal {
  background: white;
  color: #1e293b;
}

body.light-mode .suggestion-input {
  background: #f8fafc;
  color: #1e293b;
}

/* =========================
   CONFIRM MODAL
========================= */

.confirm-modal {
  background: #111827;
  border: 1px solid rgba(248, 113, 113, 0.28);
  color: white;
}

.confirm-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(220, 38, 38, 0.16);
  color: #f87171;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.confirm-delete-btn {
  width: auto;
  min-width: 120px;
}

body.light-mode .confirm-modal {
  background: white;
  color: #1e293b;
}

/* =========================
   FEEDBACK LIST
========================= */

.feedback-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  padding: 18px;
}

.feedback-date {
  color: #94a3b8;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.feedback-message {
  color: #e2e8f0;
  line-height: 1.55;
  white-space: pre-wrap;
}

body.light-mode .feedback-card {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.08);
}

body.light-mode .feedback-message {
  color: #1e293b;
}

/* =========================
   SCROLLBAR
========================= */

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #0f172a;
}

::-webkit-scrollbar-thumb {
  background: #3b82f6;
  border-radius: 20px;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

  body {
    padding: 16px !important;
  }

  .app-header {
    align-items: center !important;
    display: grid !important;
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    gap: 16px;
    margin-bottom: 28px !important;
  }

  .app-brand {
    grid-column: 1 / 3;
  }

  .app-brand h1 {
    font-size: 1.85rem !important;
    line-height: 1.15;
  }

  .app-brand p {
    font-size: 14px;
    max-width: 230px;
  }

  .app-brand p::before {
    content: "Share media with public links";
  }

  .app-brand p {
    font-size: 0;
  }

  .app-brand p::before {
    font-size: 14px;
  }

  .mobile-menu-btn {
    display: none;
    grid-column: 1 / 2;
    grid-row: 2;
    justify-self: start;
  }

  .mobile-menu-btn.menu-visible {
    display: inline-flex;
  }

  .app-actions {
    display: contents !important;
    grid-column: 2 / 4;
    grid-row: 2;
  }

  #historyBtn {
    grid-column: 2 / 4;
    grid-row: 2;
    justify-self: end;
    justify-content: center;
    min-height: 48px;
    margin-right: 56px;
    padding: 10px 13px;
    white-space: nowrap;
  }

  #themeToggle {
    display: inline-flex;
    grid-column: 3 / 4;
    grid-row: 1;
    justify-self: end;
    align-items: center;
    justify-content: center;
  }

  #authArea {
    grid-column: 3 / 4;
    grid-row: 2;
    justify-self: end;
    min-width: 0;
  }

  #authArea > .btn {
    justify-content: center;
    width: 48px;
    min-height: 48px;
    padding: 0 !important;
    font-size: 0;
  }

  .user-profile {
    justify-content: center;
    width: 48px;
    height: 48px;
    min-width: 0;
    padding: 4px;
  }

  .user-profile > div:not(.user-dropdown) {
    display: none;
  }

  .user-profile #userChevron {
    display: none;
  }

  .user-profile img {
    width: 38px;
    height: 38px;
  }

  .user-profile p {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .user-dropdown {
    left: auto;
    right: 0;
    width: 230px;
    min-width: 230px;
  }

  .preview-wrap {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .horizontal-preview {
    width: 100%;
    height: 100%;
  }

  .media-card > .d-flex {
    align-items: stretch !important;
    flex-direction: column;
  }

  .media-card .link-box {
    max-height: 72px;
    overflow-y: auto;
  }

  .media-card .copy-btn,
  .media-card .delete-btn {
    min-height: 46px;
    padding: 9px 10px;
  }

  .preview-modal-video {
    height: 60vh;
  }

  .filter-tabs {
    gap: 8px;
    margin-bottom: 22px !important;
  }

  .filter-tab {
    padding: 8px 12px;
    font-size: 13px;
  }

  .library-menu {
    flex: 1 1 150px;
  }

  .library-menu > .filter-tab {
    justify-content: center;
    width: 100%;
  }

  .library-menu-panel {
    width: 100%;
  }

  .library-toolbar {
    align-items: flex-start !important;
    flex-direction: column;
    gap: 14px !important;
    margin-bottom: 14px !important;
  }

  .library-title-row {
    justify-content: space-between;
    width: 100%;
  }

  .recycle-title-row {
    align-items: flex-start !important;
    flex-direction: column;
    justify-content: flex-start;
  }

  .recycle-action-group {
    width: 100%;
  }

  .library-title-row h2 {
    margin-left: 0;
  }

  .library-title-row h2 {
    font-size: 1.35rem;
  }

  .library-title-row .back-btn {
    min-height: 42px;
    padding: 9px 14px;
  }

  .delete-all-btn {
    min-height: 42px;
    padding: 9px 12px;
  }

  .history-search-wrap {
    margin-left: 0;
    width: 100%;
  }

  .library-controls-row {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 22px;
  }

  .library-controls-row .history-search-wrap {
    order: 1;
  }

  .library-controls-row .filter-tabs {
    order: 2;
  }

  .history-search {
    width: 100%;
    height: 44px;
  }

  .history-search:focus {
    width: 100%;
  }

  .side-menu-sheet {
    width: min(88vw, 380px);
    min-width: 0;
  }

}
/* =========================
   USER PROFILE BUTTON
========================= */

.user-profile {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: 0.25s;
  user-select: none;
}

.user-profile:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(59, 130, 246, 0.4);
}

body.light-mode .user-profile {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.1);
}

body.light-mode .user-profile:hover {
  background: rgba(0, 0, 0, 0.09);
}

/* =========================
   USER DROPDOWN
========================= */

.user-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 230px;
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 8px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  z-index: 999;
  opacity: 0;
  transform: translateY(-8px) scale(0.97);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.user-dropdown.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

body.light-mode .user-dropdown {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* =========================
   DROPDOWN USER INFO
========================= */

.dropdown-user-info {
  padding: 10px 12px 8px;
  color: white;
}

body.light-mode .dropdown-user-info {
  color: #1e293b;
}

/* =========================
   DROPDOWN DIVIDER
========================= */

.dropdown-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 6px 0;
}

body.light-mode .dropdown-divider {
  background: rgba(0, 0, 0, 0.08);
}

/* =========================
   DROPDOWN ITEM BUTTON
========================= */

.dropdown-item-btn {
  width: 100%;
  background: transparent;
  border: none;
  border-radius: 10px;
  padding: 10px 12px;
  color: #cbd5e1;
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  display: flex;
  align-items: center;
  transition: 0.2s;
  cursor: pointer;
}

.dropdown-item-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.dropdown-item-btn.logout {
  color: #f87171;
}

.dropdown-item-btn.logout:hover {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
}

body.light-mode .dropdown-item-btn {
  color: #475569;
}

body.light-mode .dropdown-item-btn:hover {
  background: rgba(0, 0, 0, 0.06);
  color: #1e293b;
}

body.light-mode .dropdown-item-btn.logout {
  color: #dc2626;
}

body.light-mode .dropdown-item-btn.logout:hover {
  background: rgba(220, 38, 38, 0.08);
}

/* =========================
   FEATURE ICON
========================= */

.feature-icon {
  font-size: 2.2rem;
  line-height: 1;
}

/* =========================
   HOW IT WORKS — STEP
========================= */

.step-number {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: white;
  margin: 0 auto;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}
