/* Documents page (Bootstrap-first, minimal CSS) */

.dc-card{
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(209, 209, 209, 0.45);
  background: #07000E;
}
.dc-head{
  background: #d1d1d1;
  padding: 12px 22px;
  font-size: 1.1rem;
  font-weight: 800;
  color: #101010;
}
.dc-body{ padding: 18px 22px; }

.dc-search{
  position: relative;
  width: 320px;
  max-width: 100%;
}
.dc-search-ic{
  position:absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.55);
}
.dc-search-input{
  height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(91,110,155,0.85);
  background: transparent;
  color: #fff;
  padding-right: 40px;
  font-weight: 600;
  font-size: 0.88rem;
}
.dc-search-input::placeholder{ color: rgba(255,255,255,0.50); }
.dc-search-input:focus{
  background: transparent;
  color:#fff;
  border-color: rgba(120,145,205,0.95);
  box-shadow: 0 0 0 3px rgba(10,91,226,0.15);
}

.dc-btn{
  background: #fff;
  border: 0;
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 800;
  font-size: 0.82rem;
  color: #1a1a1a;
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
  white-space: nowrap;
}
.dc-btn:hover{ background: rgba(255,255,255,0.92); }

.dc-actions{ flex-wrap: wrap; justify-content: flex-end; }

.dc-item{
  border-radius: 18px;
  background: #2f2f2f;
  border: 1px solid rgba(255,255,255,0.08);
  padding: 18px 20px;
}
.dc-item-top{ flex-wrap: wrap; }
.dc-pill{ flex: 0 0 auto; margin-left: auto; }
.dc-ic{
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.86);
  display:grid;
  place-items:center;
  flex: 0 0 auto;
}
.dc-title{
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.1px;
}
.dc-meta{
  color: rgba(255,255,255,0.70);
  font-weight: 700;
  font-size: 0.82rem;
  margin-top: 2px;
}
.dc-meta2{
  color: rgba(255,255,255,0.55);
  font-weight: 600;
  font-size: 0.78rem;
  margin-top: 6px;
}
.dc-pill{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #8BE59F;
  color: #08210f;
  border: 1px solid rgba(8,33,15,0.18);
  font-weight: 800;
  font-size: 0.78rem;
  white-space: nowrap;
}
.dc-pill i{ font-size: 0.95rem; }

.dc-act{
  width: 26px;
  height: 26px;
  border-radius: 6px;
  border: 0;
  background: #DBE9FF;
  color: #0A5BE2;
  display:grid;
  place-items:center;
  padding: 0;
  font-size: 0.78rem;
}
.dc-act:hover{ background: #c2d8ff; color:#0A5BE2; }

/* ===== Add Documents offcanvas (right-side like Beneficiary) ===== */
.dc-add-oc{
  width: min(680px, 94vw) !important;
  background: #2b2b2b;
  border-left: 1px solid rgba(255,255,255,0.25);
  box-shadow: -22px 0 38px rgba(0,0,0,0.45);
  top: 18px;
  bottom: 24px;
  height: auto !important;
  border-radius: 0 !important;
  overflow: visible;
}
.dc-add-inner{
  position: relative;
  padding: 22px 24px 26px;
  color: #fff;
  height: 100%;
  overflow-y: auto;
  font-size: 0.92rem;
}
.dc-add-close{
  position: absolute;
  right: 18px;
  top: 18px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 0;
  background: rgba(255,255,255,0.92);
  color: rgba(0,0,0,0.70);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.dc-add-title{
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: 0.2px;
}
.dc-add-divider{
  height: 1px;
  background: rgba(255,255,255,0.18);
  margin-top: 12px;
}
.dc-lbl{
  color: rgba(255,255,255,0.72);
  font-weight: 700;
  font-size: 0.78rem;
  margin-bottom: 6px;
}
.dc-inp{
  height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(91,110,155,0.85);
  background: transparent;
  color: #fff;
  font-size: 0.88rem;
}
.dc-inp:focus{
  background: transparent;
  color:#fff;
  border-color: rgba(120,145,205,0.95);
  box-shadow: 0 0 0 3px rgba(10,91,226,0.15);
}
.dc-ta{
  height: auto;
  min-height: 84px;
  resize: none;
  padding-top: 10px;
  padding-bottom: 10px;
}
.dc-drop{
  border: 1px dashed rgba(219,233,255,0.35);
  border-radius: 12px;
  padding: 16px;
}
.dc-drop-inner{
  height: 76px;
  border-radius: 10px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  color: rgba(255,255,255,0.70);
  font-weight: 700;
  font-size: 0.88rem;
}
.dc-drop-inner i{ font-size: 1.15rem; color: rgba(255,255,255,0.75); }
.dc-browse-link{
  color: #0A5BE2;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.dc-browse-link:hover{ color: #4d8df0; }
.dc-help{
  color: rgba(255,255,255,0.55);
  font-weight: 600;
  font-size: 0.76rem;
  margin-top: 10px;
}
.dc-file-row{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 2px;
}
.dc-file-left{
  display:flex;
  align-items:center;
  gap: 10px;
  min-width: 0;
}
.dc-file-ic{
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255,255,255,0.10);
  display:grid;
  place-items:center;
  color: rgba(255,255,255,0.86);
  flex: 0 0 auto;
}
.dc-file-name{ font-weight: 800; font-size: 0.84rem; color:#fff; }
.dc-file-meta{ font-weight: 600; font-size: 0.74rem; color: rgba(255,255,255,0.55); margin-top: 2px; }
.dc-file-del{
  width: 26px;
  height: 26px;
  border-radius: 6px;
  border: 0;
  background: #FCA5A5;
  color: #B91C1C;
  display:grid;
  place-items:center;
  flex: 0 0 auto;
  font-size: 0.78rem;
}
.dc-file-del:hover{ background: #f59494; color:#B91C1C; }
.dc-submit{
  height: 50px;
  border-radius: 12px;
  background: #0A5BE2;
  color: #fff;
  font-weight: 800;
  border: 0;
  font-size: 0.92rem;
  margin-top: 4px;
}
.dc-submit:hover{ background: #094fca; color:#fff; }

@media (max-width: 575.98px){
  .dc-body,
  .dc-body.px-5{ padding-left: 12px !important; padding-right: 12px !important; }
  .dc-head{ padding: 10px 14px; font-size: 1rem; }
  .dc-item{ padding: 14px 14px; border-radius: 14px; }
  .dc-title{ font-size: 0.95rem; }
  .dc-actions{ width: 100%; }
  .dc-btn{ width: 100%; justify-content:center; }
  .dc-search{ width: 100%; }
  .dc-search-input{ height: 40px; }
  .dc-pill{ padding: 7px 12px; font-size: 0.74rem; }
  .dc-item-top{ flex-direction: column; align-items: flex-start !important; }
  .dc-pill{
    margin-top: 10px;
    margin-left: 0;
    width: 100%;
    justify-content: center;
  }

  .dc-add-oc{
    width: 100vw !important;
    max-width: 100vw !important;
    top: 0;
    bottom: 0;
    height: 100vh !important;
  }
  .dc-add-inner{ padding: 16px 16px 22px; }
  .dc-add-close{ right: 12px; top: 12px; }
}

