/* =========================
   Draft hint + upload toast
   ========================= */
.draft-hint{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:10px 12px;
  margin:0 0 10px 0;
  border:1px solid rgba(0,0,0,.08);
  border-radius:12px;
  background:rgba(255,255,255,.7);
  backdrop-filter: blur(6px);
}
.draft-hint__txt{ font-size:13px; opacity:.9; }
.draft-hint__btn{
  border:0;
  background:transparent;
  padding:6px 10px;
  border-radius:10px;
  cursor:pointer;
  font-size:13px;
}
.draft-hint__btn:hover{ background: rgba(0,0,0,.06); }

.upload-toast{
  position:fixed;
  left:12px;
  right:12px;
  bottom:14px;
  z-index:9999;
}
.upload-toast__card{
  max-width:560px;
  margin:0 auto;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(0,0,0,.10);
  background:rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  box-shadow:0 10px 30px rgba(0,0,0,.12);
}
.upload-toast__title{
  font-weight:600;
  font-size:14px;
  margin-bottom:8px;
}
.upload-toast__actions{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}
.upload-toast__tip{
  margin-top:8px;
  font-size:12px;
  opacity:.75;
}

/* =========================
   Attachment file card
   ========================= */
.file-card{
  display:flex;
  align-items:center;
  gap:12px;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(0,0,0,.10);
  background:#fff;
  box-shadow:0 6px 18px rgba(0,0,0,.06);
  margin:10px 0;
}
.file-card__icon{
  width:40px;
  height:40px;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(0,0,0,.06);
  flex:0 0 40px;
  font-size:18px;
}
.file-card__main{
  flex:1 1 auto;
  min-width:0;
}
.file-card__name{
  font-weight:600;
  font-size:14px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.file-card__meta{
  margin-top:2px;
  font-size:12px;
  opacity:.7;
}
.file-card__btn{
  flex:0 0 auto;
  padding:8px 12px;
  border-radius:12px;
  border:1px solid rgba(0,0,0,.12);
  text-decoration:none;
  font-weight:600;
}
.file-card__btn:hover{
  background:rgba(0,0,0,.04);
}

