@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@500;700;800;900&display=swap');

.page-content:has(.dz-cmp) {
  background: #eef2f4;
}
.page .page-content .dz-cmp {
  max-width: 1040px;
  margin: 12px auto 48px;
  padding: 8px 10px 36px;
  direction: rtl;
  color: #0f172a;
  font-family: Cairo, Tahoma, 'Segoe UI', sans-serif;
  font-size: 18px;
  line-height: 1.75;
}
.page .page-content .dz-cmp-hero {
  background: linear-gradient(145deg, #043833 0%, #0a5c54 48%, #11756f 100%);
  color: #fff;
  padding: 36px 24px 30px;
  text-align: center;
  margin: 0 0 20px;
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(4, 56, 51, 0.22);
}
.page .page-content .dz-cmp-hero h1 {
  margin: 0 0 12px;
  font-size: 34px !important;
  font-weight: 900 !important;
  color: #fff !important;
  line-height: 1.35;
}
.page .page-content .dz-cmp-hero p {
  margin: 0 auto;
  max-width: 38em;
  font-size: 18px !important;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.94);
  font-weight: 500;
}
.dz-cmp-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}
.dz-cmp-badge {
  background: #fff;
  color: #0a5c54;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 1rem;
  font-weight: 800;
}
.dz-cmp-card {
  background: #fff;
  border: 1px solid #d7dee6;
  border-radius: 20px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
  padding: 24px 22px 22px;
  margin-bottom: 18px;
}
.page .page-content .dz-cmp-card h2 {
  margin: 0 0 12px;
  font-size: 24px !important;
  font-weight: 900 !important;
  color: #0a5c54 !important;
}
.page .page-content .dz-cmp-card p,
.page .page-content .dz-cmp-card li {
  font-size: 18px !important;
  line-height: 1.9;
  color: #1e293b;
}
.dz-cmp-drop {
  border: 2px dashed #0d7377;
  border-radius: 18px;
  background: #f0fdfa;
  padding: 36px 18px;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.dz-cmp-drop:hover,
.dz-cmp-drop.is-drag {
  background: #ccfbf1;
  border-color: #0f766e;
  transform: translateY(-1px);
}
.dz-cmp-drop input { display: none; }
.dz-cmp-drop i { font-size: 42px; color: #0d7377; display: block; margin-bottom: 12px; }
.page .page-content .dz-cmp-drop strong {
  display: block;
  font-size: 22px !important;
  color: #134e4a !important;
  font-weight: 900 !important;
}
.page .page-content .dz-cmp-drop span {
  display: block;
  margin-top: 8px;
  color: #334155;
  font-size: 16px !important;
  font-weight: 600;
}
.dz-cmp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.page .page-content .dz-cmp-btn {
  border: 0;
  border-radius: 12px;
  padding: 13px 18px;
  font-size: 17px !important;
  font-weight: 800;
  cursor: pointer;
  background: #0d7377;
  color: #fff;
  font-family: inherit;
}
.dz-cmp-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.dz-cmp-btn--gold { background: #c9a227; color: #1a1406; }
.dz-cmp-btn--ghost { background: #e2e8f0; color: #0f172a; }
.dz-cmp-status {
  margin: 14px 0 0;
  font-weight: 800;
  font-size: 1.08rem;
  color: #0f766e;
  min-height: 1.5em;
}
.dz-cmp-status.is-err { color: #b91c1c; }
.dz-cmp-merge-info {
  margin: 10px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: #ecfdf5;
  color: #065f46;
  font-size: 1.12rem;
  font-weight: 800;
  min-height: 0;
}
.dz-cmp-merge-info:empty { display: none; }
.dz-cmp-files { margin-top: 8px; }
.dz-cmp-file {
  border: 1px solid #cfd8e3;
  border-radius: 18px;
  padding: 18px 16px 16px;
  margin-top: 16px;
  background: #f7fafc;
}
.dz-cmp-file-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}
.dz-cmp-file-lead {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  min-width: 0;
  flex: 1;
}
.dz-cmp-file-icon {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: #0d7377;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
}
.dz-cmp-file-icon.is-pdf { background: #b45309; }
.page .page-content .dz-cmp-file-kicker {
  font-size: 15px !important;
  font-weight: 800;
  color: #0d7377;
  margin-bottom: 4px;
}
.page .page-content .dz-cmp h3.dz-cmp-file-name {
  margin: 0 0 12px;
  font-size: 28px !important;
  font-weight: 900 !important;
  color: #0b1220 !important;
  line-height: 1.35;
  word-break: break-word;
}
.dz-cmp-file-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.dz-cmp-stat {
  background: #fff;
  border: 1px solid #d6dee8;
  border-radius: 12px;
  padding: 8px 12px;
  min-width: 8.5rem;
}
.page .page-content .dz-cmp-stat small {
  display: block;
  font-size: 14px !important;
  font-weight: 800;
  color: #475569;
}
.page .page-content .dz-cmp-stat b {
  display: block;
  font-size: 24px !important;
  font-weight: 900 !important;
  color: #0f172a !important;
  line-height: 1.3;
}
.dz-cmp-sizes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.dz-cmp-size {
  background: #fff;
  border: 1px solid #cce3dc;
  border-radius: 16px;
  padding: 16px 12px 14px;
  text-align: center;
}
.page .page-content .dz-cmp-size-limit {
  display: block;
  font-size: 17px !important;
  font-weight: 800;
  color: #0a5c54;
}
.page .page-content .dz-cmp-size-num {
  display: block;
  margin-top: 6px;
  font-size: 32px !important;
  font-weight: 900 !important;
  color: #0b1220 !important;
  line-height: 1.15;
}
.page .page-content .dz-cmp-size-num.is-wait { font-size: 20px !important; color: #64748b; }
.page .page-content .dz-cmp-size-hint {
  display: block;
  margin: 4px 0 12px;
  font-size: 15px !important;
  font-weight: 700;
  color: #334155;
}
.page .page-content .dz-cmp-size button {
  width: 100%;
  border: 0;
  border-radius: 10px;
  padding: 12px 10px;
  background: #0d7377;
  color: #fff;
  font-size: 17px !important;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
}
.dz-cmp-size button:disabled { background: #94a3b8; cursor: wait; }
.dz-cmp-merge { background: #fffbeb; border-color: #f3d27a; }
.dz-cmp-note { background: #ecfeff; border-color: #9ee6ee; }
@media (max-width: 800px) {
  .dz-cmp-file-head { flex-direction: column; }
  .dz-cmp-sizes { grid-template-columns: 1fr; }
  .dz-cmp-btn { width: 100%; }
}
