#nav svg {
  margin-right: 6px;
}

.icon {
  display: inline-block;
  vertical-align: middle;
  margin-right: 6px;
  flex-shrink: 0;
  /* nudge up 1px to optically centre against cap-height */
  position: relative;
  top: -1px;
}

h2 .icon,
h2.icon { /* if the h2 itself ever gets the class */
  vertical-align: middle;
  top: -2px; /* headings have larger cap-height, may need a bit more */
}

#content-wrapper .divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 4px 0 28px;
}

.scans-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
}

@media (max-width: 480px) {
  .scans-grid {
    grid-template-columns: 1fr;
  }
}
/* Drop zone */
.drop-zone {
  position: relative;
  border: 2px dashed var(--border);
  border-radius: 10px;
  padding: 28px 16px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  background: var(--bg);
  min-height: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.drop-zone input[type=file] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.drop-zone:hover,
.drop-zone.dragover {
  border-color: var(--accent);
  background: var(--accent-light);
}

.drop-zone.has-file {
  border-style: solid;
  border-color: var(--accent);
  background: var(--accent-light);
}

.drop-zone.error {
  border-color: var(--danger);
  background: var(--danger-light);
}

.drop-icon {
  width: 40px;
  height: 40px;
  color: var(--text-muted);
  transition: color 0.2s;
}

.drop-zone:hover .drop-icon,
.drop-zone.dragover .drop-icon,
.drop-zone.has-file .drop-icon {
  color: var(--accent);
}

.drop-zone.error .drop-icon {
  color: var(--danger);
}

.drop-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.drop-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 300;
}

.drop-zone.has-file .drop-hint {
  color: var(--accent);
  font-weight: 500;
  font-size: 0.82rem;
}

.file-name {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 500;
  word-break: break-all;
  max-width: 100%;
  margin-top: 2px;
}

.remove-file {
  position: absolute;
  top: 8px;
  right: 8px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 14px;
  z-index: 2;
  transition: background 0.15s, color 0.15s;
  line-height: 1;
}

.remove-file:hover {
  background: var(--danger);
  color: white;
  border-color: var(--danger);
}

.drop-zone.has-file .remove-file {
  display: flex;
}

/* Submit */
.actions {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
}

.btn-reset {
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 11px 20px;
  font-family: "DM Sans", sans-serif;
  font-size: 0.9rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}

.btn-reset:hover {
  border-color: var(--text-muted);
  color: var(--text);
}

.btn-submit {
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 12px 28px;
  font-family: "DM Sans", sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s, transform 0.1s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-submit:hover {
  background: #2f5a4c;
}

.btn-submit:active {
  transform: scale(0.98);
}

.btn-submit svg {
  width: 16px;
  height: 16px;
}

/* Validation message */
.validation-msg {
  font-size: 0.8rem;
  color: var(--danger);
  margin-top: 6px;
  display: none;
}

.validation-msg.show {
  display: block;
}

/* Success banner */
.success-banner {
  display: none;
  background: #e6f4ef;
  border: 1px solid #a8d5c2;
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 0.9rem;
  color: var(--success);
  font-weight: 500;
  margin-bottom: 20px;
  align-items: center;
  gap: 10px;
}

.success-banner.show {
  display: flex;
}

body.patient-record #content-wrapper {
  max-width: 840px;
}

.box-prescrizione {
  border: solid 1px #aaa;
  font-size: 150%;
  max-width: 600px;
  padding: 20px 20px 100px;
  line-height: 1.4em;
}

.box-prescrizione ul li {
  list-style-type: disc;
}

.btn-stampa-prescrizione {
  margin: 20px auto 0 400px;
}

#header h1 {
  float: left;
  margin: 10px 10px 0;
  font-weight: normal;
  font-size: 30px;
  color: #fff;
  font-weight: bold;
}

#header h1 {
  float: left;
  width: 240px;
  height: 54px;
  margin-top: 8px;
  overflow: hidden;
}

#header h1 a {
  background-image: url("/admin-custom/images/Logo-FeLab-v2-Black.png");
  background-repeat: no-repeat;
  background-size: contain;
  text-indent: -9999px;
  width: 240px;
  height: 54px;
  display: inline-block;
  line-height: 54px;
  opacity: 1;
  overflow: hidden;
  font-weight: 200;
  font-size: 26px;
  border: solid 0px red;
}

#login-box-title h1 {
  background-image: url("/admin-custom/images/Logo-FeLab-v2-White.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  text-indent: -9999px;
  width: 240px;
  height: 90px;
  display: inline-block;
  line-height: 54px;
  opacity: 1;
  overflow: hidden;
  font-weight: 200;
  font-size: 26px;
}

/* MEDIA QUERIES *//*# sourceMappingURL=admin-custom-style.css.map */