/* Raman Academy Connect: Google button and store login box. Everything is prefixed raconnect-. */

.raconnect-google-wrap {
  margin: 0 0 18px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", Arial, sans-serif;
}

.raconnect-google {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 56px;
  padding: 12px 18px;
  box-sizing: border-box;
  background: #fff !important;
  color: #1f1f1f !important;
  border: 1.5px solid #c4c7c5 !important;
  border-radius: 12px;
  font: 600 17px/1.2 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", Arial, sans-serif;
  text-decoration: none !important;
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.08);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.15s ease, box-shadow 0.15s ease;
}
.raconnect-google:hover,
.raconnect-google:focus-visible {
  background: #f6f8fa !important;
  box-shadow: 0 2px 8px rgba(16, 24, 40, 0.12);
}
.raconnect-google:focus-visible { outline: 2px solid #1a73e8; outline-offset: 2px; }
.raconnect-google:active { background: #eef1f4 !important; }
.raconnect-g { width: 24px; height: 24px; flex: none; }

.raconnect-or {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0 4px;
  color: #6b7280;
  font-size: 14px;
}
.raconnect-or::before,
.raconnect-or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e3e5ea;
}

.raconnect-error {
  margin: 0 0 12px;
  padding: 10px 12px;
  border: 1px solid #e0a3a3;
  border-radius: 10px;
  background: #fff;
  color: #9b1c1c;
  font-size: 14px;
  line-height: 1.4;
}

/* wp-login.php */
.login .raconnect-google-wrap { margin: 0 0 16px; }
.login form .raconnect-google-wrap { margin-bottom: 8px; }

/* Store: My account box */
.raconnect-box {
  max-width: 420px;
  margin: 8px auto 32px;
  padding: 24px 20px;
  border: 1px solid #e3e5ea;
  border-radius: 16px;
  background: #fff;
  text-align: center;
  box-sizing: border-box;
}
.raconnect-box__title { margin: 0 0 6px !important; font-size: 22px !important; line-height: 1.25 !important; }
.raconnect-box__lead { margin: 0 0 20px !important; color: #5b6170; }
.raconnect-box__small { margin: 16px 0 0 !important; font-size: 14px; color: #5b6170; }
.raconnect-btn {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  margin-top: 12px;
  padding: 12px 18px;
  box-sizing: border-box;
  border-radius: 12px;
  background: #1a1a2e !important;
  color: #fff !important;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none !important;
}
.raconnect-btn:hover { filter: brightness(1.15); }

/* Store: checkout box */
.raconnect-checkout__google {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  vertical-align: middle;
}
.raconnect-checkout__google .raconnect-g { width: 18px; height: 18px; }

.raconnect-note {
  padding: 10px 12px;
  border: 1px solid #e3e5ea;
  border-radius: 10px;
  font-size: 14px;
}

/* Tutor LMS Google button moved to the top of the login / sign-up form */
.raconnect-tutor-top {
  display: flex !important;
  justify-content: center;
  width: 100%;
  margin: 6px 0 4px !important;
  padding: 0 !important;
}
.raconnect-tutor-top #tutor-pro-google-authentication {
  width: 100%;
  justify-content: center;
  min-height: 44px;
}
.raconnect-tutor-top + .raconnect-or { margin: 14px 0 18px; }
