.popup-btn-google {
  background: none;
  outline: none;
  border: none;
  width: auto;
  height: 60px;
  margin: 70px auto 0;
  padding: 0;
  color: #AAAAAA;
  font-size: 13px;
  font-family: selow, sans-serif;
  font-weight: 500;
  text-align: center;
  display: block;
}
.popup-btn-google img {
  background: #fff;
  border-radius: 2px;
  width: 40px;
  padding: 10px;
  height: auto;
  margin-bottom: 5px;
  text-align: center;
}
.link-box-navbar-titlegp {
  padding-top: 10px;
  padding-bottom: 2px;
  font-size: 17px;
  font-weight: 300;
  margin-left: 30px;
}

/* ===== Google Login Popup Box ===== */
.popup-box-login-google {
  background: #ffffff;
  width: 92%;
  max-width: 380px;
  min-height: 485px;
  height: auto;
  position: relative;
  margin: auto !important;
  padding: 32px 28px 26px;
  text-align: left;
  font-family: 'Google Sans', Roboto, 'Open Sans', Arial, sans-serif;
  color: #202124;
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

@media only screen and (max-width: 480px) {
  .popup-box-login-google {
    margin: auto !important;
    padding: 24px 20px 20px;
    min-height: 460px;
  }
}

/* Authentic Google Material Circular Spinner */
.google-spinner {
  position: relative;
  margin: 0 auto;
  width: 44px;
  height: 44px;
}
.google-circular {
  animation: google-rotate 2s linear infinite;
  height: 100%;
  transform-origin: center center;
  width: 100%;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}
.google-path {
  stroke-dasharray: 1, 200;
  stroke-dashoffset: 0;
  animation: google-dash 1.5s ease-in-out infinite;
  stroke-linecap: round;
  stroke: #1a73e8;
}

@keyframes google-rotate {
  100% {
    transform: rotate(360deg);
  }
}
@keyframes google-dash {
  0% {
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 89, 200;
    stroke-dashoffset: -35px;
  }
  100% {
    stroke-dasharray: 89, 200;
    stroke-dashoffset: -124px;
  }
}

.box-google {
  width: 100%;
  display: block;
}

/* Header & Logo */
.header-google {
  width: 100%;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.header-google img {
  width: 48px;
  height: auto;
  display: block;
}

/* Title & Description */
.txt-login-google {
  color: #202124;
  font-size: 24px;
  font-family: 'Google Sans', Roboto, Arial, sans-serif;
  font-weight: 400;
  text-align: left;
  margin-bottom: 4px;
}
.txt-login-google-desc {
  color: #5f6368;
  font-size: 14px;
  font-family: 'Google Sans', Roboto, Arial, sans-serif;
  font-weight: 400;
  text-align: left;
  margin-bottom: 22px;
}

/* Google User Account Chip (Second Login) */
.google-user-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #dadce0;
  border-radius: 16px;
  padding: 4px 12px 4px 8px;
  margin-bottom: 18px;
  font-size: 13.5px;
  color: #3c4043;
  font-weight: 500;
  max-width: 100%;
  box-sizing: border-box;
  background: #fff;
}
.google-user-chip svg {
  width: 18px;
  height: 18px;
  fill: #5f6368;
  flex-shrink: 0;
}
.google-user-chip span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Floating Label Input Box */
.input-box {
  position: relative;
  margin-bottom: 8px;
  width: 100%;
  box-sizing: border-box;
}

.input-box .input-1 {
  width: 100%;
  height: 50px;
  border: 1px solid #dadce0;
  border-radius: 4px;
  padding: 13px 15px;
  font-size: 15px;
  color: #202124;
  background: #ffffff;
  box-sizing: border-box;
  outline: none;
  font-family: Roboto, Arial, sans-serif;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.input-box.has-eye .input-1 {
  padding-right: 44px;
}

.input-box .input-1:focus {
  border: 2px solid #1a73e8;
  padding: 12px 14px;
}

.input-box.has-eye .input-1:focus {
  padding-right: 44px;
}

.input-box .input-label {
  position: absolute;
  left: 12px;
  top: 15px;
  color: #80868b;
  font-size: 15px;
  font-weight: 400;
  background: #ffffff;
  padding: 0 4px;
  pointer-events: none;
  transition: all 0.2s ease;
  font-family: Roboto, Arial, sans-serif;
  user-select: none;
  line-height: 1;
}

/* Focus and active floating states */
.input-box.focus .input-label,
.input-box.active .input-label {
  color: #1a73e8;
  top: -7px;
  font-size: 11px;
  font-weight: 500;
}

.input-box.focus .input-1,
.input-box.active .input-1 {
  border: 2px solid #1a73e8;
  padding: 12px 14px;
}
.input-box.has-eye.focus .input-1,
.input-box.has-eye.active .input-1 {
  padding-right: 44px;
}

/* Error states */
.input-box.error .input-1 {
  border: 2px solid #d93025 !important;
  padding: 12px 14px;
}
.input-box.has-eye.error .input-1 {
  padding-right: 44px;
}
.input-box.error .input-label {
  color: #d93025 !important;
  top: -7px;
  font-size: 11px;
}

/* Show / Hide Eye Icon */
.form-group-showhide {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  color: #5f6368;
}
.form-group-showhide i {
  font-size: 20px;
  color: #5f6368;
}
.form-group-showhide:hover i {
  color: #202124;
}

/* Error messages below inputs */
.first-email-google,
.first-sandi-google,
.second-email-google,
.second-sandi-google {
  display: none;
  align-items: center;
  gap: 8px;
  color: #d93025;
  font-size: 12px;
  font-family: Roboto, Arial, sans-serif;
  margin-top: 4px;
  margin-bottom: 10px;
  text-align: left;
  line-height: 1.35;
}
.first-email-google svg,
.first-sandi-google svg,
.second-email-google svg,
.second-sandi-google svg {
  width: 14px;
  height: 14px;
  fill: #d93025;
  flex-shrink: 0;
  display: inline-block;
}

/* Links & Text */
.btn-forgot-google {
  color: #1a73e8;
  font-size: 13.5px;
  font-family: 'Google Sans', Roboto, Arial, sans-serif;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  display: inline-block;
  margin-top: 2px;
  margin-bottom: 14px;
  background: none;
  border: none;
  padding: 0;
  outline: none;
}
.btn-forgot-google:hover {
  text-decoration: underline;
}

.btn-not-computer {
  color: #5f6368;
  font-size: 12.5px;
  font-family: Roboto, Arial, sans-serif;
  line-height: 1.45;
  text-align: left;
  margin-top: 14px;
  margin-bottom: 22px;
}
.btn-not-computer p,
.btn-not-computer span {
  color: #1a73e8;
  font-weight: 500;
  display: inline;
  margin: 0;
  cursor: pointer;
}
.btn-not-computer p:hover,
.btn-not-computer span:hover {
  text-decoration: underline;
}

/* Actions Footer Row */
.google-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  width: 100%;
}

.notify-google {
  color: #1a73e8;
  font-size: 14px;
  font-family: 'Google Sans', Roboto, Arial, sans-serif;
  font-weight: 500;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  outline: none;
}
.notify-google:hover {
  text-decoration: underline;
}

.btn-login-google {
  background: #1a73e8;
  color: #ffffff;
  font-size: 14px;
  font-family: 'Google Sans', Roboto, Arial, sans-serif;
  font-weight: 500;
  letter-spacing: .25px;
  padding: 9px 24px;
  border-radius: 4px;
  border: none;
  outline: none;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  min-width: 80px;
  text-align: center;
}
.btn-login-google:hover {
  background: #1b66c9;
  box-shadow: 0 1px 2px rgba(60,64,67,0.3);
}

/* Loading screen */
.loadgoogle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex: 1;
  padding: 40px 0;
  min-height: 220px;
}

/* Close button */
.popup-box-login-google .close-other {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #5f6368;
  background: transparent;
  transition: background 0.2s;
  z-index: 20;
}
.popup-box-login-google .close-other:hover {
  background: rgba(0, 0, 0, 0.06);
}
.popup-box-login-google .close-other i {
  font-size: 18px;
  color: #5f6368;
}