h1 {
  margin: 0;
  padding: 0;
  font-size: inherit;
  font-weight: inherit;
  display: inline-block; /* Keeps it neatly tucked inside the navbar layout */
}

.signin-required-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.signin-required-overlay.hidden {
    display: none;
}

.signin-required-modal {
    width: min(90%, 460px);
    background: #fff;
    border-radius: 20px;
    padding: 28px 24px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
    text-align: center;
}

.signin-required-modal h2 {
    margin: 0 0 14px 0;
    font-size: 24px;
    color: #222;
}

.signin-required-modal p {
    margin: 0 0 22px 0;
    font-size: 16px;
    line-height: 1.6;
    color: #444;
}

.signin-required-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.signin-required-btn {
    min-width: 120px;
    padding: 10px 18px;
    border: none;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s ease;
}

.signin-required-btn:hover {
    transform: translateY(-1px);
}

.signin-required-btn.primary {
    background: linear-gradient(90deg, #00c853, #00e676, #7b1fa2);
    color: white;
}

.signin-required-btn.secondary {
    background: #e9ecef;
    color: #333;
}

.signinAlertBox {
    position: relative;
    border-radius: 18px;
    padding: 18px 54px 18px 18px;
    background: linear-gradient(180deg, #fff3bf 0%, #ffe08a 100%);
    color: #5a4300;
    border: 1px solid #f3cf59;
    box-shadow: 0 10px 24px rgba(243, 207, 89, 0.18);
    margin-bottom: 24px;
}

.signinAlertBox strong {
    display: block;
    font-size: 16px;
    line-height: 1.5;
}

.signupAlertBox {
    position: relative;
    border-radius: 18px;
    padding: 18px 54px 18px 18px;
    background: linear-gradient(180deg, #fff3bf 0%, #ffe08a 100%);
    color: #5a4300;
    border: 1px solid #f3cf59;
    box-shadow: 0 10px 24px rgba(243, 207, 89, 0.18);
    margin-bottom: 24px;
}

.signupAlertBox strong {
    display: block;
    font-size: 16px;
    line-height: 1.5;
}

.message-card.hidden {
    display: none !important;
}

/* Message card */
.message-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
  padding: 18px 20px;
  border-radius: 20px;
  background: linear-gradient(180deg, #fff4f4 0%, #ffeaea 100%);
  border: 1px solid #f5c2c2;
  box-shadow: 0 10px 24px rgba(229, 57, 53, 0.12);
  margin-bottom: 20px;
}

/* Icon */
.message-icon {
  width: 30px;
  height: 30px;
  min-width: 30px;
  border-radius: 50%;
  background: linear-gradient(180deg, #38b15f 0%, #1f9345 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(229, 57, 53, 0.2);
}

/* Content */
.message-content {
  flex: 1;
}

.message-title {
  font-size: 28px;
  font-weight: bold;
  color: #1f9345;
  margin-bottom: 4px;
}

.message-label {
  font-size: 18px;
  font-weight: 500;
  color: #5f2a2a;
  line-height: 1.5;
  word-break: break-word;
}

/* Close button */
.closebtn {
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 22px;
  font-weight: bold;
  color: #a94442;
  cursor: pointer;
  transition: 0.2s;
}

.closebtn:hover {
  color: #000;
}

/* ---------- OR Divider ---------- */

.oauth-divider {
  display: flex;
  align-items: center;
  justify-content: center;

  margin: 28px 0 24px;
  width: 100%;
}

.oauth-divider::before,
.oauth-divider::after {
  content: "";
  flex: 1;

  height: 2px;
  background: #d9dde5;
}

.oauth-divider span {
  margin: 0 18px;

  color: #222;
  font-size: 18px;
  letter-spacing: 1px;
}

.google-login-btn {
  width: 100%;
  height: 74px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;

  box-sizing: border-box;

  background: #ffffff;
  border: 2px solid #d9dde5;
  border-radius: 26px;

  text-decoration: none;
  cursor: pointer;

  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.12s ease;
}

.google-login-btn:hover {
  background: #f8fafd;
  border-color: #c8d0db;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);

  text-decoration: none;
}

.google-login-btn:active {
  transform: translateY(1px);
}

.google-login-btn:focus-visible {
  outline: 3px solid rgba(66,133,244,0.28);
  outline-offset: 3px;
}

.google-g {
  font-size: 28px;
  font-weight: 700;
  line-height: 1;

  background: conic-gradient(
    #4285F4 0deg 90deg,
    #34A853 90deg 180deg,
    #FBBC05 180deg 270deg,
    #EA4335 270deg 360deg
  );

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.google-login-text {
  color: #3c4043;

  font-size: 22px;
  letter-spacing: 0.2px;
}

