/* CORE-only styles. Original ALNectus logo is embedded unmodified. */
.real-logo{width:187px;height:auto;display:block}.brand-link{min-height:40px}.brand{padding-top:24px;padding-bottom:25px}
.logout-form{margin:0}.text-button{border:0;background:transparent;color:#b26a36;font-size:12px;padding:7px;white-space:nowrap;cursor:pointer}.text-button:hover{text-decoration:underline}
.alerts{display:grid;gap:9px;margin-bottom:20px}.alert{padding:12px 16px;border-radius:10px;border:1px solid #e8ebf1;background:#f9fafc;font-size:13px}.alert-success{background:#edfaf4;border-color:#cde9db;color:#256a4c}.alert-error{background:#fff1f0;border-color:#f3c9c5;color:#a6362e}
.login-body{min-height:100vh;display:grid;place-items:center;margin:0;padding:20px;background:#f5f7fa;font-family:Arial,'Segoe UI',sans-serif;color:#1c293a}.login-card{background:white;border:1px solid #e6e9ef;border-radius:18px;box-shadow:0 15px 60px rgba(23,38,59,.07);padding:45px;width:min(100%,430px)}.login-logo{width:235px;max-width:100%;height:auto}.login-caption{font-size:11px;letter-spacing:2px;color:#fc7f03;font-weight:800;margin:19px 0}.login-card h1{font-size:27px;margin:0 0 7px}.login-card p{color:#7a8696;font-size:13px;line-height:1.6;margin-bottom:25px}.login-card label{display:flex;flex-direction:column;gap:8px;font-size:12px;font-weight:700;margin-bottom:18px}.login-card input{border:1px solid #dfe4eb;padding:12px;border-radius:9px;font:inherit;font-size:14px}.login-card input:focus{outline:2px solid #fc7f03}.login-card button{width:100%;margin-top:7px;background:#fc7f03;color:white;border:0;border-radius:9px;padding:12px;cursor:pointer;font-weight:700}.login-card small{display:block;text-align:center;color:#9aa4b2;margin-top:27px;font-size:11px}
@media(max-width:780px){.login-card{padding:28px}}

/* ALNECTUS ERP: consistent file chooser across all sections, Firefox/Chromium/Safari.
   Keep the native secure file input and keyboard/screen-reader support. */
body input[type="file"] {
  display:inline-block;
  box-sizing:border-box;
  width:100%;
  max-width:460px;
  min-height:46px;
  padding:5px 9px 5px 5px;
  margin:0;
  border:1px solid #d9e0ea;
  border-radius:11px;
  background:#fff;
  color:#57677d;
  font:500 13px/1.6 system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
  cursor:pointer;
  vertical-align:middle;
  box-shadow:0 1px 3px rgba(20,38,55,.04);
  transition:border-color .16s,box-shadow .16s;
}
body input[type="file"]::file-selector-button,
body input[type="file"]::-webkit-file-upload-button {
  -webkit-appearance:none;
  appearance:none;
  box-sizing:border-box;
  margin:0 13px 0 0;
  padding:8px 15px;
  min-height:34px;
  border:1px solid #e6bb95;
  border-radius:8px;
  background:#fff2e6;
  color:#a95313;
  font:700 13px/1.2 system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
  white-space:nowrap;
  vertical-align:middle;
  cursor:pointer;
  transition:background-color .16s,border-color .16s;
}
body input[type="file"]:hover {border-color:#e7a66d;background:#fffdfb}
body input[type="file"]:hover::file-selector-button {background:#ffe8d1;border-color:#df985f}
body input[type="file"]:focus-visible {outline:2px solid #e98529;outline-offset:2px}
body input[type="file"]:disabled {opacity:.55;cursor:not-allowed;background:#f2f4f7}
body input[type="file"]:disabled::file-selector-button {cursor:not-allowed}
@media (max-width:540px) {
  body input[type="file"] {max-width:100%;font-size:12px}
  body input[type="file"]::file-selector-button {padding:8px 10px;margin-right:8px}
}

/* v0.6.0 — cropped YAWAL drawings: fit to content, not the exported white canvas. */
.aln-cropped-drawing{display:block;max-width:100%;height:auto;margin:auto;background:#fff}
.yw-drawing-body>.aln-cropped-drawing{max-width:100%;max-height:75vh;object-fit:contain}
.aln-crop-dialog{width:min(98vw,1300px);max-width:1300px;max-height:95vh;padding:0;border:1px solid #e5e7eb;border-radius:14px;background:#fff;color:#273142;box-shadow:0 24px 70px #17203340}
.aln-crop-dialog::backdrop{background:#101827a6}
.aln-crop-head,.aln-crop-foot{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:12px 18px;background:#fafbfc}
.aln-crop-head{border-bottom:1px solid #e9edf2}
.aln-crop-head strong{font:700 15px system-ui,Arial,sans-serif}
.aln-crop-head button{border:0;background:transparent;font-size:26px;line-height:1;color:#536071;cursor:pointer;padding:2px 9px}
.aln-crop-body{padding:12px;overflow:auto;max-height:76vh}
.aln-crop-body p{margin:7px 0;color:#657386;font:13px system-ui,Arial,sans-serif}
.aln-crop-holder img{max-width:100%;height:auto;margin:auto;display:block}
.aln-crop-holder img[hidden]{display:none}
.aln-crop-foot{border-top:1px solid #e9edf2;flex-wrap:wrap;font:12px system-ui,Arial,sans-serif;color:#748091}
.aln-crop-foot a{color:#c46720;font-weight:700;text-decoration:none}
@media(max-width:680px){.aln-crop-foot span{max-width:100%}.aln-crop-dialog{width:100vw;border-radius:6px}}
