/*!
 * Minimal Bootstrap-like CSS (offline bundle)
 * Provides only the classes used by this page.
 */
:root{
  --bs-body-font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --bs-body-font-size: 1rem;
  --bs-body-color: #212529;
  --bs-body-bg: #fff;
  --bs-border-color: #dee2e6;
  --bs-danger: #dc3545;
  --bs-danger-rgb: 220,53,69;
  --bs-secondary-color: #6c757d;
  --bs-muted: #6c757d;
  --bs-bg-light: #f8f9fa;
  --bs-table-striped-bg: rgba(0,0,0,.03);
  --bs-modal-backdrop-bg: rgba(0,0,0,.5);
}

/* Basic reset */
*,*::before,*::after{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: var(--bs-body-font-family);
  font-size: var(--bs-body-font-size);
  color: var(--bs-body-color);
  background: var(--bs-body-bg);
}

/* Typography utilities */
.small{ font-size:.875em; }
.fw-bold{ font-weight:700 !important; }
.text-muted{ color: var(--bs-muted) !important; }

/* Spacing utilities */
.mb-0{ margin-bottom:0 !important; }
.mt-2{ margin-top:.5rem !important; }
.mt-3{ margin-top:1rem !important; }
.px-4{ padding-left:1.5rem !important; padding-right:1.5rem !important; }

/* Flex utilities */
.d-flex{ display:flex !important; }
.align-items-center{ align-items:center !important; }
.justify-content-between{ justify-content:space-between !important; }

/* Forms */
.form-control{
  display:block;
  width:100%;
  padding:.375rem .75rem;
  font-size:1rem;
  line-height:1.5;
  color:#212529;
  background-color:#fff;
  background-clip:padding-box;
  border:1px solid var(--bs-border-color);
  border-radius:.375rem;
  transition:border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
.form-control:focus{
  outline:0;
  border-color:#86b7fe;
  box-shadow: 0 0 0 .25rem rgba(13,110,253,.25);
}

/* Buttons */
.btn{
  display:inline-block;
  font-weight:600;
  line-height:1.5;
  color:#212529;
  text-align:center;
  text-decoration:none;
  vertical-align:middle;
  cursor:pointer;
  user-select:none;
  background-color:transparent;
  border:1px solid transparent;
  padding:.375rem .75rem;
  font-size:1rem;
  border-radius:.375rem;
  transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
.btn:disabled{ opacity:.65; cursor:not-allowed; }
.btn-danger{
  color:#fff;
  background-color: var(--bs-danger);
  border-color: var(--bs-danger);
}
.btn-danger:hover{ filter: brightness(.92); }

/* Alerts */
.alert{
  position:relative;
  padding: .75rem 1rem;
  margin-bottom: 1rem;
  border:1px solid transparent;
  border-radius:.375rem;
}
.alert-danger{
  color:#842029;
  background-color:#f8d7da;
  border-color:#f5c2c7;
}

/* Tables */
.table{
  width:100%;
  margin-bottom:1rem;
  color:#212529;
  border-collapse:collapse;
}
.table > :not(caption) > * > *{
  padding:.5rem .5rem;
  border-bottom:1px solid var(--bs-border-color);
}
.table-striped > tbody > tr:nth-of-type(odd) > *{
  background-color: var(--bs-table-striped-bg);
}

/* Progress */
.progress{
  display:flex;
  height:1rem;
  overflow:hidden;
  font-size:.75rem;
  background-color:#e9ecef;
  border-radius:.375rem;
}
.progress-bar{
  display:flex;
  flex-direction:column;
  justify-content:center;
  overflow:hidden;
  color:#fff;
  text-align:center;
  white-space:nowrap;
  background-color:#0d6efd;
  transition: width .6s ease;
}
.progress-bar-striped{
  background-image: linear-gradient(45deg, rgba(255,255,255,.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,.15) 50%, rgba(255,255,255,.15) 75%, transparent 75%, transparent);
  background-size: 1rem 1rem;
}
@keyframes progress-bar-stripes{
  0%{ background-position-x:1rem; }
}
.progress-bar-animated{
  animation: progress-bar-stripes 1s linear infinite;
}

/* Modal */
.modal{
  position:fixed;
  top:0; left:0;
  z-index:1055;
  display:none;
  width:100%;
  height:100%;
  overflow-x:hidden;
  overflow-y:auto;
  outline:0;
}
.modal.show{ display:block; }
.modal.fade .modal-dialog{
  transform: translate(0,-25px);
  transition: transform .2s ease-out;
}
.modal.show .modal-dialog{
  transform: translate(0,0);
}
.modal-backdrop{
  position:fixed;
  top:0; left:0;
  width:100vw;
  height:100vh;
  background: var(--bs-modal-backdrop-bg);
  z-index:1050;
}
.modal-dialog{
  position:relative;
  width:auto;
  margin: 1.75rem auto;
  pointer-events:none;
  max-width: 500px;
}
.modal-dialog-centered{
  min-height: calc(100% - 3.5rem);
  display:flex;
  align-items:center;
}
.modal-content{
  position:relative;
  display:flex;
  flex-direction:column;
  width:100%;
  pointer-events:auto;
  background-color:#fff;
  background-clip:padding-box;
  border:1px solid rgba(0,0,0,.175);
  border-radius:.5rem;
  outline:0;
  box-shadow: 0 .5rem 1rem rgba(0,0,0,.15);
}
.modal-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:1rem 1rem;
  border-bottom:1px solid var(--bs-border-color);
  border-top-left-radius: calc(.5rem - 1px);
  border-top-right-radius: calc(.5rem - 1px);
}
.modal-title{ margin:0; line-height:1.5; }
.modal-body{ position:relative; flex:1 1 auto; padding:1rem; }

/* Accessibility helper */
[aria-hidden="true"]{ }
