/* =============================================
   yXen Project — main.css
   Paleta: #0a0a0a | #c9a84c (gold) | #ffffff
   ============================================= */

:root {
  --bg:           #0a0a0a;
  --bg-mid:       #0d0d0d;
  --bg-card:      #111111;
  --gold:         #c9a84c;
  --gold-dim:     #c9a84c55;
  --gold-soft:    #c9a84c1a;
  --white:        #ffffff;
  --muted:        #666666;
  --border:       #1e1e1e;
  --discord:      #5865F2;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body:    'Space Grotesk', sans-serif;
  --radius-sm:    6px;
  --radius-md:    8px;
  --radius-lg:    12px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  min-height: 100vh;
}

/* ── NAVBAR ─────────────────────────────────── */
.navbar {
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 68px;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(201,168,76,.25);
}

.navbar::after { display: none; }

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
}

.logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.brand-name { display: none; }

.brand-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.06em;
}

.brand-name .gold { color: var(--gold); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-menu a {
  display: block;
  padding: 8px 14px;
  font-size: 11px;
  font-weight: 600;
  font-family: 'Space Grotesk', 'Nunito', sans-serif;
  color: #666;
  text-decoration: none;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
  position: relative;
}

.nav-menu a:hover         { color: var(--white); background: rgba(255,255,255,0.05); }
.nav-menu a.active        { color: var(--gold); }
.nav-menu a.nav-join {
  color: var(--gold);
  font-weight: 700;
  background: rgba(200,149,46,.08);
  border: 1px solid rgba(200,149,46,.25);
  border-radius: 4px;
  padding: 6px 14px;
}
.nav-menu a.nav-join:hover { background: rgba(200,149,46,.18); color: var(--white); }
.nav-menu a.active::after {
  content: '';
  position: absolute;
  bottom: 3px; left: 50%; transform: translateX(-50%);
  width: 16px; height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

/* ── BOTONES ─────────────────────────────────── */
.btn-login {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: var(--discord);
  border: none;
  border-radius: var(--radius-md);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
}

.btn-login:hover  { background: #4752C4; transform: translateY(-1px); }
.btn-login svg    { width: 16px; height: 16px; fill: white; flex-shrink: 0; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  background: var(--gold);
  border: none;
  border-radius: var(--radius-md);
  color: #0a0a0a;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  cursor: pointer;
}

.btn-primary:hover { background: #dbb85f; transform: translateY(-1px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: #999;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
  cursor: pointer;
}

.btn-ghost:hover { border-color: var(--gold-dim); color: var(--white); }

/* ── USER MENU (tras login) ──────────────────── */
.user-menu {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--gold-dim);
  object-fit: cover;
}

.user-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
}

/* ── HERO ─────────────────────────────────────── */
.hero {
  min-height: calc(100vh - 68px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: -150px; left: 50%; transform: translateX(-50%);
  width: 700px; height: 500px;
  background: radial-gradient(ellipse, rgba(201,168,76,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black, transparent);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black, transparent);
  pointer-events: none;
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  position: relative;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.5vw, 52px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.2rem;
  letter-spacing: 0.02em;
  position: relative;
}

.hero-title .gold { color: var(--gold); }

.hero-sub {
  font-size: 15px;
  color: var(--muted);
  max-width: 460px;
  margin-bottom: 2.5rem;
  position: relative;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
}

/* ── DASHBOARD ────────────────────────────────── */
.dashboard-main {
  padding: 2.5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.loading-msg {
  color: var(--muted);
  text-align: center;
  padding: 4rem;
  font-style: italic;
}

/* ── CARDS (reutilizable) ─────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.card-gold {
  border-color: var(--gold-dim);
}

/* ── NAV RIGHT ────────────────────────────────── */
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ── NOTIFICATION BELL ────────────────────────── */
.notif-bell {
  position: relative;
}

.notif-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 7px;
  border-radius: var(--radius-sm);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: color .2s, background .2s;
}

.notif-btn:hover { color: var(--white); background: rgba(255,255,255,.05); }
.notif-btn svg   { width: 18px; height: 18px; }

.notif-badge {
  position: absolute;
  top: 2px; right: 2px;
  background: var(--gold);
  color: #0a0a0a;
  font-size: 9px;
  font-weight: 800;
  min-width: 16px;
  height: 16px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  line-height: 1;
}

.notif-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 320px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0,0,0,.5);
  z-index: 200;
  overflow: hidden;
}

.notif-dropdown-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
}

.notif-read-all {
  background: none;
  border: none;
  color: var(--gold);
  font-size: 11px;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  padding: 0;
}

