#dmc-container {
    max-width: 620px; margin: 30px auto; padding: 0;
    background: #fff; border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0,0,0,.10);
    border: 1px solid #f0f0f0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #222; overflow: hidden;
}
.dmc-progress { height: 4px; background: #f0f0f0; width: 100%; }
.dmc-progress-bar { height: 4px; background: linear-gradient(90deg,#FF5733,#FF8C42); transition: width .4s ease; width: 0%; }
.dmc-inner { padding: 36px 40px; }
.dmc-step { display: none; }
.dmc-step.active { display: block; animation: dmcFadeIn .4s ease; }
@keyframes dmcFadeIn { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:translateY(0); } }
.dmc-step-label { font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: #FF5733; margin-bottom: 8px; display: block; }
#dmc-container h1 { font-size: 24px; font-weight: 700; color: #1a1a1a; margin: 0 0 10px; line-height: 1.3; }
#dmc-container h2 { font-size: 18px; font-weight: 600; color: #1a1a1a; margin: 0 0 20px; line-height: 1.3; }
#dmc-container p  { font-size: 14px; color: #666; margin: 0 0 20px; line-height: 1.6; }

/* Radio */
.dmc-radio-group { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.dmc-radio-item { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border: 1.5px solid #e8e8e8; border-radius: 10px; cursor: pointer; transition: all .2s; font-size: 14px; font-weight: 500; color: #333; }
.dmc-radio-item:hover { border-color: #FF5733; background: #fff8f6; }
.dmc-radio-item input[type=radio] { width: 16px; height: 16px; accent-color: #FF5733; flex-shrink: 0; cursor: pointer; }
.dmc-radio-item.selected { border-color: #FF5733; background: #fff5f3; }

/* Fields */
.dmc-field { margin-bottom: 18px; }
.dmc-field label { display: block; font-size: 13px; font-weight: 500; color: #555; margin-bottom: 6px; }
.dmc-field input, .dmc-field select { width: 100%; padding: 11px 14px; border: 1.5px solid #e8e8e8; border-radius: 8px; font-size: 14px; color: #222; background: #fafafa; box-sizing: border-box; transition: border-color .2s, box-shadow .2s; outline: none; }
.dmc-field input:focus, .dmc-field select:focus { border-color: #FF5733; background: #fff; box-shadow: 0 0 0 3px rgba(255,87,51,.1); }

/* Buttons */
.dmc-btn-row { display: flex; gap: 10px; margin-top: 24px; }
.dmc-btn-back { flex: 0 0 auto; padding: 11px 22px; border: 1.5px solid #ddd; border-radius: 8px; background: #fff; color: #555; font-size: 14px; font-weight: 500; cursor: pointer; transition: all .2s; white-space: nowrap; }
.dmc-btn-back:hover { border-color: #aaa; color: #222; background: #f8f8f8; }
.dmc-btn-next { flex: 1; padding: 12px 20px; border: none; border-radius: 8px; background: linear-gradient(135deg,#FF5733,#FF7043); color: #fff; font-size: 14px; font-weight: 600; cursor: pointer; transition: all .2s; box-shadow: 0 4px 14px rgba(255,87,51,.35); letter-spacing: .3px; }
.dmc-btn-next:hover { background: linear-gradient(135deg,#e64a2e,#FF5733); box-shadow: 0 6px 20px rgba(255,87,51,.45); transform: translateY(-1px); }
.dmc-btn-next:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.dmc-btn-green { flex: 1; padding: 12px 20px; border: none; border-radius: 8px; background: linear-gradient(135deg,#28a745,#2ecc71); color: #fff; font-size: 14px; font-weight: 600; cursor: pointer; transition: all .2s; box-shadow: 0 4px 14px rgba(40,167,69,.35); letter-spacing: .3px; }
.dmc-btn-green:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(40,167,69,.45); }
.dmc-btn-red { flex: 1; padding: 12px 20px; border: none; border-radius: 8px; background: linear-gradient(135deg,#c0392b,#e74c3c); color: #fff; font-size: 14px; font-weight: 600; cursor: pointer; transition: all .2s; box-shadow: 0 4px 14px rgba(192,57,43,.35); letter-spacing: .3px; }
.dmc-btn-red:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(192,57,43,.45); }
.dmc-btn-red:disabled { opacity: .6; cursor: not-allowed; transform: none; }

/* Results */
.dmc-divider { height: 1px; background: #f0f0f0; margin: 20px 0; }
.dmc-metrics-box { background: #fafafa; border: 1px solid #f0f0f0; border-radius: 10px; overflow: hidden; margin: 16px 0; }
.dmc-metric-row { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid #f0f0f0; font-size: 14px; }
.dmc-metric-row:last-child { border-bottom: none; }
.dmc-metric-row .label { color: #555; display: flex; align-items: center; gap: 8px; }
.dmc-metric-row .value { font-weight: 700; color: #1a1a1a; font-size: 15px; }
.dmc-metric-row.highlight { background: #fff8f3; }
.dmc-metric-row.highlight .label { color: #FF5733; font-weight: 600; }
.dmc-metric-row.highlight .value { color: #FF5733; font-size: 16px; }
.dmc-grade-box { border-radius: 10px; padding: 18px 20px; text-align: center; margin: 16px 0; font-size: 16px; font-weight: 600; }
.dmc-grade-box.poor   { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.dmc-grade-box.avg    { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }
.dmc-grade-box.strong { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.dmc-grade-box .grade-title { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.dmc-grade-box .grade-rec   { font-size: 13px; opacity: .8; font-weight: 400; }
.dmc-pdf-box { background: #fffbf5; border: 1.5px dashed #fbbf24; border-radius: 10px; padding: 22px; text-align: center; margin: 16px 0; }
.dmc-pdf-box h3 { font-size: 15px; font-weight: 600; color: #92400e; margin: 0 0 8px; }
.dmc-pdf-box p  { font-size: 13px; color: #78716c; margin: 0 0 16px; line-height: 1.5; }
.dmc-security   { font-size: 12px; color: #aaa; text-align: center; margin-top: 12px; display: block; }

/* Calendar */
.dmc-cal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.dmc-cal-month  { font-size: 16px; font-weight: 700; color: #1a1a1a; }
.dmc-cal-nav    { display: flex; gap: 8px; }
.dmc-cal-nav button { padding: 6px 12px; border: 1.5px solid #e8e8e8; border-radius: 6px; background: #fff; cursor: pointer; font-size: 12px; font-weight: 500; }
.dmc-cal-nav button:hover { border-color: #FF5733; background: #fff8f6; }
.dmc-cal-weekdays { display: grid; grid-template-columns: repeat(7,1fr); gap: 6px; margin-bottom: 6px; }
.dmc-cal-weekday  { text-align: center; font-size: 11px; font-weight: 600; color: #999; text-transform: uppercase; }
.dmc-calendar { display: grid; grid-template-columns: repeat(7,1fr); gap: 6px; margin: 0 0 20px; }
.dmc-cal-day { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border-radius: 8px; font-size: 13px; font-weight: 500; cursor: pointer; transition: all .2s; border: 1.5px solid #e8e8e8; background: #fff; color: #333; }
.dmc-cal-day:hover:not(.disabled) { border-color: #FF5733; background: #fff8f6; color: #FF5733; }
.dmc-cal-day.disabled { opacity: .3; cursor: not-allowed; background: #f5f5f5; color: #aaa; }
.dmc-cal-day.selected { background: #FF5733; color: #fff; border-color: #FF5733; font-weight: 700; }

/* Time Slots */
.dmc-time-slots { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin: 12px 0 20px; }
.dmc-time-slot { padding: 12px 8px; border-radius: 10px; font-size: 13px; font-weight: 600; text-align: center; cursor: pointer; transition: all .2s; border: 1.5px solid #e8e8e8; background: #fff; line-height: 1.4; }
.dmc-time-slot .slot-status { font-size: 11px; font-weight: 500; display: block; margin-top: 3px; }
.dmc-time-slot:hover:not(.booked) { border-color: #28a745; background: #f0fff4; }
.dmc-time-slot.booked { background: #fff5f5; border-color: #fecaca; color: #c62828; cursor: not-allowed; }
.dmc-time-slot.booked .slot-status { color: #e53e3e; }
.dmc-time-slot.selected { background: #28a745; color: #fff; border-color: #28a745; }
.dmc-time-slot.selected .slot-status { color: rgba(255,255,255,.85); }
.dmc-time-slot:not(.booked):not(.selected) .slot-status { color: #28a745; }

@media(max-width:640px){
    .dmc-inner { padding: 24px 20px; }
    #dmc-container h1 { font-size: 20px; }
    .dmc-btn-row { flex-direction: column-reverse; }
    .dmc-btn-back { width: 100%; }
    .dmc-time-slots { grid-template-columns: repeat(2,1fr); }
}
