/* CSS for the body */
body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

/* CSS for the top navigation bar */
.top-navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 53px;
  background-color: #390000;
  color: #dfdada;
  padding: 0px 16px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.bottom-navbar {
  overflow: hidden;
  background-color: #390000;
  color: #dfdada;
  position: fixed;
  left: 398px;
  bottom: 0;
  height: 52px;
  width: 81.5%;
  padding: 0px 15px 0px 15px;
}

.bottom-navbar a {
  float: right;
  display: block;
  color: #dfdada;
  text-align: center;
  padding: 10px 16px;
  text-decoration: none;
  font-size: 14px;
}

.bottom-addproduct {
  overflow: hidden;
  background-color: #a67b7b;
  color: #dfdada;
  position: fixed;
  left: 80px;
  bottom: 0;
  height: 90px;
  width: 32px;
  padding: 0px 15px 0px 15px;
  font-weight: bold;
  font-family: "Poppins", sans-serif;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.bottom-addproduct h5 {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-left: 140px;
  padding-top: 10px;
  text-decoration: none;
  color: #ffffff;
  transition: 0.3s;
  font-weight: bold;
  font-family: "Poppins", sans-serif;
}

.bottom-addproduct a {
  text-decoration: none;
}

.bottom-addproduct h5 {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-left: 140px;
  padding-top: 10px;
  text-decoration: none;
  color: #ffffff;
  transition: 0.3s;
  font-weight: bold;
  font-family: "Poppins", sans-serif;
}

.bottom-navbar a {
  float: right;
  display: block;
  color: #dfdada;
  text-align: center;
  padding: 10px 16px;
  text-decoration: none;
  font-size: 14px;
}

/* CSS for the navigation bar */
.side-navbar {
  list-style: none;
  position: fixed;
  top: 53px;
  left: 0;
  width: 80px;
  height: 100vh;
  color: #dfdada;
  background-color: #390000;
  line-height: 1.5;
  font-size: 3rem;
  align-items: center;
  display: flex;
  flex-direction: column;
  padding-bottom: 53px;
}

/* CSS for the navigation links */
.side-navbar a {
  display: block;
  margin-bottom: 16px;
  text-decoration: none;
  font-weight: bold;
}

.content-index {
  margin-top: 55px;
  margin-left: 400px;
  padding: 16px;
}

.content-pos {
  margin-top: 28px;
  padding: 20px;
}

.sidebar {
  height: 100vh;
  width: 350px;
  margin-left: 150px;
  padding: 16px;
  position: fixed;
  z-index: 0;
  top: 53px;
  left: 0;
  background-color: #a67b7b;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px;
}
.sidebar h3 {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-left: 40px;
  padding-top: 10px;
  text-decoration: none;
  color: #ffffff;
  transition: 0.3s;
  font-weight: bold;
  font-family: "Poppins", sans-serif;
}

.sidebar a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 15px;
  color: #ffffff;
  display: block;
  transition: 0.3s;
  justify-content: center;
  align-items: center;
  font-family: "Poppins", sans-serif;
}

.sidebar a:hover {
  color: #f1f1f1;
}

.sidebar .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}

.openbtn {
  font-size: 20px;
  cursor: pointer;
  background-color: #111;
  color: white;
  padding: 10px 15px;
  border: none;
}

.openbtn:hover {
  background-color: #444;
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

#main {
  transition: margin-left 0.5s;
  padding: 16px;
  margin-left: 150px;
  width: 350px;
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

.container {
  margin: 20px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  border: 1px solid #000;
  padding: 8px;
  text-align: left;
}

#productFormModal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary.rounded-pill {
  background-color: #390000;
}

td a {
  color: rgb(247, 6, 6);
}

td a:hover {
  color: rgb(255, 251, 251);
}

@font-face {
  font-family: myFirstFont;
  src: url(MTCORSVA.woff);
}
#header {
  font-family: myFirstFont;
  font-weight: bold;
  font-size: 25px;
}
#loginform {
  margin: 150px auto;
  width: 280px;
}
#loginform span {
  width: 100px;
  display: inline-block;
}
#ac span {
  width: 95px;
  display: inline-block;
  font-size: 14px;
  margin-bottom: 12px;
  padding-right: 10px;
}
select {
  border: 1px solid #999;
  background: #eeeeee;
  padding: 5px 10px;
  box-shadow: 0 1px 2px #ddd;
  -moz-box-shadow: 0 1px 2px #ddd;
  -webkit-box-shadow: 0 1px 2px #ddd;
}

.qwe {
  width: 246px;
  margin: auto;
}

input {
  border: 1px solid #999;
  background: #eeeeee;
  padding: 10px;
  box-shadow: 0 1px 2px #ddd;
  -moz-box-shadow: 0 1px 2px #ddd;
  -webkit-box-shadow: 0 1px 2px #ddd;
}
#btn {
  width: 100px;
  background: green;
  border: 1px solid #999;
  border-radius: 10px;
  cursor: pointer;
  font-size: 13px;
  font-weight: bold;
}
#maintable {
  margin: 50px auto;
  width: 900px;
}

button a,
a:hover {
  color: #fff;
  text-decoration: none;
}

