body {
background-color: white;
}


.redtag-mainpanel {
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-radius: 12px;
  box-shadow: 0 25px 40px rgba(0, 0, 0, 1.2);
  margin: 20px auto;
  max-width: 800px;
}

.redtag-menu-button {
  display: flex;
  align-items: center;        /* ?? vertical centering */
  justify-content: center;    /* ?? horizontal centering */
  background-color: #ffffff;
  color: #c62828;
  border: 2px solid #c62828;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 500;
  padding: 14px 20px;
  width: 200px;
  height: 50px;                /* ?? fixed height helps uniformity */
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Segoe UI', sans-serif;
}

.redtag-menu-button:hover {
  background-color: #c62828;
  color: white;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.redtag-menu-button:active {
  background-color: #b71c1c;
  transform: scale(0.97);
}

.redtag-headerpanel {
  background-color: #c62828;  /* Redtag red */
  color: white;
  height: 60px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  font-size: 1.2rem;
  font-weight: bold;
  font-family: 'Segoe UI', sans-serif;
}

.redtag-menupanel {
  background-color: #f9f9f9;
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  justify-items: center;
  font-family: 'Segoe UI', sans-serif;
  overflow-y: auto;
}

.redtag-control {
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.redtag-control:focus {
  color: #495057;
  background-color: #fff;
  border-color: #80bdff;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(0,123,255,0.25);
}


.redtag-loginbutton {
  display: inline-block;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(to bottom, #4dabf7, #1971c2);
  border: 1px solid #1c7ed6;
  padding: 0.45rem 0.9rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.redtag-loginbutton:hover {
  background: linear-gradient(to bottom, #339af0, #1864ab);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.redtag-loginbutton:active {
  background: #1864ab;
  transform: translateY(1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2) inset;
}

.redtag-exitbutton {
  display: inline-block;
  font-weight: 600;
  color: #1b4d1b;
  background: linear-gradient(to bottom, #b2f2bb, #69db7c);
  border: 1px solid #37b24d;
  padding: 0.45rem 0.9rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.redtag-exitbutton:hover {
  background: linear-gradient(to bottom, #69db7c, #38d17a);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}





.redtag-button:hover {
  background-color: #0056b3;
  border-color: #0056b3;
}

.redtag-content {
  position: fixed !important;
  top: 100px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;

  background-color: #f8f8f8;  /* <- SOLID background */
  color: #333;
  font-size: 1.1rem;
  padding: 1rem;
  text-align: center;
  border-radius: 12px 12px 12px 12px;  /* optional */
}

.redtag-dialog {
  max-width: 500px;
  margin: 2rem auto;
  background-color: silver;
  border-radius: 1rem !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  padding: 1rem;
  font-family: 'Segoe UI', sans-serif;
  overflow: hidden;
}

/* Optional: Style the title area */
.modal-header {
  background-color: #0d6efd;
  color: blue;
  font-weight: bold;
}

/* Optional, if modal itself is showing boxy edges */
.modal {
  background-color: white;
  padding: 0;
  margin: 0;
  border: none;
  box-shadow: none;
  text-align: center;
}

/* Base shared styling */
.redtag-titlepanel {
  background-color: #f8f9fa;
  padding: 0.5rem 1rem;
  margin: 0;
  font-weight: 500;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  color: #212529;
  display: flex;
  align-items: center;
  border: 1px solid #ccc;
}

/* Only top corners rounded */
.round-top {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

/* Only bottom corners rounded */
.round-bottom {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.user-small {
  font-size: 14px;
}

/* Give the dialog a rounded border and shadow */
.modal-content {
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  border: 1px solid #008cba;
}