.screen-wrap {
  background: #fff;
  border-radius: 20px;
  width: 100%;
  overflow: hidden;
}

/* ── DETAIL SCREEN ── */
.detail-scr {
  padding: 24px 20px 150px;
  font-family: 'Poppins', sans-serif;
}

.dcard { background: #F7F7F7; border-radius: 16px; padding: 16px; margin-bottom: 14px; }
.dcard-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.dcard-icon { width: 38px; height: 38px; border-radius: 11px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ri-gray   { background: #ededed; }
.ri-blue   { background: #E8F0FF; }
.ri-amber  { background: #FFF3E0; }
.dcard-title { font-size: 16px; font-weight: 600; color: #111; }
.dcard-sub   { font-size: 15px; color: #000; margin-top: 1px; }

.sec-lbl  { font-size: 12px; font-weight: 500; color: #000; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; display: block; }
.flabel   { font-size: 12px; font-weight: 500; color: #000; margin-bottom: 5px; text-transform: uppercase; letter-spacing: 0.05em; display: block; }
.finput   { width: 100%; background: #fff; border: none; border-radius: 12px; padding: 13px 14px; font-size: 15px; color: #111; font-family: 'Poppins', sans-serif; outline: none; margin-bottom: 12px; transition: box-shadow 0.2s; }
.finput:focus { box-shadow: 0 0 0 2px #E0D8FF; }
.finput::placeholder { color: #000; }
.ftextarea { width: 100%; background: #fff; border: none; border-radius: 12px; padding: 13px 14px; font-size: 15px; color: #111; font-family: 'Poppins', sans-serif; outline: none; resize: none; line-height: 1.6; margin-bottom: 4px; transition: box-shadow 0.2s; }
.ftextarea:focus { box-shadow: 0 0 0 2px #E0D8FF; }
.ftextarea::placeholder { color: #000; }
.fcount { font-size: 12px; color: #000; text-align: right; margin-bottom: 12px; }

/* Divider picker */
.div-opt { background: #fff; border-radius: 14px; padding: 14px 16px; margin-bottom: 10px; cursor: pointer; border: 2px solid transparent; transition: border-color 0.2s; }
.div-opt.sel { border-color: #2962FF; background: #F0F5FF; }
.div-top  { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.div-left { display: flex; align-items: center; gap: 8px; }
.div-name { font-size: 14px; font-weight: 500; color: #111; font-family: 'Poppins', sans-serif; }
.dbadge   { font-size: 13px; font-weight: 500; padding: 2px 8px; border-radius: 20px; font-family: 'Poppins', sans-serif; }
.db-gray  { background: #c1c1c1; color: #888; }
.db-purple{ background: #EDE7F6; color: #6A1B9A; }
.div-radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #DDD; display: flex; align-items: center; justify-content: center; transition: all 0.15s; }
.div-opt.sel .div-radio { border-color: #111; background: #111; }
.rdot { width: 8px; height: 8px; border-radius: 50%; background: #fff; display: none; }
.div-opt.sel .rdot { display: block; }
.div-prev { background: #fff; border-radius: 10px; padding: 10px 14px; border: 1px solid #c1c1c1; }
.frow  { display: flex; align-items: center; gap: 10px; padding: 5px 0; }
.fic   { width: 28px; height: 28px; border-radius: 8px; background: #c1c1c1; flex-shrink: 0; }
.flines{ flex: 1; display: flex; flex-direction: column; gap: 4px; }
.fla   { height: 7px; background: #c1c1c1; border-radius: 4px; width: 65%; }
.flb   { height: 5px; background: #c1c1c1; border-radius: 4px; width: 42%; }
.dwrap { padding: 10px 8px; display: flex; align-items: center;  border-radius: 6px; margin: 2px 0; }
.d-thin   { width: 100%; height: 2px; border-top: 2px solid #888; border-radius: 1px; }
.d-dashed { width: 100%; height: 0; border: none; border-top: 2px dashed #888; }

.d-orn {
  position: relative;
  height: 2px;
  margin: 10px 0;
  border-bottom:2px solid #888;
  display: flex; align-items: center; gap: 10px; width: 100%;
  font-size: 14px;
}

/* lines */


.d-orn::before {
  content: "✦";
  position: absolute;
  left: 45%;
  top: -8px;
  background: #FFFFFF;
  padding: 0 6px;
  color: #555;
  font-weight: 600;
  display: flex;
  justify-content: center;
}

/* Upload zone */
.upload-zone { background: #fff; border-radius: 12px; border: 2px dashed #DDD; padding: 24px 16px; display: flex; flex-direction: column; align-items: center; gap: 8px; cursor: pointer; margin-bottom: 12px; transition: border-color 0.2s; }
.upload-zone:hover { border-color: #999; }
.uz-icon  { width: 44px; height: 44px; background: #f3f3f3; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.uz-title { font-size: 15px; font-weight: 500; color: #111;max-width: 75%;text-align: center;word-wrap: break-word; }
.uz-sub   { font-size: 15px; color: #000; text-align: center; line-height: 1.5; }

/* Buttons */

.btn_add    { background: #000; color: #fff; border: 1px solid #fff !important; }
.btn_add:hover { background: #fff;color: #000; border: 1px solid #000 !important;}
.btn_cancel {background: #e8e2e2; color: #000; border: 1px solid #000 !important;}
.btn_cancel:hover { background: #000;color: #fff; border: 1px solid #fff !important;}
.btn_delete {background: #fff; color: #E74C3C;display: flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid #E74C3C !important;}
.btn_delete:hover {background: #E74C3C; color: #fff; border: 1px solid #fff !important;}

.page-title {
  font-size: 15px;
  font-weight: 600;
  color: #111;
  text-align: center;
  padding: 22px 20px 0;
  margin-bottom: 2px;
}
.file-preview {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    border: 1px solid #ddd;
    overflow: hidden;
    background: #f3f3f3;
    display: flex;
    justify-content: center;
    align-items: center;
}                           
.img-preview {
    background-size: cover;
    background-position: center;
}
/*.file-preview{
  width: 100%;
  height: 250px;
}*/