#filter {
  width: 70%;
  float: left;
}
#addd {
  border: 1px solid #999;
  background: #eeeeee;
  padding: 5px 10px;
  box-shadow: 0 1px 2px #ddd;
  -moz-box-shadow: 0 1px 2px #ddd;
  -webkit-box-shadow: 0 1px 2px #ddd;
  width: 25%;
  display: inline-block;
  float: right;
  text-align: center;
  text-decoration: none;
  color: #000000;
}
#cccc {
  border: 1px solid #999;
  background: #eeeeee;
  padding: 5px 10px;
  box-shadow: 0 1px 2px #ddd;
  -moz-box-shadow: 0 1px 2px #ddd;
  -webkit-box-shadow: 0 1px 2px #ddd;
  width: 25%;
  display: inline-block;
  float: left;
  text-align: center;
  text-decoration: none;
  color: #000000;
}
.clearfix {
  clear: both;
}
#resultTable {
  border-collapse: separate;
  border-spacing: 0;
  max-width: 100%;
}
#resultTable {
  color: #666666;
  width: 100%;
  margin-top: 13px;
}
#resultTable thead tr th {
  background: none repeat scroll 0 0 #0489bd;
  color: #fff;
  padding: 10px 14px;
  text-align: left;
  border-top: 0 none;
  font-size: 13px;
}

#resultTable tbody tr td {
  font: bold 13px "Arial";

  text-align: left;
  padding: 10px 14px;
  border-top: 1px solid #999999;
}

#resultTable td {
  padding: 7px;
  border: #4e95f4 1px solid;
}
#resultTable tr {
  background: #fff;
}
#resultTable tr:hover {
  background-color: #ffff99;
}

#mainmain {
  margin: 50px auto;
  text-align: center;
  width: 980px;
}
#mainmain a {
  text-decoration: none;
  padding-top: 15px;
  padding-bottom: 5px;
  padding-left: 15px;
  padding-right: 15px;
  border-radius: 10px;
  margin: 10px;
  background: #cfe6ef;
  color: #0489bd;
  font-size: 20px;
  display: inline-block;
  width: 265px;
  height: 85px;
  text-align: center;
  margin-bottom: 5px;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: bold;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 4px;
}

.btn-success {
  color: #fff;
  background-color: #28a745;
  border-color: #28a745;
}

.btn-block {
  display: block;
  width: 100%;
}

.btn-large {
  padding: 12px 24px;
  font-size: 18px;
}

.btn:hover {
  background-color: #218838;
  border-color: #1e7e34;
}

.icon-save {
  margin-right: 5px;
}

/* Notification Container */
.notification-container {
  position: relative;
  display: inline-block;
  margin-left: auto;
  padding-right: 20px;
}

/* Notification Button */
.notification-btn {
  background: none;
  border: none;
  font-size: 24px;
  position: relative;
  cursor: pointer;
  color: #333;
}

/* Notification Icon */
.notification-btn .fa-bell {
  color: #333;
  font-size: 24px;
  transition: color 0.3s ease;
}

.notification-btn:hover .fa-bell {
  color: #007bff; /* Change color on hover */
}

/* Notification Badge */
.notification-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background-color: red;
  color: white;
  border-radius: 50%;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: bold;
}

/* Notification Dropdown */
.notification-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  width: 300px;
  max-height: 400px;
  overflow-y: auto;
  z-index: 1000;
  animation: fadeIn 0.3s ease-out;
}

.notification-dropdown a {
  display: block;
  padding: 10px;
  color: #333;
  text-decoration: none;
  border-bottom: 1px solid #ddd;
}

.notification-dropdown a:last-child {
  border-bottom: none;
}

.notification-dropdown a:hover {
  background-color: #f5f5f5;
}

/* Fade-in animation */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

#starter-cash-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  z-index: 50;
}

.modal-content {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  position: relative;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.modal-header h2 {
  margin: 0;
  font-size: 18px;
}

.modal-header button {
  background: transparent;
  border: none;
  font-size: 18px;
  cursor: pointer;
}

.modal-body {
  margin-bottom: 20px;
}

.modal-body label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.modal-body input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.modal-footer {
  text-align: right;
}

.modal-footer button {
  background: #007bff;
  color: #fff;
  border: none;
  padding: 10px 15px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
}

.modal-footer button:hover {
  background: #0056b3;
}

/* Flash effect for profit update */
.updated {
  background-color: #390000;
  transition: background-color 0.5s ease;
}

.Shad {
  margin-left: 420px;
  margin-right: 20px;
  border: 1px solid #390000;
  border-radius: 20px;
  padding: 20px;
}

.card {
  background-color: #fff;
  border: 1px solid #390000;
  border-radius: 10px;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.header {
  background-color: #390000;
  color: #fff;
  padding: 10px 20px;
  font-size: 18px;
  font-weight: bold;
}

.content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

.info p {
  margin: 5px 0;
  font-size: 14px;
}

.avatar {
  text-align: center;
}

.avatar .image {
  width: 100px;
  height: 100px;
  background-color: #ddd;
  border-radius: 50%;
  margin-bottom: 10px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.save-btn {
  background-color: #a06f6f;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
}

.save-btn:hover {
  background-color: #914b4b;
}

.security .content,
.two-factor .content {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

input {
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
  width: 100%;
}

.status {
  font-size: 12px;
  font-weight: bold;
  margin-left: 5px;
}

.strong {
  color: green;
}

.match {
  color: green;
}

.archive .content {
  height: 100px; /* Placeholder height */
  background-color: #f9f9f9;
  border: 1px dashed #ccc;
}