.notif-read-all:hover { text-decoration: underline; }

.notif-list {
  max-height: 360px;
  overflow-y: auto;
}

.notif-item {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background .15s;
}

.notif-item:last-child { border-bottom: none; }
.notif-item:hover      { background: rgba(255,255,255,.03); }
.notif-item.unread     { border-left: 2px solid var(--gold); }

.notif-item-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 3px;
}

.notif-item-body {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

.notif-item-date {
  font-size: 11px;
  color: #444;
  margin-top: 5px;
}

.notif-empty {
  padding: 2rem;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  font-style: italic;
}

/* ── PROFILE FORM ─────────────────────────────── */
.profile-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 1rem;
}

.profile-field label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  margin-bottom: 6px;
}

.profile-field input {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--white);
  padding: 9px 12px;
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: border-color .2s;
}

.profile-field input:focus { border-color: var(--gold-dim); }

.profile-save-row {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.profile-save-msg {
  font-size: 12px;
  color: var(--gold);
}

/* ── HIDDEN UTILITY ───────────────────────────── */
.hidden { display: none !important; }

/* ── USER DROPDOWN ────────────────────────────── */
.udrop-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: var(--radius-md);
  transition: background .15s;
}

.udrop-toggle:hover { background: rgba(255,255,255,.05); }

.udrop-chevron {
  width: 12px;
  height: 12px;
  color: var(--muted);
  flex-shrink: 0;
  transition: transform .2s;
}

.udrop-toggle[aria-expanded="true"] .udrop-chevron {
  transform: rotate(180deg);
}

.udrop-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 32px rgba(0,0,0,.6);
  z-index: 300;
  overflow: hidden;
  padding: 4px;
}

/* wrapper needs position:relative */
.user-menu { position: relative; }

.udrop-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  color: #aaa;
  text-decoration: none;
  transition: background .12s, color .12s;
  white-space: nowrap;
}

.udrop-item svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  opacity: .6;
}

.udrop-item:hover {
  background: rgba(255,255,255,.05);
  color: var(--white);
}

.udrop-item:hover svg { opacity: 1; }

.udrop-admin {
  color: var(--gold);
}

.udrop-admin:hover {
  background: var(--gold-soft);
  color: var(--gold);
}

.udrop-admin svg { opacity: 1; color: var(--gold); }

.udrop-logout:hover { color: #e07070; }

.udrop-divider {
  height: 1px;
  background: var(--border);
  margin: 4px 0;
}

/* ── MEMBERS PAGE ─────────────────────────────── */
.members-main {
  max-width: 1300px;
  margin: 0 auto;
  padding: 2.5rem 2rem 4rem;
}

.members-header {
  margin-bottom: 2rem;
}

.members-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .03em;
}

.members-sub {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
  letter-spacing: .05em;
}

/* toolbar */
.members-toolbar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.members-search-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0 14px;
  flex: 1;
  max-width: 360px;
  transition: border-color .2s;
}

.members-search-wrap:focus-within {
  border-color: var(--gold-dim);
}

.members-search-wrap svg {
  width: 15px;
  height: 15px;
  color: var(--muted);
  flex-shrink: 0;
}

.members-search-wrap input {
  background: none;
  border: none;
  outline: none;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 13px;
  padding: 10px 0;
  width: 100%;
}

.members-search-wrap input::placeholder { color: #444; }

.members-filters {
  display: flex;
  align-items: center;
  gap: 8px;
}

.members-filter-btn {
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: .2s;
}

.members-filter-btn:hover { border-color: var(--gold-dim); color: var(--white); }
.members-filter-btn.active { background: var(--gold); border-color: var(--gold); color: #000; }

.filter-coming-soon {
  font-size: 11px;
  color: #333;
  letter-spacing: .06em;
  text-transform: uppercase;
  border: 1px dashed #222;
  border-radius: var(--radius-sm);
  padding: 6px 12px;
}

/* grid */
.members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

/* member card */
.member-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.2rem;
  transition: border-color .2s, transform .2s;
  cursor: default;
}

.member-card:hover {
  border-color: var(--gold-dim);
  transform: translateY(-2px);
}

.mc-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mc-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid var(--border);
  object-fit: cover;
  flex-shrink: 0;
  transition: border-color .2s;
}

.member-card:hover .mc-avatar {
  border-color: var(--gold-dim);
}

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

.mc-username {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mc-badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--gold);
  background: var(--gold-soft);
  border-radius: 4px;
  padding: 2px 6px;
  margin-top: 3px;
}

