/* Upload Doctor modal — wrong-format upload guidance */

#uploadDoctorModal { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; background: rgba(2, 6, 23, 0.62); backdrop-filter: blur(4px); padding: 16px; }
#uploadDoctorModal.hidden { display: none; }

.udoc-card { background: #ffffff; color: #0f172a; border-radius: 14px; box-shadow: 0 24px 64px -12px rgba(2, 6, 23, 0.45); width: 100%; max-width: 660px; max-height: 88vh; display: flex; flex-direction: column; overflow: hidden; }
body.dark-mode .udoc-card { background: #101a2e; color: #e6ecf7; border: 1px solid #22304d; }

.udoc-head { display: flex; align-items: flex-start; gap: 12px; padding: 20px 22px 14px; border-bottom: 1px solid #e2e8f0; }
body.dark-mode .udoc-head { border-bottom-color: #22304d; }
.udoc-icon { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; background: rgba(245, 158, 11, 0.14); display: flex; align-items: center; justify-content: center; }
.udoc-title { font-size: 17px; font-weight: 650; line-height: 1.3; margin: 0; }
.udoc-file { font-size: 12.5px; color: #64748b; margin: 3px 0 0; word-break: break-all; }
body.dark-mode .udoc-file { color: #8fa0bd; }

.udoc-body { padding: 16px 22px 6px; overflow-y: auto; font-size: 14px; line-height: 1.6; }
.udoc-lede { margin: 0 0 10px; }
.udoc-need { margin: 0 0 14px; }
.udoc-alt { margin: 14px 0 6px; color: #475569; font-size: 13.5px; }
body.dark-mode .udoc-alt { color: #9db0cd; }

.udoc-example { border: 1px solid #e2e8f0; border-radius: 10px; margin: 0 0 14px; overflow: hidden; }
body.dark-mode .udoc-example { border-color: #22304d; }
.udoc-example-head { font-size: 12px; font-weight: 600; letter-spacing: 0.02em; padding: 8px 12px; background: #f8fafc; color: #475569; border-bottom: 1px solid #e2e8f0; }
body.dark-mode .udoc-example-head { background: #0c1526; color: #9db0cd; border-bottom-color: #22304d; }
.udoc-example-scroll { overflow-x: auto; }
.udoc-example-table { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.udoc-example-table th, .udoc-example-table td { text-align: left; padding: 6px 12px; white-space: nowrap; }
.udoc-example-table th { font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: #64748b; }
body.dark-mode .udoc-example-table th { color: #8fa0bd; }
.udoc-example-table tr + tr td { border-top: 1px solid #eef2f7; }
body.dark-mode .udoc-example-table tr + tr td { border-top-color: #1b2740; }

.udoc-guide { border: 1px solid #dbeafe; background: #f6f9ff; border-radius: 10px; padding: 12px 16px 10px; margin: 0 0 6px; }
body.dark-mode .udoc-guide { border-color: #23365c; background: #0e1a33; }
.udoc-guide-head { font-weight: 650; font-size: 14px; margin-bottom: 6px; }
.udoc-right-name { font-weight: 500; color: #2563eb; font-size: 12.5px; }
body.dark-mode .udoc-right-name { color: #7ea6ff; }
.udoc-steps-group { margin: 8px 0 4px; }
.udoc-steps-head { font-size: 11.5px; font-weight: 650; text-transform: uppercase; letter-spacing: 0.07em; color: #64748b; margin-bottom: 4px; }
body.dark-mode .udoc-steps-head { color: #8fa0bd; }
.udoc-steps { margin: 0 0 4px; padding-left: 20px; }
.udoc-steps li { margin: 3px 0; }
.udoc-note { font-size: 13px; color: #475569; margin: 8px 0 2px; }
body.dark-mode .udoc-note { color: #9db0cd; }

.udoc-foot { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: flex-end; padding: 14px 22px 18px; border-top: 1px solid #e2e8f0; }
body.dark-mode .udoc-foot { border-top-color: #22304d; }
.udoc-privacy { margin-right: auto; font-size: 12px; color: #94a3b8; }
.udoc-btn { border-radius: 8px; padding: 9px 16px; font-size: 13.5px; font-weight: 600; cursor: pointer; border: 1px solid transparent; transition: transform 0.12s ease, box-shadow 0.12s ease; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.udoc-btn:focus-visible { outline: 2px solid #2563eb; outline-offset: 2px; }
.udoc-btn-secondary { background: transparent; border-color: #cbd5e1; color: #334155; }
body.dark-mode .udoc-btn-secondary { border-color: #33456b; color: #c7d3e8; }
.udoc-btn-secondary:hover { background: rgba(100, 116, 139, 0.08); }
.udoc-btn-primary { background: linear-gradient(135deg, #2563eb, #1d4ed8); color: #ffffff; box-shadow: 0 4px 12px -2px rgba(37, 99, 235, 0.4); }
.udoc-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 16px -2px rgba(37, 99, 235, 0.5); }

@media (max-width: 520px) {
  .udoc-foot { justify-content: stretch; }
  .udoc-privacy { flex-basis: 100%; margin-right: 0; }
  .udoc-btn { flex: 1 1 auto; justify-content: center; }
}
