@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap");

@font-face {
  font-family: Ubuntu;
  src: url(../fonts/Ubuntu-Regular.ttf);
}
@font-face {
  font-family: Ubuntu;
  src: url(../fonts/Ubuntu-Bold.ttf);
  font-weight: 700;
}
@font-face {
  font-family: Ubuntu;
  src: url(../fonts/Ubuntu-Light.ttf);
  font-weight: 300;
}

body {
  background: #222d32;
  /* font-family: "Ubuntu","sans-serif"; */
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: -0.011em;
}

thead th {
  background-color: #333;
  color: white;
} 

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
/* .h6 {
  font-family: "Ubuntu", "sans-serif";
}
.main-header .logo {
  font-family: "Ubuntu", "sans-serif";
} */

.mt-5{
  margin-top: 1rem;
}

.highlight a {
  color:#3a3a3a;
}
div.dataTables_filter input {
  border-radius: 5px;
}
.main-header > .navbar > .sidebar-toggle {
  z-index: 9999;
  position: relative;
}
input.app {
  margin-bottom: 1em;
  border: 0;
  border-bottom: 1px dashed #999;
  width: 90%;
}
.highlight, .highlight:hover td{
  background-color: #da5050 !important;
  color: #333;
}

.has-error {
  border-color: #900 !important;
}
.text-error {
  color: #900;
  float: right;
  margin-left: 12px;
  height: 10px;
  font-size: 0.8em;
}

.box-header {
  padding-bottom: 1em;
  border-bottom: 1px solid #f2f2f2;
  text-align: center;
  text-transform: uppercase;
  font-weight: bold;
}
.gen-instructions {
  text-align: left;
  text-transform: none;
  font-weight: normal;
}

.datepicker table tr td.disabled,
.datepicker table tr td.disabled:hover {
  color: #ccc;
}

.bordered-info > div > div {
  border: 1px solid #d2d2d2;
  border-bottom: 0;
  padding: 4px;
  color: #3a3a3a;
}

.bordered-info > div > div:first-child {
  border-right: 0;
}

.bordered-info > div:last-child {
  border-bottom: 1px solid #d2d2d2;
}

.admission-info {
  color: red;
}
.main-title {
  text-align: center;
}

/* Modern UI overrides: fonts and form controls */
body, .content, .main-title {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #2b2f33;
}

/* Card / box subtle elevation */
.box, .panel, .nav-tabs-custom {
  border-radius: 8px;
  box-shadow: 0 1px 6px rgba(22,28,36,0.06);
  border: 1px solid #e8eef2;
}

/* Form controls: rounded, subtle borders */
.form-control {
  border: 1px solid #e3edf2;
  border-radius: 6px;
  padding: 8px 12px;
  height: 40px;
  box-shadow: inset 0 1px 2px rgba(16,24,32,0.03);
  background: #ffffff;
  font-size: 14px;
  color: #2b2f33;
}

.form-control:focus {
  border-color: #4f9cff;
  box-shadow: 0 0 0 4px rgba(79,156,255,0.08);
  outline: none;
}

select.form-control {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #8fb7ff 50%), linear-gradient(135deg, #8fb7ff 50%, transparent 50%), linear-gradient(to right, #f7fafc, #f7fafc);
  background-position: calc(100% - 18px) calc(1em + 2px), calc(100% - 13px) calc(1em + 2px), 100% 0;
  background-size: 6px 6px, 6px 6px, 2.5em 2.5em;
  background-repeat: no-repeat;
}

/* Smaller inputs (datetime) */
input[type="datetime-local"].form-control,
input[type="date"].form-control {
  height: auto;
  padding: 8px 10px;
}

.form-group > label {
  font-weight: 600;
  color: #222b2f;
  margin-bottom: 6px;
}

/* Buttons: softer, rounded */
.btn {
  border-radius: 6px;
}
.btn-primary {
  background-color: #1e88ff;
  border-color: #196fe6;
  box-shadow: none;
}

/* Tables: light header and clearer rows */
table.table thead th {
  background: #f8fafc;
  color: #3a3f44;
  font-weight: 700;
  border-bottom: 1px solid #e6edf2;
}

/* Placeholder styling */
::placeholder {
  color: #98a3ad;
  opacity: 1;
}

/* Make image avatar area tight */
.size-96 img {
  border-radius: 6px;
  border: 1px solid #e6edf2;
}

.toolbar-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}
.toolbar-tabs li{display:inline-flex}
.toolbar-link{display:flex;align-items:center;gap:8px;padding:8px 12px;background:#fff;border:1px solid #e1e6ea;border-radius:6px;color:#333;text-decoration:none;font-size:13px}
.toolbar-link i{font-size:16px;color:#2c3e50}
.toolbar-link span{white-space:nowrap}
.toolbar-link:hover{background:#f5f7f9;border-color:#d0d7de}
.toolbar-right{margin-left:auto}
.toolbar-select{min-width:260px}

/* Personal info compact rows */
.info-row{margin-bottom:18px}
.info-row small{display:block;color:#6c7378;margin-bottom:6px}
.info-value{font-weight:700;color:#222b2f}
.info-value .muted{font-weight:400;color:#6c7378;font-size:13px;margin-top:6px}