/* ── ROLE BADGES ──────────────────────────────── */
.role-badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 10px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; border-radius: 4px;
  padding: 2px 7px; margin-top: 3px;
}
.role-badge-pro    { background: rgba(29,155,240,.15); color: #1d9bf0; border: 1px solid rgba(29,155,240,.3); }
.role-badge-elite  { background: rgba(167,139,250,.15); color: #a78bfa; border: 1px solid rgba(167,139,250,.3); }
.role-badge-vynz   { background: rgba(52,199,89,.12);  color: #34c759; border: 1px solid rgba(52,199,89,.3); }

.verified-tick {
  display: inline-flex; align-items: center; justify-content: center;
  width: 14px; height: 14px; border-radius: 50%;
  background: #1d9bf0; flex-shrink: 0;
}
.verified-tick svg { width: 9px; height: 9px; }

.mc-stats {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.mc-stat-pts {
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
  background: var(--gold-soft);
  border-radius: 4px;
  padding: 2px 7px;
}

.mc-stat-mvp {
  font-size: 11px;
  font-weight: 700;
  color: #a78bfa;
  background: rgba(167,139,250,.12);
  border-radius: 4px;
  padding: 2px 7px;
}

.mc-stat-star {
  font-size: 11px;
  font-weight: 700;
  color: #fbbf24;
  background: rgba(251,191,36,.1);
  border-radius: 4px;
  padding: 2px 7px;
}

.mc-divider {
  height: 1px;
  background: var(--border);
  margin: 12px 0 10px;
}

.mc-rows {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.mc-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  flex-shrink: 0;
}

.mc-value {
  font-size: 12px;
  color: #ccc;
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 130px;
}

.mc-value-gold {
  color: var(--gold);
  font-weight: 700;
}

/* pagination */
.members-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.pag-btn {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: #888;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color .15s, color .15s;
}

.pag-btn:hover:not(:disabled) {
  border-color: var(--gold-dim);
  color: var(--white);
}

.pag-btn.active {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-soft);
}

.pag-btn:disabled {
  opacity: .3;
  cursor: default;
}

.pag-ellipsis {
  color: #444;
  font-size: 14px;
  padding: 0 4px;
}

/* ── TASKS STATUS BUTTON (dashboard) ─────────── */
.tasks-status-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: opacity .2s, transform .15s;
  cursor: pointer;
  border: 1px solid transparent;
}

.tasks-status-btn:hover { opacity: .9; transform: translateY(-1px); }

.tasks-btn-green  { background: rgba(52,199,89,.12);  border-color: rgba(52,199,89,.3);  }
.tasks-btn-orange { background: rgba(255,149,0,.12);  border-color: rgba(255,149,0,.3);  }
.tasks-btn-red    { background: rgba(255,69,58,.12);  border-color: rgba(255,69,58,.3);  }

.tsb-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.tasks-btn-green  .tsb-icon { background: rgba(52,199,89,.2);  color: #34c759; }
.tasks-btn-orange .tsb-icon { background: rgba(255,149,0,.2);  color: #ff9500; }
.tasks-btn-red    .tsb-icon { background: rgba(255,69,58,.2);  color: #ff453a; }

.tsb-icon svg { width: 20px; height: 20px; }

.tsb-label {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2px;
}

.tasks-btn-green  .tsb-label { color: #34c759; }
.tasks-btn-orange .tsb-label { color: #ff9500; }
.tasks-btn-red    .tsb-label { color: #ff453a; }

.tsb-sub { font-size: 12px; color: var(--muted); }

.tsb-arrow { width: 20px; height: 20px; color: var(--muted); margin-left: auto; flex-shrink: 0; }

/* ── TASKS PAGE ───────────────────────────────── */
.tasks-main {
  max-width: 860px;
  margin: 0 auto;
  padding: 2.5rem 2rem 4rem;
}

.tasks-back {
  display: inline-block;
  font-size: 12px;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 1rem;
  transition: color .15s;
}

.tasks-back:hover { color: var(--white); }

.tasks-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--white);
}

.tasks-sub {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
  margin-bottom: 2rem;
}

.tasks-group-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  margin-bottom: 10px;
}

/* task card */
.task-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left-width: 3px;
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  margin-bottom: 8px;
}

.task-pending  { border-left-color: #444; }
.task-done     { border-left-color: #34c759; opacity: .7; }
.task-urgent   { border-left-color: #ff453a; }
.task-expired  { border-left-color: #888; }

.task-card-left { display: flex; align-items: flex-start; gap: 14px; flex: 1; min-width: 0; }

.task-status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
}

.task-pending  .task-status-dot { background: #444; }
.task-done     .task-status-dot { background: #34c759; }
.task-urgent   .task-status-dot { background: #ff453a; box-shadow: 0 0 6px #ff453a88; }
.task-expired  .task-status-dot { background: #888; }

.task-card-title {
  font-weight: 700;
  font-size: 14px;
  color: var(--white);
  margin-bottom: 3px;
}

.task-done .task-card-title { text-decoration: line-through; color: var(--muted); }

.task-card-desc { font-size: 12px; color: var(--muted); margin-bottom: 6px; }

.task-meta { display: flex; flex-wrap: wrap; gap: 8px; }

.task-meta-item {
  font-size: 11px;
  color: #555;
}

.task-type-badge {
  background: rgba(167,139,250,.15);
  color: #a78bfa;
  border-radius: 4px;
  padding: 1px 6px;
}

.task-done-date { color: #34c759; }

.task-card-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
}

.task-status-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.task-pending  .task-status-label { color: #555; }
.task-done     .task-status-label { color: #34c759; }
.task-urgent   .task-status-label { color: #ff453a; }
.task-expired  .task-status-label { color: #888; }

.btn-task-action {
  padding: 7px 14px;
  background: rgba(201,168,76,.12);
  border: 1px solid var(--gold-dim);
  border-radius: var(--radius-sm);
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-body);
  white-space: nowrap;
  transition: background .15s;
}

.btn-task-action:hover { background: rgba(201,168,76,.22); }
.btn-task-action:disabled { opacity: .5; cursor: default; }

.task-empty {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  padding: 4rem 0;
  font-style: italic;
}

/* ── PHOTO MODAL ──────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.75);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  width: 100%;
  max-width: 480px;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--white);
  margin-bottom: 6px;
}

.modal-desc {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 1.4rem;
}

.photo-drop {
  display: block;
  border: 2px dashed var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: border-color .2s;
  margin-bottom: 1.2rem;
  color: var(--muted);
  font-size: 13px;
}

.photo-drop:hover { border-color: var(--gold-dim); color: var(--white); }
.photo-drop input { display: none; }

.modal-actions { display: flex; gap: 10px; justify-content: flex-end; }

.photo-result { font-size: 13px; margin-top: 10px; }
.photo-result.ok  { color: #34c759; }
.photo-result.err { color: #ff453a; }

/* ── HAMBURGER ────────────────────────────────── */
.nav-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--muted);
  margin-left: auto;
  transition: color .2s;
}
.nav-burger:hover { color: var(--white); }
.nav-burger svg   { width: 22px; height: 22px; display: block; }
.nav-burger.open svg line:nth-child(1) { transform: translateY(6px) rotate(45deg); transform-origin: center; }
.nav-burger.open svg line:nth-child(2) { opacity: 0; }
.nav-burger.open svg line:nth-child(3) { transform: translateY(-6px) rotate(-45deg); transform-origin: center; }
.nav-burger svg line { transition: transform .2s, opacity .2s; }

/* ── RESPONSIVE ───────────────────────────────── */
@media (max-width: 768px) {
  .nav-burger { display: flex; }

  /* Menú móvil — fixed, resetea todos los estilos de escritorio */
  .nav-menu {
    display: none;
    position: fixed !important;
    top: 68px !important;
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
    width: 100% !important;
    background: var(--bg-mid);
    flex-direction: column;
    padding: .5rem 1rem;
    border-bottom: 1px solid var(--border);
    z-index: 9999;
    gap: 2px;
    box-shadow: 0 8px 24px rgba(0,0,0,.5);
  }
  .nav-menu.nav-open { display: flex; }
  .nav-menu li { list-style: none; }
  .nav-menu a { padding: 14px 16px; font-size: 14px; border-radius: var(--radius-sm); display: block; }

  /* Navbar mobile */
  .navbar { padding: 0 1rem; }
  .nav-right {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
  }

  /* Ocultar nombre de usuario en móvil */
  .user-name { display: none; }
  .udrop-chevron { display: none; }

  /* Dropdown usuario — no se corte */
  .udrop-menu {
    right: 0 !important;
    left: auto !important;
    min-width: 180px;
  }

  /* Notificación dropdown — fixed para no salirse */
  .notif-dropdown {
    position: fixed !important;
    top: 68px !important;
    left: 1rem !important;
    right: 1rem !important;
    width: auto !important;
  }

  .hero { padding: 3rem 1.2rem; min-height: auto; padding-top: 5rem; }
}
