.sdev-tool-df-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-top: 4px solid #0f766e;
  border-radius: 14px;
  padding: 20px;
  margin: 20px auto;
  max-width: 680px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
  font-family: inherit;
  color: #1e293b;
  box-sizing: border-box;
}

.sdev-tool-df-card *,
.sdev-tool-df-card *::before,
.sdev-tool-df-card *::after {
  box-sizing: border-box;
}

.sdev-tool-df-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
}

.sdev-tool-df-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f0fdfa;
  color: #0f766e;
  border: 1px solid #99f6e4;
  font-weight: 700;
  font-size: 15px;
  padding: 5px 12px;
  border-radius: 999px;
}

.sdev-tool-df-date {
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
}

.sdev-tool-df-meta {
  margin-bottom: 10px;
}

.sdev-tool-df-cat {
  display: inline-block;
  font-size: 12.5px;
  color: #475569;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 3px 10px;
  border-radius: 6px;
}

.sdev-tool-df-heading {
  margin: 0 0 12px 0;
  font-size: 18px;
  line-height: 1.45;
  font-weight: 700;
  color: #0f172a;
}

.sdev-tool-df-fact-box {
  background: linear-gradient(135deg, #f0fdfa 0%, #fffbeb 100%);
  border: 1px solid #99f6e4;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 14px;
}

.sdev-tool-df-kya-label {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  color: #b45309;
  background: #fef3c7;
  padding: 2px 9px;
  border-radius: 6px;
  margin-bottom: 8px;
}

.sdev-tool-df-fact-text {
  font-size: 17px;
  line-height: 1.65;
  font-weight: 600;
  color: #0f172a;
}

.sdev-tool-df-fact-text p:first-child {
  margin-top: 0;
}

.sdev-tool-df-fact-text p:last-child {
  margin-bottom: 0;
}

.sdev-tool-df-image-wrap {
  margin: 14px 0;
  text-align: center;
}

.sdev-tool-df-image {
  max-width: 100%;
  height: auto;
  max-height: 280px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
}

.sdev-tool-df-explanation {
  padding: 13px 15px;
  background: #f8fafc;
  border-left: 4px solid #f59e0b;
  border-radius: 8px;
  font-size: 14.5px;
  line-height: 1.6;
  color: #334155;
}

.sdev-tool-df-exp-title {
  font-weight: 700;
  color: #b45309;
  margin-bottom: 5px;
}

.sdev-tool-df-exp-text p:first-child {
  margin-top: 0;
}

.sdev-tool-df-exp-text p:last-child {
  margin-bottom: 0;
}

.sdev-tool-df-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
}

.sdev-tool-df-btn {
  flex: 1 1 160px;
  max-width: 100%;
  min-height: 42px;
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.sdev-tool-df-btn-copy {
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #cbd5e1;
}

.sdev-tool-df-btn-share {
  background: #16a34a;
  color: #ffffff;
}

.sdev-tool-df-btn:hover {
  opacity: 0.92;
}

.sdev-tool-df-empty {
  padding: 16px;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 10px;
  text-align: center;
  color: #64748b;
}

@media (max-width: 480px) {
  .sdev-tool-df-card {
    padding: 16px;
  }
  .sdev-tool-df-heading {
    font-size: 16.5px;
  }
  .sdev-tool-df-fact-text {
    font-size: 15.5px;
  }
}
