/* === Center the login panel === */
.ic-Login__content {
  background-color: #ffffff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 24px 24px 28px 24px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  width: min(95vw, 460px);
  box-sizing: border-box;
}

/* === Logo Section === */
.ic-Login-header {
  display: flex;
  justify-content: center;   /* ensure perfect horizontal centering */
  align-items: center;
  margin-top: -6px;          /* lifts logo closer to top */
  margin-bottom: 18px;
}

.ic-Login-header img {
  max-width: 380px;          /* increase width of the logo */
  width: 100%;
  height: auto;
  display: block;
}

/* === Inputs and buttons === */
.ic-Login__content input[type="text"],
.ic-Login__content input[type="email"],
.ic-Login__content input[type="password"],
.ic-Login__content button,
.ic-Login__content .Button {
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 12px;
}

/* === Checkbox & links === */
.ic-Login__content label,
.ic-Login__content a {
  font-size: 0.9rem;
}

.ic-Login__content a {
  color: #005da6;
  text-decoration: none;
}
.ic-Login__content a:hover {
  text-decoration: underline;
}

/* === Responsive tweak for small screens === */
@media (max-width: 480px) {
  .ic-Login__content {
    width: 90vw;
    padding: 16px;
  }

  .ic-Login-header img {
    max-width: 280px; /* scales down for mobile */
  }
}

/* === Footer tweaks (optional) === */
.ic-Login__actions,
.ic-Login__footer {
  text-align: center;
  font-size: 0.85rem;
  color: #666;
  margin-top: 12px;
}
