:root {
      --red: #ed1925;
      --blue: #2866af;
    }
html {
height: 100%;
}
body {
  height: 100%;
  margin: 0;
  padding: 0;
  /* background-color: rgba(0,0,0,0.2); */
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
}
h3 {
  font-size: 12px;
}
* {
  margin: 0;
  padding: 0;
}
a {
  color: black;
  cursor: pointer;
  font-size: 12px;
  text-decoration: none;
}
input {
  min-height: 12px;
  padding: 5px;
  font-size: 12px;
}
select {
  min-height: 12px;
  padding: 5px;
  font-size: 12px;
  -webkit-appearance: none;
}
button {
  /* min-height: 16px; */
  /* padding: 5px; */
  font-size: 12px;
  margin: 2px;
  padding: 2px 10px 2px 10px;
  border: none;
  text-decoration: none;
  border-radius: 5px;
  cursor: pointer;
}
.mainBtn {
  background-color: var(--red);
  color: white;
}
.subBtn {
  background-color: var(--blue);
  color: white;
}
.mainTxt {
  color: var(--red);
}
.subTxt {
  color: var(--blue);
}
textarea {
  font-size: 12px;
  font-family: Arial, Helvetica, sans-serif;
}

table {
  border-collapse: collapse;
  table-layout: fixed;
  font-size:12px;
}
tr:nth-child(even) {
  background-color: #f2f2f2; /* Example: light gray background */
}
table, th, td, tr {
  border: 1px solid rgba(0,0,0,0.2);
}
thead {
  font-weight: bold;
}

td {
  word-wrap: break-word;
}
td a { display: block; width: 100%; height: 100%; }
thead > tr:hover {
  background-color: yellow !important;
}
tr:hover {
    background-color: yellow;
}​
.max-width-500 {
  max-width: 500px;
}
.centered {
  text-align: center;
}
.inline-flex {
  display: inline-flex;
}
nav {
  position: fixed;
  top:0;
  left:0;
  border-bottom:1px solid rgba(0,0,0,0.2);
}
aside {
  position: fixed;
  top:50px;
  left:0;
  width:150px;
  border-right:1px solid rgba(0,0,0,0.2);
}
.flex {
  display: flex;
  flex-wrap: wrap;
}
.flex-between {
  justify-content: space-between;
}
.flex-top {
  align-items: flex-start;
}
.flex-left {
  justify-content: flex-start;
}
.flex-right {
  justify-content: flex-end;
}
.flex-center-LR {
  justify-content: center;
}
.flex-center-UD {
  align-items: center;
}
.flex-center-center {
  justify-content: center;
  align-items: center;
}
.flex-row {
  flex-direction: row;
}
.flex-col {
  flex-direction: column;
}
.rotated {
  writing-mode: vertical-lr;-webkit-transform: rotate(-180deg);-moz-transform: rotate(-180deg);
}
.margin-3 {
  margin: 3px;
}
.margin-5 {
  margin: 5px;
}
.margin-10 {
  margin: 10px;
}
.margin-right-5 {
  margin-right: 5px;
}
.margin-right-10 {
  margin-right: 10px;
}
.margin-20 {
  margin: 20px;
}
.margin-top-5 {
  margin-top: 5px;
}
.margin-top-10 {
  margin-top: 10px;
}
.margin-top-50 {
  margin-top: 50px;
}
.padding-2 {
  padding: 2px;
}
.padding-5 {
  padding: 5px;
}
.padding-10 {
  padding: 10px;
}
.padding-LR-10 {
  padding-left: 10px;
  padding-right: 10px;
}
.bold {
  font-weight: bold;
}
.relative {
  position: relative;
}
.absolute {
  position: absolute;
}
.redTXT {
  color: red;
}
.redBG {
  background-color: red;
}
.lightgreenBG {
  background-color: lightgreen !important;
}
.greenBG {
  background-color: green;
}
.yellowBG {
  background-color: yellow;
}
.darkgrayBG {
  background-color: gray;
}
.grayBG {
  background-color: lightgray;
}
.blueBG {
  background-color: blue;
}
.pinkBG {
  background-color: pink;
}
.whiteBG {
  background-color: white;
}
.bordered {
  border: 1px solid rgba(0,0,0,0.2);
}


.modal {
  display: none;
  position: fixed;
  z-index: 1;
  margin-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, .4);
}

.modal-action {
  background-color: #fefefe;
  margin: 0 auto;
  /* padding: 10px; */
  width: 90%;
}
.modal-content {
  background-color: #fefefe;
  margin: 0 auto;
  /* padding: 10px; */
  width: 90%;
}

.close {
  color: black;
  font-size: 50px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}
.card-holder {
  width: 90mm;
    height: 56mm;
  background-image: url("img/card.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  page-break-inside:avoid;
  page-break-after:auto;
  font-weight: bold;
  font-size: 15px;
}
.eid-wrapper {
  width: 173px;
    height: 24px;
    left: 155px;
    bottom: 24px;
    line-height: 80%;
}
.img-wrapper {
  width: 100px;
    height: 117px;
    left: 8px;
    top: 69px;
}
.qr-wrapper {
  width: 59px;
    height: 57px;
    right: 6px;
    top: 25px;
    overflow: hidden;
}
.name-wrapper {
  width: 173px;
    height: 27px;
    left: 155px;
    top: 84px;
    line-height: 80%;
}
.dob-wrapper {
  width: 173px;
    height: 27px;
    left: 155px;
    top: 111px;
    line-height: 80%;
}
.ecccd-wrapper {
  width: 173px;
    height: 26px;
    left: 155px;
    top: 138px;
    line-height: 80%;
}
.ebrand-wrapper {
  width: 237px;
    height: 17px;
    left: 96px;
    bottom: 7px;
}
.avatar-wrapper {
  width: 705px;
  height: 909px;
  background-image: url("img/avatar.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.cursor {
  cursor: pointer;
}
.main-rp-wrapper {

}
.hide {
  display: none;
}

#loadingScreen {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent white background */
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 9999; /* Ensure it's on top of other content */
    }

    /* Example spinner CSS */
    .spinner {
        border: 4px solid rgba(0, 0, 0, 0.1);
        border-left-color: #333;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        animation: spin 1s linear infinite;
    }

    @keyframes spin {
        to { transform: rotate(360deg); }
    }

    @media print {
            .no-print {
                display: none !important; /* !important ensures overriding other styles */
            }
        }


@keyframes blinkHighlight {
    0% { opacity: 0; }
    50% { opacity: 100%; } /* Or your desired highlight color */
    100% { opacity: 0; }
}

.blinking-highlight {
    animation: blinkHighlight 0.5s infinite; /* Adjust speed and repetition as needed */
}
