/* ======================================

RESET

====================================== */



* {

  box-sizing: border-box;

}



body {

  margin: 0;

  min-height: 100vh;

  background: #f4f6f9;

  color: #1f2937;

}



/* ======================================

AUTH PAGES (LOGIN + REGISTER)

====================================== */



.auth-wrapper {

  width: 100%;

  min-height: 100vh;

  display: grid;

  grid-template-columns: 1fr 1fr;

}

.auth-left {

  position: relative;

  min-height: 100vh;



  background: url("./Media/ArcelorIndex.png") center center / cover no-repeat;



  display: flex;

  flex-direction: column;

  justify-content: center;



  color: white;

  padding: 60px;

}





.auth-left h1 {

  font-size: 2.2rem;

  margin-bottom: 12px;

}



.auth-left p {

  opacity: .9;

  line-height: 1.5;

}



.auth-right {

  min-height: 100vh;

  padding: 60px;

}





.auth-card {

  width: 100%;

  max-width: 420px;

}



.auth-card h2 {

  font-weight: 700;

  margin-bottom: 10px;

}



.auth-card .subtitle {

  color: #151515;

  margin-bottom: 25px;

}



.auth-points {

  margin-top: 30px;

}



.auth-point {

  display: flex;

  gap: 10px;

  margin-bottom: 12px;

  padding: 10px 12px;

  border-radius: 10px;

  background: rgba(255,255,255,0.1);

}



/* ======================================

FORMS

====================================== */



.form-control {

  border-radius: 10px;

  padding: 10px 12px;

}



.input-group-text {

  background: white;

}



.btn-main {

  background: #2e63b6;

  color: white;

  border: none;

  border-radius: 10px;

  font-weight: 700;

  box-shadow: 0 10px 22px rgba(46, 99, 182, 0.24);

  padding: 0.7rem 1.2rem;

}



.btn-main:hover {

  background: #244f92;

  color: white;

  transform: translateY(-1px);

}



.message-box {

  min-height: 25px;

  font-weight: bold;

}



.content-area {

  padding: 24px;

}



.bottom-link {

  margin-top: 20px;

  text-align: center;

}



.bottom-link a {

  text-decoration: none;

  color: #001639;

  font-weight: 600;

}



.register-layout {

  background: linear-gradient(135deg, #f3f6fb 0%, #eef3ff 100%);

}



.register-hero-panel {

  overflow: hidden;

}



.register-hero-scrim {

  position: absolute;

  inset: 0;

  background:

    radial-gradient(circle at top left, rgba(255, 255, 255, 0.2), transparent 34%),

    linear-gradient(160deg, rgba(113, 14, 112, 0.74), rgba(224, 20, 108, 0.78) 48%, rgba(255, 98, 61, 0.72));

}



.register-hero-content {

  position: relative;

  z-index: 1;

  max-width: 520px;

  display: grid;

  gap: 22px;

}



.register-hero-badge {

  width: fit-content;

  padding: 10px 16px;

  border-radius: 999px;

  background: rgba(255, 255, 255, 0.14);

  border: 1px solid rgba(255, 255, 255, 0.24);

  font-size: 0.95rem;

  font-weight: 700;

  letter-spacing: 0.04em;

  text-transform: uppercase;

}



.register-hero-content h1 {

  margin: 0;

  font-size: clamp(2.5rem, 4vw, 4.2rem);

  line-height: 0.94;

  font-weight: 800;

  max-width: 9ch;

}



.register-hero-content p {

  margin: 0;

  max-width: 46ch;

  font-size: 1.08rem;

  line-height: 1.7;

  color: rgba(255, 255, 255, 0.92);

}



.register-hero-points {

  display: grid;

  gap: 14px;

  max-width: 520px;

}



.register-hero-point {

  padding: 16px 18px;

  border-radius: 18px;

  background: rgba(255, 255, 255, 0.12);

  border: 1px solid rgba(255, 255, 255, 0.18);

  backdrop-filter: blur(8px);

}



.register-hero-point strong,
.register-hero-point span {

  display: block;

}



.register-hero-point strong {

  margin-bottom: 6px;

  font-size: 1rem;

}



.register-hero-point span {

  color: rgba(255, 255, 255, 0.88);

  line-height: 1.5;

}



.register-form-panel {

  background:

    radial-gradient(circle at top right, rgba(46, 99, 182, 0.08), transparent 26%),

    #f8fafc;

  display: flex;

  align-items: center;

  justify-content: center;

}



.register-form-shell {

  width: 100%;

  max-width: 560px;

}



.register-form-card {

  max-width: 100%;

  background: rgba(255, 255, 255, 0.88);

  border: 1px solid rgba(148, 163, 184, 0.18);

  border-radius: 28px;

  padding: 40px 36px;

  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.10);

  backdrop-filter: blur(10px);

}



