/* =================== HEADER FIXES =================== */
.header {
  background-color: white;
  margin: 0;
  padding: 10px 20px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Fix for Logo */
.logo {
  height: 50px;
}

/* Fix for Header Buttons */
.header-buttons {
  display: flex;
  gap: 10px;
}

/* =================== BUTTON FIXES =================== */
.pill-btn {
  padding: 20px 40px; /* Removed the comma */
  border: 2px solid rgb(168, 10, 121);
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  color: white;
  background: rgb(70, 10, 71);
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.pill-btn:hover {
  background: rgb(168, 10, 121);
  transform: scale(1.05);
}

.pill-btn:active {
  transform: scale(0.95);
}

/* =================== GENERAL BODY FIXES =================== */
body {
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
  padding: 0;
  background-color: rgb(70, 10, 71);
  color: white;
}

html, body {
  height: 100%;
}

/* =================== LAYOUT FIXES =================== */
.container {
  text-align: center;
  padding: 20px;
  width: 100%;
}

/* Fix Grid Layout */
.grid-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 40px;
  margin-top: 80px; /* Ensure space below header */
}

/* Fix for Track Box */
.track-box {
  display: flex;
  justify-content: center;
  align-items: center;
  background: white;
  height: 75px;
  width: 300px;
  border-radius: 50px;
  border: 2px solid rgb(204, 10, 146);
  margin: 20px auto;
}

/* Fix for Track Button */
.track-btn {
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  color: rgb(70, 10, 71);
}

.track-btn:hover {
  color: rgb(168, 10, 121);
  transform: scale(1.05);
}

/* =================== TEXT & HEADINGS FIXES =================== */
.text-heading {
  font-size: 40px;
  font-weight: bold;
  text-align: center;
}

.text-subheading {
  font-size: 20px;
  text-align: center;
}

/* =================== GRAPH FIXES =================== */
.graph-container {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.graphimg {
  width: 100%;
  max-width: 400px;
  height: auto;
}

/* =================== FORM FIXES =================== */

input[type="text"], input[type="password"] {
  width: 100%;
  padding: 12px;
  border: 1px solid rgb(70, 10, 71);
  background: #ffffff;
  box-sizing: border-box;
}

input[type="text"]:focus, input[type="password"]:focus {
  background-color: #e2b6e6;
  outline: none;
}

/* =================== RESPONSIVE FIXES =================== */
@media screen and (max-width: 768px) {
  .grid-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .header-buttons {
    position: relative;
    top: 0;
    right: 0;
  }

  .pill-btn {
    width: 100%;
    padding: 15px;
  }

  .track-box {
    width: 90%;
  }
}
