body {
  font-family: Arial, sans-serif;
  background: #f4f6f8;
  padding: 20px;
  background: url('assets/images/dosage_game_bg.png') no-repeat;
  background-size: cover;
  max-height: 100vh;
  overflow:hidden;
}

/* body:after {
    content: '';
    width: 100%;
    display: block;
    height: 42%;
    background: linear-gradient(45deg, #0db04b, #cacc1a);
    position: absolute;
    top: 100%;
    left: 0;
    z-index: -1;
} */

h1 {
  text-align: center;
  color: #000000;
  font-size: 16px;
  position: relative;
  top: -36px;
  margin: 0;
  z-index: 10;
}

.main {
  display: flex;
  /* gap: 30px; */
  justify-content: center;
  margin-top: 20px;
  width: 73%;
  margin: 0 auto;
  background: white;
  align-items: center;
  align-content: center;

}
.main-left {
  display: flex;
  flex-direction: column;
  /* gap: 30px; */
  justify-content: center;
  width: 40%;
  margin: 0 auto;
  margin-top: 0;
  padding-left: 100px;
  background: white;
  align-items: flex-start;
  align-content: center;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

img.logo {
  width: 200px;
}

header p.text-right {
  font-size: 8px;
}

.libriumabbott-logo {
  margin: 0 auto;
  width: 291px;
  display: block;
}

/* BODY PROGRESS */
.body-container {
  text-align: center;
}

/* .body-outline {
  width: 80px;
  height: 300px;
  border: 3px solid #0a8f3c;
  position: relative;
  border-radius: 40px;
  overflow: hidden;
} */

/* #bodyFill {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 0%;
  background: #0a8f3c;
  transition: height 0.5s;
} */

/* TABLE */
table {
  border-collapse: collapse;
  background: white;
}

th,
td {
  border: 8px solid #ffffff;
  background: #7ccc6c;
  padding: 0;
  text-align: center;
  width: 84px;
  /* font-size: 12px; */
  border: 4px solid #fff;
  box-sizing: border-box;
}

th {
  background: transparent;
  color: #000000;
}

/* tr.disabled {
    opacity: 0.4;
    pointer-events: none;
  } */

.total-cell {
  font-weight: bold;
  color: #0a8f3c;
}

/* Greyed out rows */
/* tr.disabled {
  background-color: #7ccc6c33;
  color: #000000;
} */

/* Active row highlight (optional but recommended) */
tr.active {
  /* background-color: #ffffff; */
  color: #000;
}

td {
    padding: 0px 0;
    font-size: 12px;
    font-weight: 600;
}

tr.active td {
  background-color: #0a8f3c;
  color: #ffffff;
  
}

tr.active td:first-child {
  color: black;
}

table#dosageTable tr td:first-child {
  background-color: transparent;
}

table#dosageTable tr.disabled td {
  background-color: #c8e8c2;
  padding: 2px 0;
}

table#dosageTable tr.disabled td:first-child {
  background-color: transparent ;
}



.row-warning {
  font-size: 12px;
  color: #b45309;          /* amber */
  background: #fff7ed;     /* light amber bg */
  border: 1px solid #fde68a;
  padding: 4px 6px;
  border-radius: 4px;
  margin-top: 4px;
}


.status-btn {
  background: #0a8f3c;
  color: white;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
}

/* TIMER */
.timer-box {
  text-align: center;
  font-size: 20px;
  position: absolute;
  top: 29%;
  right: 45px;
}

#timer {
  font-size: 28px;
  font-weight: bold;
  color: #000000;
  position: relative;
  top: -95px;
}

.timer-box img {width: 150px;}

/* BUTTONS */
.dose-buttons-container {
  margin-top: 30px;
  text-align: center;
  background: white;
  width: 73%;
  margin: 0 auto;
  padding: 18px 0px;
  box-sizing: border-box;
  position: relative;
  position: relative;
  top: -150px;
}

.dose-buttons {
  position: relative;
  left: 125px;
}

.dose-buttons button {
  padding: 10px 19px;
  font-size: 16px;
  margin: 5px;
  background: #0a8f3c;
  color: white;
  border: none;
  cursor: pointer;
}

.dose-buttons button:hover {
  background: #066a2c;
}

.submit-container {
  text-align: center;
  margin-top: 20px;
}

#submitGameBtn {
  padding: 10px 25px;
  font-size: 18px;
  background: #1e88e5;
  color: white;
  border: none;
  cursor: pointer;
}

#submitGameBtn:disabled {
  background: #aaa;
  cursor: not-allowed;
}



/* HUMAN SVG */
.body-container {
  text-align: center;
}

.body-visual {
  position: relative;
  width: 160px;   /* MUST match image */
  height: 446px;  /* MUST match image */
  margin: auto;
}

/* OUTLINE â€” STATIC */
.body-outline {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

/* FILLED BODY â€” CLIPPED */
.body-filled {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;

  /* START HIDDEN FROM TOP */
  clip-path: inset(100% 0 0 0);

  transition: clip-path 0.6s ease;
}


label {
  margin-top: 10px;
  font-weight: 800;
  font-size: 14px;
}
input {
  background-color: #7BCC6C;
  border: none;
  padding: 4px;
  color: white;
  font-weight: bold;
  font-size: 16px;
  
}
.row {
  display: flex;
  flex-direction: row;
  margin-top: 15px;
}

.col-3{
  width:40%;
}
.col-9{
  width:60%;
}

.black-bold{
  font-weight: 600;
  color: black;
}

.form-btn {
  margin-top: 20px;
  background: #0a8f3c;
  color: white;
  border: none;
  padding: 8px 15px;
  cursor: pointer;
}


p.footer-login-message {
    text-align: center;
    position: relative;
    bottom: -17rem;
    font-size: 26px;
    font-weight: 700;
}

a.submit-link {
    width: 200px;
    display: inline-block;
    position: fixed;
    bottom: 6px;
    right: 58px;
}

a.submit-link img {width: 100%;}

/* modal */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal-overlay.active {
  display: flex;
}

.modal-box {
  background: #fff;
  padding: 24px 28px;
  border-radius: 10px;
  max-width: 360px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.modal-box h3 {
  margin-bottom: 10px;
}

.modal-box p {
  margin-bottom: 16px;
}


/* change for screens resoltions  */

.dose-buttons-container,.main{
  position: relative;
  transform: scale(.9);
  top: -39px;
}

.dose-buttons-container{
  top: -72px;
}