
.epd-wrapper {
  direction: rtl;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 20px;
  margin: 20px 0;
}

.epd-title {
  margin: 0 0 4px;
  font-size: 1.6rem;
}

.epd-subtitle {
  margin: 0 0 16px;
  color: #6b7280;
  font-size: 0.95rem;
}

.epd-section {
  margin-bottom: 16px;
}

.epd-label {
  display: block;
  margin-bottom: 4px;
  font-weight: 600;
}

#epd-file {
  background: #ffffff;
  padding: 8px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  width: 100%;
}

.epd-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  align-items: center;
}

.epd-checkbox {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}

.epd-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.epd-actions button {
  border-radius: 999px;
  padding: 8px 16px;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
}

#epd-start {
  background: #2563eb;
  color: #ffffff;
}

#epd-start:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

#epd-export {
  background: #ffffff;
  color: #111827;
  border: 1px solid #d1d5db;
}

#epd-reset {
  background: #fee2e2;
  color: #b91c1c;
}

.epd-table-wrapper {
  max-height: 260px;
  overflow: auto;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
}

.epd-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.epd-table thead {
  background: #f3f4f6;
  position: sticky;
  top: 0;
  z-index: 1;
}

.epd-table th,
.epd-table td {
  padding: 8px 10px;
  border-bottom: 1px solid #e5e7eb;
  text-align: right;
}

.epd-table tbody tr:nth-child(even) {
  background: #f9fafb;
}

.epd-empty {
  text-align: center;
  color: #9ca3af;
}

.epd-heading {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.epd-notes ul {
  margin: 0;
  padding-right: 18px;
  color: #6b7280;
  font-size: 0.9rem;
}

.epd-notes li {
  margin-bottom: 4px;
}
