* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  font-family: Arial, Helvetica, sans-serif;
  background-color: #f0f4fa;
}

.login-box {
  width: 450px;
  background: #fff;
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 20px 50px rgb(194 194 194 / 28%);
}

.login-box h2 {
  text-align: center;
  margin-bottom: 30px;
  color: #333;
}

.input-group {
  margin-bottom: 20px;
}

.input-group label {
  display: block;
  margin-bottom: 8px;
  color: #555;
  font-size: 14px;
}

.input-group input {
  width: 100%;
  padding: 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  outline: none;
  transition: .3s;
}

.input-group input:focus {
  border-color: #007bff;
}

button {
  width: 100%;
  padding: 14px;
  background: #007bff;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: .3s;
}

button:hover {
  background: #0056b3;
}

.error {
  background: #ffe5e5;
  color: red;
  padding: 10px;
  border-radius: 5px;
  margin-bottom: 20px;
  text-align: center;
}

.demo {
  margin-top: 20px;
  text-align: center;
  color: #666;
  font-size: 14px;
}

/* print label */
.print-btn {
  padding: 10px 25px;
  background: #0d6efd;
  color: #fff;
  border: none;
  cursor: pointer;
  margin-bottom: 20px;
}

.page {
  width: 210mm;
  min-height: 297mm;
  margin: auto;
  background: #fff;
  padding: 10mm;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10mm;
}

.label {
  border: 1px solid #000;
  height: 135mm;
  padding: 8px;
  box-sizing: border-box;
  position: relative;
}

.top {
  display: flex;
  justify-content: space-between;
}

.qr img {
  width: 70px;
  height: 70px;
}

.sr {
  text-align: right;
  font-size: 22px;
  font-weight: bold;
}

.barcode {
  text-align: center;
  margin-top: 18px;
}

.barcode img {
  width: 180px;
  height: 45px;
}

.code {
  font-size: 18px;
  font-weight: bold;
  margin-top: 5px;
}

.date {
  position: absolute;
  bottom: 10px;
  left: 10px;
  font-size: 16px;
}

@media print {
  .print-btn {
    display: none;
  }

  body {
    background: #fff;
  }

  .page {
    padding: 0;
    gap: 0;
  }
}


.print-btn {
  background: #0d6efd;
  color: #fff;
  border: none;
  padding: 12px 25px;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
  margin-bottom: 20px;
}

.label {
  width: 180mm;
  min-height: 130mm;
  background: #fff;
  border: 1px solid #000;
  margin: 0 auto 20px auto;
  padding: 12px;
  box-sizing: border-box;
  page-break-after: always;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.qr img {
  width: 90px;
  height: 90px;
}

.sr {
  font-size: 24px;
  font-weight: bold;
}

.barcode {
  text-align: center;
  margin-top: 18px;
}

.barcode img {
  width: 230px;
  height: 55px;
}

.code {
  margin-top: 5px;
  font-size: 18px;
  font-weight: bold;
}

.date {
  margin-top: 25px;
  font-size: 16px;
}

@media print {

  .print-btn {
    display: none;
  }

  body {
    background: #fff;
    padding: 0;
  }

  .label {
    border: none;
    margin: 0;
    width: 100%;
    page-break-after: always;
  }

}

/*----------- new ----------------*/

.center-style {
  height: 98vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container {
  margin: 0 auto !important;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.card {
  background: #fff;
  padding: 25px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
}

.card h2 {
  margin: 10px 0;
  color: #163563;
}

.actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.action-btn {
  background: #163563;
  color: #fff;
  text-decoration: none;
  text-align: center;
  padding: 18px;
  border-radius: 6px;
  font-size: 18px;
}

.action-btn:hover {
  background: #245293;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 30px;
  background: #fff;
}

table th {
  background: #163563;
  color: #fff;
  padding: 12px;
}

table td {
  padding: 12px;
  border: 1px solid #ddd;
}

.logout {
  float: right;
  color: #fff;
  text-decoration: none;
}

@media(max-width:900px) {

  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .actions {
    grid-template-columns: 1fr;
  }

}

@media(max-width:600px) {

  .cards {
    grid-template-columns: 1fr;
  }

}

/*----------- new ----------------*/
/* ------- new-css-dashboard----------*/
/* ===========================
   Navbar
=========================== */

.top-navbar {
  background: #163563;
  width: 100%;
  padding: 18px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
}

.top-navbar .container {

  display: flex;

  justify-content: space-between;

  align-items: center;

}

.logo-title {

  color: #fff;

}

.logo-title h3 {

  font-size: 24px;

  font-weight: 700;

  margin-bottom: 3px;

}

.logo-title p {

  margin: 0;

  color: rgba(255, 255, 255, .7);

  font-size: 14px;

}

.logout-btn {

  background: #fff;

  color: #163563;

  text-decoration: none;

  padding: 10px 24px;

  border-radius: 10px;

  font-weight: 600;

  transition: .3s;

}

.logout-btn:hover {

  background: #295ca8;

  color: #fff;

}

/* ===========================
Dashboard
=========================== */

.dashboard {

  margin-top: 35px;

}

.dashboard h2 {

  font-size: 34px;

  font-weight: 700;

  color: #163563;

}

.dashboard p {

  color: #6c757d;

  margin-bottom: 35px;

}

/* ===========================
Cards
=========================== */

.stats-card {

  background: #fff;

  border-radius: 18px;

  padding: 28px;

  transition: .35s;

  box-shadow: 0 12px 35px rgba(0, 0, 0, .08);

  position: relative;

  overflow: hidden;

  margin-bottom: 25px;

}

.stats-card:before {

  content: '';

  position: absolute;

  top: 0;

  left: 0;

  width: 100%;

  height: 5px;

  background: #163563;

}

.stats-card:hover {

  transform: translateY(-6px);

}

.stats-icon {

  width: 60px;

  height: 60px;

  border-radius: 15px;

  background: #eaf2ff;

  display: flex;

  align-items: center;

  justify-content: center;

  margin-bottom: 18px;

}

.stats-icon i {

  font-size: 28px;

  color: #163563;

}

.stats-card h6 {

  color: #6b7280;

  font-size: 15px;

  margin-bottom: 10px;

}

.stats-card h2 {

  color: #163563;

  font-size: 38px;

  font-weight: 700;

  margin: 0;

}

/* ===========================
Section Title
=========================== */

.section-title {

  font-size: 28px;

  font-weight: 700;

  margin: 0;

  color: #163563;

}

/*==========================
Quick Actions
==========================*/

.action-card {

  display: block;

  background: #fff;

  border-radius: 18px;

  padding: 30px;

  text-decoration: none;

  color: #163563;

  transition: .35s;

  box-shadow: 0 10px 30px rgba(0, 0, 0, .08);

  border: 1px solid #eef2f7;

  height: 100%;

}

.action-card:hover {

  background: #163563;

  color: #fff;

  transform: translateY(-8px);

}

.action-card:hover .action-icon {

  background: rgba(255, 255, 255, .15);

  color: #fff;

}

.action-icon {

  width: 65px;

  height: 65px;

  background: #eaf2ff;

  border-radius: 16px;

  display: flex;

  align-items: center;

  justify-content: center;

  margin-bottom: 20px;

  transition: .35s;

}

.action-icon i {

  font-size: 28px;

}

.action-card h5 {

  font-weight: 700;

  margin-bottom: 10px;

}

.action-card p {

  margin: 0;

  font-size: 14px;

  color: #6c757d;

}

.action-card:hover p {

  color: #e7ecf5;

}

/* ------- new-css-dashboard----------*/