/* OVANA Theme - Main Stylesheet
 * Ohio Valley Area Narcotics Anonymous
 */

:root {
    --sunrise:    #F97316;
    --amber:      #FB923C;
    --gold:       #FBBF24;
    --blush:      #FDE8D8;
    --cream:      #FFF8F2;
    --warm-white: #FFFDF9;
    --terracotta: #C2410C;
    --charcoal:   #1C1917;
    --muted:      #78716C;
    --soft-green: #86EFAC;
  }

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

  body {
    font-family: 'DM Sans', sans-serif;
    background: var(--warm-white);
    color: var(--charcoal);
    overflow-x: hidden;
  }

  /* ─── HEADER ─── */
  header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,253,249,0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #F5E8DE;
    padding: 0 2rem;
    display: flex; align-items: center; justify-content: space-between;
    height: 72px;
  }
  .logo {
    display: flex; align-items: center; gap: .75rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem; font-weight: 700;
    color: var(--terracotta);
    text-decoration: none;
  }
  .logo-na-svg {
    width: 44px; height: 44px; flex-shrink: 0;
    filter: drop-shadow(0 3px 10px rgba(249,115,22,.4));
  }
  .logo-text-wrap {
    display: flex; flex-direction: column; line-height: 1;
  }
  .logo-ovana {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem; font-weight: 700;
    color: var(--terracotta); line-height: 1;
  }
  .logo-sub {
    font-size: .62rem; font-weight: 500; letter-spacing: .06em;
    color: var(--muted); text-transform: uppercase; margin-top: .15rem;
  }
  nav { display: flex; gap: 2rem; align-items: center; }
  nav a {
    font-size: .9rem; font-weight: 500;
    color: var(--muted); text-decoration: none;
    transition: color .2s;
  }
  nav a:hover { color: var(--sunrise); }
  .btn {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .65rem 1.4rem;
    border-radius: 100px;
    font-weight: 600; font-size: .9rem;
    text-decoration: none; transition: all .2s;
    border: none; cursor: pointer;
  }
  .btn-primary {
    background: linear-gradient(135deg, var(--sunrise), var(--amber));
    color: #fff;
    box-shadow: 0 4px 18px rgba(249,115,22,.4);
  }
  .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(249,115,22,.5); }
  .btn-outline {
    background: transparent;
    color: var(--sunrise);
    border: 2px solid var(--sunrise);
  }
  .btn-outline:hover { background: var(--blush); }

  /* ─── HERO ─── */
  .hero {
    min-height: 90vh;
    display: grid; grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 5rem 5vw;
    gap: 4rem;
    position: relative;
    overflow: hidden;
  }
  .hero::before {
    content: '';
    position: absolute; inset: 0;
    background:
      radial-gradient(ellipse 60% 70% at 80% 50%, rgba(251,191,36,.18) 0%, transparent 65%),
      radial-gradient(ellipse 40% 50% at 10% 80%, rgba(249,115,22,.1) 0%, transparent 60%);
    pointer-events: none;
  }
  .hero-text { position: relative; z-index: 1; }
  .hero-badge {
    display: inline-flex; align-items: center; gap: .5rem;
    background: var(--blush); border: 1px solid #FDBA74;
    color: var(--terracotta); border-radius: 100px;
    padding: .35rem 1rem; font-size: .8rem; font-weight: 600;
    margin-bottom: 1.5rem; letter-spacing: .04em; text-transform: uppercase;
  }
  .hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 700; line-height: 1.15;
    color: var(--charcoal); margin-bottom: 1.25rem;
  }
  .hero h1 em {
    font-style: italic;
    background: linear-gradient(135deg, var(--sunrise), var(--gold));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  .hero p {
    font-size: 1.1rem; line-height: 1.7;
    color: var(--muted); max-width: 480px;
    margin-bottom: 2rem;
  }
  .hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

  /* Hero visual */
  .hero-visual {
    position: relative; z-index: 1;
    display: flex; flex-direction: column; gap: 1rem;
  }
  .hero-card {
    background: #fff;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 8px 40px rgba(120,80,20,.1);
    border: 1px solid #F5E8DE;
    animation: floatUp 6s ease-in-out infinite;
  }
  .hero-card:nth-child(2) { margin-left: 2rem; animation-delay: -3s; }
  @keyframes floatUp {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
  }
  .hero-card-label {
    font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
    color: var(--sunrise); margin-bottom: .5rem;
  }
  .hero-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem; color: var(--charcoal); margin-bottom: .5rem;
  }
  .hero-card p { font-size: .9rem; color: var(--muted); line-height: 1.5; }
  .meeting-tags { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .75rem; }
  .tag {
    padding: .25rem .75rem; border-radius: 100px; font-size: .75rem; font-weight: 500;
  }
  .tag-orange { background: #FEF3C7; color: #92400E; }
  .tag-green  { background: #DCFCE7; color: #166534; }
  .tag-blue   { background: #DBEAFE; color: #1E40AF; }

  /* ─── STATS STRIP ─── */
  .stats {
    background: linear-gradient(135deg, var(--terracotta), var(--sunrise));
    padding: 3rem 5vw;
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 2rem; text-align: center;
  }
  .stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem; font-weight: 700; color: #fff;
    line-height: 1;
  }
  .stat-label { font-size: .9rem; color: rgba(255,255,255,.8); margin-top: .35rem; font-weight: 400; }

  /* ─── SECTION SHARED ─── */
  section { padding: 5rem 5vw; }
  .section-eyebrow {
    font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    color: var(--sunrise); margin-bottom: .75rem;
  }
  .section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700; line-height: 1.2; color: var(--charcoal);
    margin-bottom: 1rem;
  }
  .section-sub { font-size: 1rem; color: var(--muted); line-height: 1.7; max-width: 560px; }

  /* ─── MEETINGS ─── */
  .meetings { background: var(--cream); }
  .meetings-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem; margin-top: 3rem;
  }
  .meeting-card {
    background: #fff; border-radius: 16px; padding: 1.5rem;
    border: 1px solid #F5E8DE;
    box-shadow: 0 2px 12px rgba(120,80,20,.06);
    transition: transform .2s, box-shadow .2s;
    cursor: pointer;
  }
  .meeting-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(120,80,20,.12); }
  .meeting-day {
    font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    color: var(--sunrise); margin-bottom: .5rem;
  }
  .meeting-title { font-size: 1.05rem; font-weight: 600; color: var(--charcoal); margin-bottom: .25rem; }
  .meeting-info { font-size: .85rem; color: var(--muted); margin-bottom: .75rem; }
  .meeting-footer {
    display: flex; align-items: center; justify-content: space-between;
    padding-top: .75rem; border-top: 1px solid #F5E8DE;
  }
  .online-badge {
    display: inline-flex; align-items: center; gap: .3rem;
    font-size: .75rem; font-weight: 600; color: #166534; background: #DCFCE7;
    padding: .2rem .65rem; border-radius: 100px;
  }
  .online-dot { width: 6px; height: 6px; border-radius: 50%; background: #22C55E; }

  /* ─── STORIES / RECOVERY ─── */
  .stories-header {
    display: flex; justify-content: space-between; align-items: flex-end;
    margin-bottom: 3rem; flex-wrap: wrap; gap: 1rem;
  }
  .stories-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 1.5rem;
  }
  .story-card {
    border-radius: 20px; padding: 2rem; position: relative; overflow: hidden;
    min-height: 200px; display: flex; flex-direction: column; justify-content: flex-end;
  }
  .story-card.featured {
    grid-row: span 2;
    background: linear-gradient(160deg, #92400E 0%, var(--terracotta) 60%, var(--sunrise) 100%);
  }
  .story-card.warm { background: linear-gradient(145deg, #FEF3C7, #FDE8D8); }
  .story-card.green { background: linear-gradient(145deg, #DCFCE7, #D1FAE5); }
  .story-card.blue  { background: linear-gradient(145deg, #DBEAFE, #EDE9FE); }
  .story-card.amber { background: linear-gradient(145deg, #FEF9C3, #FEF3C7); }
  .story-quote {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem; font-style: italic; line-height: 1.45;
    color: #fff; margin-bottom: .75rem;
  }
  .story-card:not(.featured) .story-quote { font-size: 1rem; color: var(--charcoal); }
  .story-author { font-size: .85rem; font-weight: 600; color: rgba(255,255,255,.75); }
  .story-card:not(.featured) .story-author { color: var(--muted); }
  .quote-mark {
    position: absolute; top: 1.25rem; right: 1.5rem;
    font-family: 'Playfair Display', serif; font-size: 5rem; line-height: 1;
    color: rgba(255,255,255,.15); pointer-events: none;
  }
  .story-card:not(.featured) .quote-mark { color: rgba(0,0,0,.06); }

  /* ─── RESOURCES ─── */
  .resources { background: var(--cream); }
  .resources-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem; margin-top: 3rem;
  }
  .resource-card {
    background: #fff; border-radius: 16px; padding: 1.75rem;
    border: 1px solid #F5E8DE; text-align: center;
    transition: transform .2s, box-shadow .2s;
  }
  .resource-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(120,80,20,.12); }
  .resource-icon {
    width: 56px; height: 56px; border-radius: 16px; margin: 0 auto 1rem;
    display: flex; align-items: center; justify-content: center; font-size: 1.6rem;
  }
  .resource-card h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: .5rem; }
  .resource-card p { font-size: .85rem; color: var(--muted); line-height: 1.6; }

  /* ─── CRISIS BANNER ─── */
  .crisis {
    background: linear-gradient(135deg, var(--charcoal), #292524);
    padding: 4rem 5vw;
    text-align: center; color: #fff;
  }
  .crisis h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: .75rem;
  }
  .crisis p { color: rgba(255,255,255,.7); max-width: 560px; margin: 0 auto 2rem; line-height: 1.7; }
  .crisis-number {
    display: inline-flex; align-items: center; gap: .75rem;
    background: linear-gradient(135deg, var(--sunrise), var(--gold));
    color: #fff; border-radius: 100px; padding: 1rem 2.5rem;
    font-size: 1.5rem; font-weight: 700; font-family: 'Playfair Display', serif;
    box-shadow: 0 8px 32px rgba(249,115,22,.4);
    text-decoration: none;
    transition: transform .2s, box-shadow .2s;
  }
  .crisis-number:hover { transform: scale(1.04); box-shadow: 0 12px 40px rgba(249,115,22,.5); }

  /* ─── FOOTER ─── */
  footer {
    background: var(--cream); border-top: 1px solid #F5E8DE;
    padding: 3rem 5vw 2rem;
  }
  .footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem; margin-bottom: 2.5rem;
  }
  .footer-brand p { font-size: .9rem; color: var(--muted); line-height: 1.7; margin-top: .75rem; }
  footer h4 { font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 1rem; color: var(--charcoal); }
  footer ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
  footer a { font-size: .9rem; color: var(--muted); text-decoration: none; transition: color .15s; }
  footer a:hover { color: var(--sunrise); }
  .footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 1.5rem; border-top: 1px solid #F5E8DE;
    font-size: .8rem; color: var(--muted); flex-wrap: wrap; gap: .5rem;
  }
  .footer-flame {
    display: inline-flex; align-items: center; gap: .4rem;
    font-size: .8rem; color: var(--sunrise); font-weight: 600;
  }

  /* ─── RESPONSIVE ─── */
  @media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; padding: 3rem 5vw; }
    .hero-visual { display: none; }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .stories-grid { grid-template-columns: 1fr 1fr; }
    .story-card.featured { grid-row: auto; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 600px) {
    nav { display: none; }
    .stats { grid-template-columns: 1fr 1fr; }
    .stories-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
  }

  .jft-card { border-left: 3px solid var(--gold); }
  .jft-mini-spinner {
    width: 18px; height: 18px; border-radius: 50%;
    border: 2px solid #FDE8D8; border-top-color: var(--sunrise);
    animation: spin .7s linear infinite; flex-shrink: 0;
  }
  /* ─── BMLT MEETING FINDER ─── */
  .bmlt-search-bar {
    background: #fff; border: 1.5px solid #FDBA74;
    border-radius: 20px; padding: 1.5rem 1.75rem;
    margin-top: 2rem;
    box-shadow: 0 4px 24px rgba(249,115,22,.08);
  }
  .bmlt-search-row {
    display: flex; gap: 1rem; align-items: flex-end; flex-wrap: wrap;
  }
  .bmlt-field { display: flex; flex-direction: column; gap: .35rem; flex: 1; min-width: 160px; }
  .bmlt-field label { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
  .bmlt-field select,
  .bmlt-field input {
    padding: .6rem 1rem; border: 1.5px solid #E7D5C8; border-radius: 10px;
    font-size: .9rem; font-family: inherit; color: var(--charcoal);
    background: var(--cream); outline: none; transition: border .2s;
  }
  .bmlt-field select:focus,
  .bmlt-field input:focus { border-color: var(--sunrise); background: #fff; }
  .bmlt-config-panel {
    background: linear-gradient(135deg, #FFF7ED, #FEF3C7);
    border: 1.5px dashed #FDBA74; border-radius: 16px;
    padding: 1.5rem; margin-top: 1.5rem;
  }
  .bmlt-config-inner { display: flex; gap: 1rem; align-items: flex-start; }
  .bmlt-spinner {
    width: 40px; height: 40px; border-radius: 50%;
    border: 3px solid #FDE8D8; border-top-color: var(--sunrise);
    animation: spin .8s linear infinite; margin: 0 auto;
  }
  @keyframes spin { to { transform: rotate(360deg); } }
  .bmlt-error-msg {
    background: #FEF2F2; border: 1px solid #FECACA; color: #991B1B;
    border-radius: 12px; padding: 1rem 1.25rem; font-size: .9rem;
    margin-bottom: 1rem;
  }
  .bmlt-count-bar {
    font-size: .85rem; color: var(--muted); margin-bottom: 1rem;
    padding-bottom: .75rem; border-bottom: 1px solid #F5E8DE;
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: .5rem;
  }
  .bmlt-count-bar strong { color: var(--charcoal); }
  /* Live meeting cards - override static ones */
  .meeting-card-live {
    background: #fff; border-radius: 16px; padding: 1.5rem;
    border: 1px solid #F5E8DE;
    box-shadow: 0 2px 12px rgba(120,80,20,.06);
    transition: transform .2s, box-shadow .2s;
    cursor: pointer; display: flex; flex-direction: column; gap: .5rem;
  }
  .meeting-card-live:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(120,80,20,.14); }
  .meeting-card-live .meeting-day { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sunrise); }
  .meeting-card-live .meeting-title { font-size: 1rem; font-weight: 600; color: var(--charcoal); }
  .meeting-card-live .meeting-info { font-size: .83rem; color: var(--muted); line-height: 1.5; }
  .meeting-card-live .meeting-footer {
    display: flex; align-items: center; justify-content: space-between;
    padding-top: .6rem; border-top: 1px solid #F5E8DE; margin-top: auto;
  }
  .today-badge {
    display: inline-flex; align-items: center; gap: .3rem;
    font-size: .72rem; font-weight: 700; color: #fff;
    background: linear-gradient(135deg, var(--sunrise), var(--amber));
    padding: .18rem .6rem; border-radius: 100px;
  }
  /* Pagination */
  .page-btn {
    padding: .45rem .9rem; border-radius: 8px; border: 1.5px solid #E7D5C8;
    background: #fff; color: var(--charcoal); font-size: .85rem; cursor: pointer;
    font-family: inherit; transition: all .15s;
  }
  .page-btn:hover, .page-btn.active {
    background: var(--sunrise); color: #fff; border-color: var(--sunrise);
  }
  /* Modal */
  .modal-overlay {
    display: none; position: fixed; inset: 0; z-index: 500;
    background: rgba(28,25,23,.55); backdrop-filter: blur(4px);
    align-items: center; justify-content: center; padding: 1rem;
  }
  .modal-overlay.open { display: flex; }
  .modal-box {
    background: #fff; border-radius: 24px; padding: 2rem;
    max-width: 540px; width: 100%; position: relative;
    max-height: 90vh; overflow-y: auto;
    box-shadow: 0 24px 80px rgba(28,25,23,.25);
  }
  .modal-close {
    position: absolute; top: 1rem; right: 1rem;
    background: var(--cream); border: none; border-radius: 50%;
    width: 32px; height: 32px; font-size: 1rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    color: var(--muted); transition: background .15s;
  }
  .modal-close:hover { background: #F5E8DE; }
  .modal-section { margin-bottom: 1.25rem; }
  .modal-section h4 { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sunrise); margin-bottom: .35rem; }
  .modal-section p { font-size: .9rem; color: var(--charcoal); line-height: 1.6; }
  .modal-map-link {
    display: inline-flex; align-items: center; gap: .4rem;
    background: var(--blush); color: var(--terracotta);
    border-radius: 8px; padding: .45rem .9rem; font-size: .85rem; font-weight: 600;
    text-decoration: none; margin-top: .5rem; transition: background .15s;
  }
  .modal-map-link:hover { background: #FDBA74; }
  .virtual-join-btn {
    display: inline-flex; align-items: center; gap: .5rem;
    background: linear-gradient(135deg, var(--sunrise), var(--amber));
    color: #fff; border-radius: 100px; padding: .6rem 1.4rem;
    font-weight: 600; font-size: .9rem; text-decoration: none;
    box-shadow: 0 4px 16px rgba(249,115,22,.35); margin-top: .75rem;
    transition: transform .15s, box-shadow .15s;
  }
  .virtual-join-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 22px rgba(249,115,22,.45); }

  /* ─── AREA DOCUMENTS ─── */
  .docs-auth-box {
    background: #fff; border: 1.5px solid #FDBA74; border-radius: 16px;
    padding: 1.5rem 2rem; display: inline-flex; flex-direction: column;
    align-items: flex-start; gap: .1rem;
    box-shadow: 0 4px 20px rgba(249,115,22,.08);
    max-width: 420px;
  }
  .docs-input {
    padding: .6rem 1rem; border: 1.5px solid #E7D5C8; border-radius: 10px;
    font-size: .9rem; font-family: inherit; color: var(--charcoal);
    background: var(--cream); outline: none; transition: border .2s; width: 100%;
  }
  .docs-input:focus { border-color: var(--sunrise); background: #fff; }
  .docs-upload-area {
    background: #fff; border: 1.5px solid #FDBA74; border-radius: 16px;
    padding: 1.5rem 2rem; box-shadow: 0 4px 20px rgba(249,115,22,.08);
  }
  .docs-dropzone {
    border: 2px dashed #FDBA74; border-radius: 12px;
    padding: 2.5rem 1.5rem; text-align: center; background: var(--cream);
    transition: background .2s, border-color .2s; cursor: pointer;
  }
  .docs-dropzone.dragover { background: #FEF3C7; border-color: var(--sunrise); }
  .docs-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
  }
  .doc-card {
    background: #fff; border: 1px solid #F5E8DE; border-radius: 14px;
    padding: 1.25rem; display: flex; flex-direction: column; gap: .5rem;
    transition: transform .15s, box-shadow .15s; position: relative;
  }
  .doc-card:hover { transform: translateY(-3px); box-shadow: 0 6px 24px rgba(120,80,20,.1); }
  .doc-icon {
    width: 44px; height: 44px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center; font-size: 1.4rem;
    flex-shrink: 0;
  }
  .doc-header { display: flex; gap: .75rem; align-items: flex-start; }
  .doc-meta { flex: 1; min-width: 0; }
  .doc-name { font-size: .92rem; font-weight: 600; color: var(--charcoal); line-height: 1.3; word-break: break-word; }
  .doc-desc { font-size: .78rem; color: var(--muted); margin-top: .2rem; line-height: 1.4; }
  .doc-footer {
    display: flex; align-items: center; justify-content: space-between;
    padding-top: .6rem; border-top: 1px solid #F5E8DE; margin-top: auto;
  }
  .doc-category-pill {
    font-size: .7rem; font-weight: 700; letter-spacing: .05em;
    padding: .2rem .65rem; border-radius: 100px; text-transform: uppercase;
  }
  .cat-minutes   { background: #FEF3C7; color: #92400E; }
  .cat-guidelines{ background: #DBEAFE; color: #1E40AF; }
  .cat-flyers    { background: #DCFCE7; color: #166534; }
  .cat-financial { background: #EDE9FE; color: #5B21B6; }
  .cat-forms     { background: #FFE4E6; color: #9F1239; }
  .cat-other     { background: #F1F5F9; color: #475569; }
  .doc-download-btn {
    display: inline-flex; align-items: center; gap: .3rem;
    font-size: .78rem; font-weight: 600; color: var(--sunrise);
    background: var(--blush); border: none; border-radius: 8px;
    padding: .3rem .75rem; cursor: pointer; text-decoration: none;
    transition: background .15s;
  }
  .doc-download-btn:hover { background: #FDBA74; color: var(--terracotta); }
  .doc-delete-btn {
    position: absolute; top: .6rem; right: .6rem;
    background: #FEE2E2; border: none; border-radius: 50%;
    width: 22px; height: 22px; font-size: .7rem; cursor: pointer;
    color: #DC2626; display: none; align-items: center; justify-content: center;
    transition: background .15s;
  }
  .doc-delete-btn:hover { background: #FECACA; }
  .doc-card.can-delete .doc-delete-btn { display: flex; }
  .doc-date { font-size: .72rem; color: var(--muted); }
  .docs-success-toast {
    position: fixed; bottom: 2rem; right: 2rem; z-index: 999;
    background: #1C1917; color: #fff; border-radius: 12px;
    padding: .85rem 1.5rem; font-size: .88rem; font-weight: 500;
    box-shadow: 0 8px 32px rgba(0,0,0,.25);
    transform: translateY(100px); opacity: 0; transition: all .3s;
    display: flex; align-items: center; gap: .6rem;
  }
  .docs-success-toast.show { transform: translateY(0); opacity: 1; }

  /* ─── ANIMATIONS ─── */
  .fade-up {
    opacity: 0; transform: translateY(24px);
    animation: fadeUp .7s forwards;
  }
  @keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
  }
  .delay-1 { animation-delay: .1s; }
  .delay-2 { animation-delay: .2s; }
  .delay-3 { animation-delay: .35s; }
  .delay-4 { animation-delay: .5s; }