.register-kicker {

  display: inline-flex;

  align-items: center;

  padding: 8px 14px;

  margin-bottom: 16px;

  border-radius: 999px;

  background: rgba(46, 99, 182, 0.10);

  color: #1f4f9b;

  font-size: 0.88rem;

  font-weight: 700;

  letter-spacing: 0.04em;

  text-transform: uppercase;

}



.register-form-card h2 {

  margin-bottom: 10px;

  font-size: 2.25rem;

  color: #172033;

}



.register-form-grid .input-group {

  border-radius: 14px;

  overflow: hidden;

  border: 1px solid #d7dfed;

  background: white;

}



.register-form-grid .input-group:focus-within {

  border-color: #2e63b6;

  box-shadow: 0 0 0 4px rgba(46, 99, 182, 0.12);

}



.register-form-grid .input-group .form-control {

  border: 0;

  box-shadow: none;

  min-height: 56px;

  font-size: 1rem;

}



.register-form-grid .input-group-text {

  min-width: 54px;

  justify-content: center;

  border: 0;

  background: #f8fbff;

  color: #2e63b6;

  font-weight: 800;

}



.register-mini-steps {

  display: grid;

  gap: 12px;

  margin-top: 18px;

  padding-top: 18px;

  border-top: 1px solid #e6ebf4;

}



.register-mini-steps .step-item {

  align-items: flex-start;

  background: #f8fafc;

}



.register-mini-steps .step-number {

  flex-shrink: 0;

}



@media (max-width: 991px) {

  .register-form-card {

    padding: 32px 24px;

    border-radius: 24px;

  }



  .register-hero-content {

    max-width: 100%;

  }



  .register-hero-content h1 {

    max-width: none;

  }

}



@media (max-width: 576px) {

  .register-form-card {

    padding: 24px 18px;

  }



  .register-hero-content h1 {

    font-size: 2.2rem;

  }



  .register-hero-content p {

    font-size: 1rem;

  }

}



/* ======================================

DASHBOARD LAYOUT

====================================== */



.app-shell {

  display: flex;

  min-height: 100vh;

}



/* ======================================

SIDEBAR

====================================== */



.sidebar {

  width: 250px;

  background: #142033;

  color: white;

  padding: 25px;

}



.sidebar .brand {

  display: flex;

  align-items: center;

  gap: 0.75rem;

  font-weight: 700;

  font-size: 1.3rem;

  margin-bottom: 30px;

}



.sidebar .nav {

  display: flex;

  flex-direction: column;

  align-items: stretch;

  gap: 0.4rem;

}



.sidebar .nav-link {

  display: flex;

  align-items: center;

  gap: 0.7rem;

  width: 100%;

  text-decoration: none;

  line-height: 1.3;

}



.sidebar-section-title {

  margin: 18px 0 10px;

  color: #ffffff;

  font-size: 1.05rem;

  font-weight: 700;

}



.sidebar .nav-link {

  color: #cbd5e1;

  padding: 10px 12px;

  border-radius: 8px;

  margin-bottom: 6px;

}



