/* Dream Decoder styles - v1.1.5 baseline with lucky number highlight */
.dd-card{background:#ffffff;border:1px solid #e5e7eb;border-radius:16px;padding:20px;box-shadow:0 2px 8px rgba(0,0,0,.04)}
.dd-title{margin:0 0 12px;font-size:20px;line-height:1.3;font-weight:700;color:#111827}
.dd-form{margin-top:8px}
.dd-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.dd-field{display:flex;flex-direction:column}
.dd-col-2{grid-column:span 2}
.dd-field label{font-size:14px;color:#374151;margin-bottom:6px}
.dd-field input[type="text"],
.dd-field input[type="date"],
.dd-field select,
.dd-field textarea{font-size:14px;line-height:20px;height:40px;border:1px solid #d1d5db;border-radius:10px;padding:8px 12px;color:#111827;background:#fff;outline:none}
.dd-field textarea{height:auto;min-height:120px;resize:vertical}
.dd-field input:focus,.dd-field select:focus,.dd-field textarea:focus{border-color:#9ca3af;box-shadow:0 0 0 3px rgba(156,163,175,.2)}

.dd-actions{display:flex;gap:10px;margin-top:8px}
.dd-btn{height:40px;padding:0 14px;border-radius:10px;border:1px solid transparent;font-size:14px;font-weight:600;cursor:pointer}
.dd-btn-primary{background:#111827;color:#fff}
.dd-btn-primary:hover{opacity:.92}
.dd-btn-secondary{background:#f3f4f6;color:#111827;border-color:#e5e7eb}
.dd-btn-secondary:hover{background:#e5e7eb}

.dd-result{margin-top:16px}
.dd-alert{padding:12px 14px;border-radius:10px;font-size:14px}
.dd-alert-error{background:#fef2f2;color:#991b1b;border:1px solid #fecaca}

.dd-summary{display:flex;flex-direction:column;gap:8px}
.dd-summary-row{display:flex;flex-wrap:wrap;gap:16px}
.dd-chip{background:#f3f4f6;border:1px solid #e5e7eb;border-radius:999px;padding:6px 10px;font-size:13px;color:#111827}
.dd-lucky-chip{background:#fff5f5;border-color:#f5b3b3}
.dd-lucky{font-weight:900;font-size:20px;color:#b10000} /* đỏ nổi bật */

.dd-sep{height:1px;background:#e5e7eb;margin:12px 0}

.dd-section{margin-top:10px}
.dd-section-title{font-size:16px;font-weight:700;margin:0 0 8px}
.dd-topic{border:1px solid #e5e7eb;border-radius:12px;padding:10px;margin-bottom:8px;background:#fff}
.dd-topic-head{display:flex;align-items:center;gap:8px;margin-bottom:6px}
.dd-badge{display:inline-block;padding:2px 8px;border-radius:999px;font-size:12px;border:1px solid transparent}
.dd-tốt{background:#ecfdf5;color:#065f46;border-color:#a7f3d0}
.dd-xấu{background:#fef2f2;color:#991b1b;border-color:#fecaca}
.dd-trung \lập{background:#eff6ff;color:#1e40af;border-color:#bfdbfe}

.dd-two-cols{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.dd-subtitle{font-size:15px;margin:0 0 6px}
.dd-list{margin:0;padding-left:18px}
.dd-list li{margin:6px 0}

.dd-note{margin-top:8px;font-size:12px;color:#6b7280}
@media (max-width:768px){
  .dd-grid{grid-template-columns:1fr}
  .dd-col-2{grid-column:span 1}
  .dd-two-cols{grid-template-columns:1fr}
}