.sidebar .nav-link:hover {

  background: #243552;

  color: white;

}



.sidebar .nav-link.active {

  background: #243552;

  color: white;

}



/* ======================================

MAIN CONTENT

====================================== */



.main-content {

  flex: 1;

  background: #f4f6f9;

  min-width: 0;

}



/* ======================================

TOPBAR

====================================== */



.topbar {

  background: white;

  padding: 18px 25px;

  border-bottom: 1px solid #e5e7eb;

}



.employee-chip {

  display: inline-flex;

  align-items: center;

  gap: 8px;

  padding: 10px 14px;

  border-radius: 999px;

  background: #eef4ff;

  color: #1d4f91;

  font-weight: 600;

}



/* ======================================

HERO

====================================== */



.hero {

  background: linear-gradient(135deg,#2e63b6,#2452a0);

  color: white;

  padding: 40px;

}



.hero h1 {

  font-size: 2rem;

}



/* ======================================

CARDS

====================================== */



.quick-card {

  border: none;

  border-radius: 14px;

  box-shadow: 0 5px 18px rgba(0,0,0,0.08);

}



.quick-card:hover {

  transform: translateY(-3px);

  transition: 0.2s;

}



.quick-icon {

  font-size: 28px;

  width: 55px;

  height: 55px;

  display: grid;

  place-items: center;

  border-radius: 12px;

  background: #eef4ff;

  color: #2e63b6;

}



/* ======================================

TABLES

====================================== */



.table thead th {

  background: #f3f6fb;

  font-weight: 700;

  border-bottom: none;

}



.table td,

.table th {

  vertical-align: middle;

}



/* ======================================

BUTTONS

====================================== */



.btn-warning-soft {

  background: #f59e0b;

  border: none;

  color: white;

}



.btn-warning-soft:hover {

  background: #d88708;

}



/* ======================================

CLOSE ORDER SECTION

====================================== */



.close-order-box {

  display: none;

}



.section-card {

  border-radius: 14px;

  border: none;

  box-shadow: 0 5px 18px rgba(0,0,0,0.08);

}



.section-heading {

  font-weight: 700;

  color: #142033;

}



.page-shell {

  min-height: 100vh;

  padding: 32px 20px;

}



.page-shell .container-fluid {

  max-width: 1320px;

}



.page-hero {

  background: linear-gradient(135deg, #2e63b6, #2452a0);

  color: white;

  border-radius: 24px;

  padding: 28px;

  box-shadow: 0 16px 36px rgba(46, 99, 182, 0.22);

}



.page-hero .subtitle,

.page-hero p {

  color: rgba(255, 255, 255, 0.86);

  margin-bottom: 0;

}



.page-actions {

  display: flex;

  flex-wrap: wrap;

  gap: 12px;

  justify-content: flex-end;

}



.metric-card {

  border: none;

  border-radius: 18px;

  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);

  height: 100%;

}



.metric-label {

  color: #64748b;

  font-size: 0.9rem;

  margin-bottom: 6px;

}



.metric-value {

  font-size: 1.9rem;

  font-weight: 700;

  color: #142033;

  line-height: 1.1;

}



.inventory-panel,

.draft-panel {

  height: 100%;

}



.inventory-panel .card-body,

.draft-panel .card-body {

  display: flex;

  flex-direction: column;

  gap: 1rem;

}



.inventory-panel .form-label,

.draft-panel .form-label {

  font-weight: 600;

}



.inventory-panel .input-group-text,

.draft-panel .input-group-text {

  border-radius: 10px 0 0 10px;

}



.inventory-panel .form-control,

.inventory-panel .form-select,

.draft-panel .form-control,

.draft-panel .form-select {

  border-radius: 10px;

}



.inventory-panel .input-group .form-control,

.inventory-panel .input-group .form-select,

.draft-panel .input-group .form-control,

.draft-panel .input-group .form-select {

  border-top-left-radius: 0;

  border-bottom-left-radius: 0;

}



.scanner-strip {

  display: grid;

  grid-template-columns: minmax(0, 1fr) 320px;

  gap: 16px;

  align-items: center;

  padding: 16px 18px;

  border-radius: 16px;

  background: linear-gradient(135deg, #eff6ff, #dbeafe);

  border: 1px solid #bfdbfe;

}



.scanner-title {

  font-weight: 700;

  color: #1d4ed8;

  margin-bottom: 4px;

}



.scanner-subtitle {

  color: #475569;

  font-size: 0.95rem;

}



.scanner-input {

  font-size: 1.05rem;

  font-weight: 600;

  letter-spacing: 0.06em;

}



.table-card .table {

  margin-bottom: 0;

}



.table-muted-row td {

  color: #64748b;

}



.pending-tools-highlight {

  background: linear-gradient(135deg, #fff7ed, #ffedd5);

  border: 1px solid #797979;

}



.action-stack .btn {

  min-width: 132px;

}



.btn-action-return {

  background: #15803d;

  color: white;

  border: none;

  font-weight: 600;

  box-shadow: 0 10px 18px rgba(21, 128, 61, 0.22);

}



.btn-action-return:hover {

  background: #166534;

  color: white;

}



.btn-action-transfer {

  background: #1d4ed8;

  color: white;

  border: none;

  font-weight: 600;

  box-shadow: 0 10px 18px rgba(29, 78, 216, 0.22);

}



.btn-action-transfer:hover {

  background: #1e40af;

  color: white;

}



.list-group-item {

  border: 0;

  border-bottom: 1px solid #e5e7eb;

  padding-left: 0;

  padding-right: 0;

}



.list-group-item:last-child {

  border-bottom: 0;

}



select[multiple] {

  min-height: 170px;

}



.empty-page-card {

  max-width: 760px;

  margin: 0 auto;

}



.label-record-card {

  border-radius: 18px;

  background: linear-gradient(135deg, #eff6ff, #dbeafe);

  border: 1px solid #bfdbfe;

  padding: 18px;

}



.label-card-heading {

  font-size: 0.85rem;

  letter-spacing: 0.08em;

  text-transform: uppercase;

  font-weight: 700;

  color: #1d4ed8;

  margin-bottom: 10px;

}



.label-preview-shell {

  border-radius: 18px;

  border: 1px solid #e2e8f0;

  background: linear-gradient(180deg, #ffffff, #f8fafc);

  padding: 20px;

}



.label-preview-title {

  font-weight: 700;

  color: #334155;

  margin-bottom: 16px;

}



.zebra-label-preview {

  width: 200px;

  min-height: 104px;

  background: white;

  border: 2px dashed #94a3b8;

  border-radius: 12px;

  padding: 6px 8px;

  display: flex;

  flex-direction: column;

  justify-content: center;

  gap: 6px;

}



.zebra-barcode {

  height: 38px;

  border-radius: 6px;

  background:

    repeating-linear-gradient(

      90deg,

      #111827 0,

      #111827 2px,

      #ffffff 2px,

      #ffffff 4px,

      #111827 4px,

      #111827 6px,

      #ffffff 6px,

      #ffffff 8px

    );

}



.zebra-label-id {

  text-align: center;

  font-size: 0.76rem;

  font-weight: 700;

  color: #0f172a;

  letter-spacing: 0.03em;

  line-height: 1.1;

  word-break: break-word;

}



.zebra-label-id-hidden {

  visibility: hidden;

}



.zpl-textarea {

  min-height: 260px;

  font-family: "Consolas", "Courier New", monospace;

  font-size: 0.9rem;

  resize: vertical;

}



.label-inline-field {

  min-width: 110px;

}



/* ======================================

RESPONSIVE

====================================== */



@media (max-width: 900px) {



  .auth-wrapper {

    grid-template-columns: 1fr;

  }



  .sidebar {

    width: 100%;

    padding: 18px 20px;

  }



  .app-shell {

    flex-direction: column;

  }



  .sidebar .nav {

    flex-direction: row !important;

    flex-wrap: wrap;

    gap: 8px;

  }



  .sidebar .nav-link {

    margin-bottom: 0;

  }



  .sidebar-section-title {

    margin: 20px 0 10px;

  }



  .hero h1 {

    font-size: 1.6rem;

  }



  .hero {

    padding: 28px 20px;

  }



  .topbar {

    padding: 16px 20px;

  }



  .page-shell {

    padding: 20px 14px;

  }



  .page-hero {

    padding: 22px 18px;

    border-radius: 20px;

  }



  .page-actions {

    justify-content: flex-start;

  }



  .metric-value {

    font-size: 1.55rem;

  }



  .auth-left,

  .auth-right {

    min-height: auto;

  }



  .zebra-label-preview {

    width: 100%;

    max-width: 260px;

  }



  .scanner-strip {

    grid-template-columns: 1fr;

  }



}



.auth-right {

  padding: 48px 40px;

  display: flex;

  align-items: center;

  justify-content: center;

  background: #f8fafc;

}



.register-info-grid {

  width: 100%;

  max-width: 560px;

  display: grid;

  grid-template-columns: 120px 1fr 220px;

  gap: 28px;

  align-items: center;

}



.register-brand {

  display: flex;

  justify-content: center;

}



.register-main-text h1 {

  font-size: 3rem;

  line-height: 1.05;

  font-weight: 700;

  color: #1f2937;

  margin-bottom: 16px;

}



.register-main-text p {

  font-size: 1rem;

  line-height: 1.6;

  color: #374151;

  margin-bottom: 0;

}



.register-steps {

  display: grid;

  gap: 16px;

}



.step-item {

  display: flex;

  align-items: flex-start;

  gap: 10px;

  color: #1f2937;

  line-height: 1.5;

}



.step-number {

  min-width: 28px;

  height: 28px;

  border-radius: 999px;

  border: 1px solid #94a3b8;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  font-weight: 700;

  font-size: 0.95rem;

  color: #1f2937;

  background: #fff;

}



.brand-badge {

  display: inline-flex;

  align-items: center;

  gap: 10px;

  font-size: 1.2rem;

  font-weight: 700;

  color: #1f2937;

}



@media (max-width: 1100px) {

  .register-info-grid {

    grid-template-columns: 1fr;

    max-width: 500px;

    text-align: center;

  }



  .register-brand {

    justify-content: center;

  }



  .register-main-text h1 {

    font-size: 2.3rem;

  }



  .register-steps {

    text-align: left;

  }

}



@media (max-width: 576px) {

  .auth-wrapper {

    grid-template-columns: 1fr;

    min-height: 100vh;

  }



  .auth-left,

  .auth-right {

    min-height: auto;

    padding: 28px 20px;

  }



  .auth-card {

    max-width: 100%;

  }



  .brand-badge {

    font-size: 1rem;

  }



  .register-main-text h1,

  .auth-left h1 {

    font-size: 2rem;

  }



  .topbar,

  .hero {

    padding-left: 16px;

    padding-right: 16px;

  }



  .content-area .card-body,

  .section-card .card-body {

    padding: 1rem;

  }



  .content-area {

    padding: 16px;

  }



  .page-actions .btn {

    width: 100%;

  }

}



/* ======================================

LOCAL UI UTILITIES (OFFLINE REPLACEMENT)

====================================== */



:root {

  --bg-page: #f4f6f9;

  --bg-surface: #ffffff;

  --bg-soft: #eff4fb;

  --bg-soft-strong: #e2ebfb;

  --text-main: #1f2937;

  --text-muted: #6b7280;

  --line-soft: #d9e2ef;

  --brand: #2e63b6;

  --brand-dark: #244f92;

  --brand-soft: #e8f0fe;

  --success: #18794e;

  --danger: #d14343;

  --shadow-soft: 0 12px 30px rgba(15, 23, 42, 0.08);

}



body {

  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;

  line-height: 1.5;

}



a {

  color: inherit;

}



button,

input,

select,

textarea {

  font: inherit;

}



table {

  width: 100%;

  border-collapse: collapse;

}



th,

td {

  text-align: left;

}



.container-fluid {

  width: 100%;

  padding-left: 1rem;

  padding-right: 1rem;

  margin-left: auto;

  margin-right: auto;

}



.row {

  display: flex;

  flex-wrap: wrap;

  margin-left: -0.75rem;

  margin-right: -0.75rem;

}



.row > [class*="col-"] {

  width: 100%;

  padding-left: 0.75rem;

  padding-right: 0.75rem;

}



.col-12 { flex: 0 0 100%; max-width: 100%; }



@media (min-width: 768px) {

  .col-md-2 { flex: 0 0 16.6667%; max-width: 16.6667%; }

  .col-md-3 { flex: 0 0 25%; max-width: 25%; }

  .col-md-4 { flex: 0 0 33.3333%; max-width: 33.3333%; }

  .col-md-5 { flex: 0 0 41.6667%; max-width: 41.6667%; }

  .col-md-6 { flex: 0 0 50%; max-width: 50%; }

  .col-md-8 { flex: 0 0 66.6667%; max-width: 66.6667%; }

  .col-md-10 { flex: 0 0 83.3333%; max-width: 83.3333%; }

}



@media (min-width: 992px) {

  .col-lg-4 { flex: 0 0 33.3333%; max-width: 33.3333%; }

  .col-lg-5 { flex: 0 0 41.6667%; max-width: 41.6667%; }

  .col-lg-7 { flex: 0 0 58.3333%; max-width: 58.3333%; }

  .col-lg-8 { flex: 0 0 66.6667%; max-width: 66.6667%; }

  .text-lg-end { text-align: right; }

}



@media (min-width: 1200px) {

  .col-xl-4 { flex: 0 0 33.3333%; max-width: 33.3333%; }

  .col-xl-5 { flex: 0 0 41.6667%; max-width: 41.6667%; }

  .col-xl-6 { flex: 0 0 50%; max-width: 50%; }

  .col-xl-7 { flex: 0 0 58.3333%; max-width: 58.3333%; }

}



.d-flex { display: flex; }

.d-grid { display: grid; }

.d-none { display: none !important; }

.flex-column { flex-direction: column; }

.flex-wrap { flex-wrap: wrap; }

.justify-content-between { justify-content: space-between; }

.justify-content-center { justify-content: center; }

.align-items-center { align-items: center; }

.align-items-start { align-items: flex-start; }

.align-items-end { align-items: flex-end; }

.align-self-end { align-self: flex-end; }

.align-middle { vertical-align: middle; }

.h-100 { height: 100%; }

.w-100 { width: 100%; }

.g-3 { gap: 1rem; }

.g-4 { gap: 1.5rem; }

.gap-2 { gap: 0.5rem; }

.gap-3 { gap: 1rem; }

.mb-0 { margin-bottom: 0; }

.mb-1 { margin-bottom: 0.25rem; }

.mb-2 { margin-bottom: 0.5rem; }

.mb-3 { margin-bottom: 1rem; }

.mb-4 { margin-bottom: 1.5rem; }

.mt-1 { margin-top: 0.25rem; }

.mt-3 { margin-top: 1rem; }

.mt-4 { margin-top: 1.5rem; }

.me-1 { margin-right: 0.25rem; }

.me-2 { margin-right: 0.5rem; }

.p-3 { padding: 1rem; }

.p-4 { padding: 1.5rem; }

.px-0 { padding-left: 0; padding-right: 0; }

.px-3 { padding-left: 1rem; padding-right: 1rem; }

.px-4 { padding-left: 1.5rem; padding-right: 1.5rem; }

.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }

.pt-2 { padding-top: 0.5rem; }

.fw-bold { font-weight: 700; }

.fw-semibold { font-weight: 600; }

.display-6 { font-size: clamp(1.9rem, 3vw, 2.7rem); line-height: 1.1; }

.fs-4 { font-size: 1.5rem; }

.fs-6 { font-size: 0.95rem; }

.small { font-size: 0.875rem; }

.text-center { text-align: center; }

.text-decoration-none { text-decoration: none; }

.text-muted { color: var(--text-muted) !important; }



.card {

  background: var(--bg-surface);

  border: 1px solid rgba(15, 23, 42, 0.05);

  border-radius: 18px;

  box-shadow: var(--shadow-soft);

}



.card-body {

  padding: 1.5rem;

}



.badge,

.rounded-pill {

  display: inline-flex;

  align-items: center;

  border-radius: 999px;

  font-weight: 700;

}



.badge {

  padding: 0.4rem 0.8rem;

  font-size: 0.8rem;

}



.rounded-pill {

  padding: 0.45rem 0.85rem;

}



.text-bg-light {

  background: rgba(255, 255, 255, 0.88);

  color: #173253;

}



.text-bg-primary {

  background: var(--brand-soft);

  color: var(--brand-dark);

}



.bg-light {

  background: #f8fafc;

}



.border-0 {

  border: 0 !important;

}



.form-control,

.form-select {

  width: 100%;

  min-height: 44px;

  border: 1px solid var(--line-soft);

  border-radius: 10px;

  padding: 10px 12px;

  background: #fff;

  color: var(--text-main);

}



.form-control:focus,

.form-select:focus,

.form-check-input:focus {

  outline: 2px solid rgba(46, 99, 182, 0.18);

  border-color: var(--brand);

}



.form-label {

  display: inline-block;

  margin-bottom: 0.45rem;

  font-weight: 600;

}



.form-text {

  margin-top: 0.35rem;

  color: var(--text-muted);

  font-size: 0.875rem;

}



.form-check {

  display: flex;

  align-items: center;

  gap: 0.6rem;

}



.form-check-input {

  width: 1rem;

  height: 1rem;

}



.input-group {

  display: flex;

  width: 100%;

}



.input-group-text {

  background: #fff;

  border: 1px solid var(--line-soft);

  border-right: 0;

  border-radius: 10px 0 0 10px;

  min-width: 44px;

  display: inline-flex;

  justify-content: center;

  align-items: center;

  color: var(--brand);

}



.input-group .form-control {

  border-radius: 0 10px 10px 0;

}



.btn {

  appearance: none;

  border: 1px solid transparent;

  border-radius: 10px;

  font-weight: 700;

  padding: 0.7rem 1.2rem;

  background: var(--bg-surface);

  color: var(--text-main);

  text-decoration: none;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 0.45rem;

  cursor: pointer;

  transition: 0.18s ease;

}



.btn:hover {

  transform: translateY(-1px);

  box-shadow: var(--shadow-soft);

}



.btn-main,

.btn-primary {

  background: var(--brand);

  color: #fff;

  border-color: var(--brand);

  box-shadow: 0 10px 22px rgba(46, 99, 182, 0.24);

}



.btn-main:hover,

.btn-primary:hover {

  background: var(--brand-dark);

  border-color: var(--brand-dark);

  color: #fff;

}



.btn-light {

  background: rgba(255, 255, 255, 0.92);

  color: #163153;

  border-color: rgba(255, 255, 255, 0.7);

}



.btn-outline-light {

  background: transparent;

  color: #fff;

  border-color: rgba(255, 255, 255, 0.7);

}



.btn-outline-secondary {

  background: #fff;

  color: var(--text-main);

  border-color: #b8c4d6;

}



.btn-outline-primary {

  background: #fff;

  color: var(--brand);

  border-color: rgba(46, 99, 182, 0.5);

}



.btn-outline-success {

  background: #fff;

  color: var(--success);

  border-color: rgba(24, 121, 78, 0.45);

}



.btn-outline-danger {

  background: #fff;

  color: var(--danger);

  border-color: rgba(209, 67, 67, 0.45);

}



.btn-sm {

  padding: 0.45rem 0.8rem;

  font-size: 0.9rem;

}



.btn-lg {

  padding: 0.9rem 1.35rem;

  font-size: 1rem;

}



.table-responsive {

  width: 100%;

  overflow-x: auto;

}



.table td,

.table th {

  padding: 0.95rem 0.7rem;

  border-bottom: 1px solid var(--line-soft);

}



.list-group {

  display: grid;

  gap: 0.75rem;

}



.list-group-flush {

  gap: 0.5rem;

}



.page-actions .btn {

  min-width: 170px;

}



.bi {

  display: inline-flex;

  align-items: center;

  justify-content: center;

  width: 1.15em;

  min-width: 1.15em;

  font-style: normal;

  line-height: 1;

}



.bi::before { content: "•"; }

.bi-person-badge::before { content: "ID"; font-size: 0.7em; font-weight: 700; }

.bi-lock::before { content: "[]"; font-size: 0.8em; }

.bi-box-arrow-in-right::before,

.bi-box-arrow-right::before,

.bi-box-arrow-up-right::before { content: "->"; font-size: 0.8em; font-weight: 700; }

.bi-arrow-left::before { content: "<-"; font-size: 0.8em; font-weight: 700; }

.bi-plus-circle::before,

.bi-clipboard-plus::before,

.bi-person-plus::before { content: "+"; font-weight: 700; }

.bi-check2-circle::before,

.bi-shield-check::before { content: "OK"; font-size: 0.68em; font-weight: 700; }

.bi-shield-lock::before { content: "AD"; font-size: 0.65em; font-weight: 700; }

.bi-grid-1x2-fill::before { content: "[]"; font-size: 0.8em; }

.bi-speedometer2::before { content: "="; font-size: 0.8em; font-weight: 700; }

.bi-journal-text::before { content: "H"; font-size: 0.78em; font-weight: 700; }

.bi-tools::before,

.bi-wrench-adjustable-circle::before { content: "T"; font-size: 0.8em; font-weight: 700; }

.bi-people::before { content: "U"; font-size: 0.8em; font-weight: 700; }

.bi-person-gear::before { content: "P"; font-size: 0.8em; font-weight: 700; }

.bi-box-seam::before { content: "BX"; font-size: 0.62em; font-weight: 700; }

.bi-upc-scan::before { content: "|||"; font-size: 0.65em; letter-spacing: 0.03em; }

.bi-hash::before,

.bi-123::before { content: "#"; font-weight: 700; }

.bi-person::before { content: "U"; font-size: 0.8em; font-weight: 700; }

.bi-trash3::before { content: "X"; font-size: 0.8em; font-weight: 700; }



.admin-card-grid {

  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 1.5rem;

}



.admin-card-grid > [class*="col-"] {

  width: auto;

  max-width: none;

  padding: 0;

}



.admin-card-grid .quick-card {

  height: 100%;

}



@media (max-width: 900px) {

  .admin-card-grid {

    grid-template-columns: 1fr;

  }

}







.catalog-tools-table-panel {
  max-height: 420px;
  overflow-y: auto;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
}

.catalog-tools-table-panel table {
  margin-bottom: 0;
}


.stock-movement-search-panel {
  max-height: 280px;
}

.stock-movement-search-panel td {
  vertical-align: middle;
}


.stock-movement-search-row {
  cursor: pointer;
  transition: background-color 0.18s ease, box-shadow 0.18s ease;
}

.stock-movement-search-row:hover,
.stock-movement-search-row:focus-visible {
  background: rgba(46, 99, 182, 0.08);
  outline: none;
}

.stock-movement-search-row.is-selected {
  background: rgba(46, 99, 182, 0.14);
  box-shadow: inset 3px 0 0 #2e63b6;
}
