#fixeets-loader {
  position: fixed;
  inset: 0;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

#fixeets-loader img {
  width: 150px;
  max-width: 60%;
  animation: fixeetsPulse 1.4s ease-in-out infinite;
}

@keyframes fixeetsPulse {
  0%   { transform: scale(1);   opacity: 0.6; }
  50%  { transform: scale(1.05); opacity: 1; }
  100% { transform: scale(1);   opacity: 0.6; }
}





.validation {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 16px;
  background:
    radial-gradient(circle at 20% 0%, rgba(107, 193, 184, 0.12), transparent 45%),
    rgba(15, 39, 53, 0.44);
  z-index: 9998;
  display: flex;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  animation: fxValidationFadeIn 0.18s ease-out;
}

.validation-container {
  position: relative;
  width: min(100%, 520px);
  padding: 24px;
  border-radius: 16px;
  border: 1px solid #dde8ea;
  background: linear-gradient(180deg, #ffffff 0%, #f3fbf9 100%);
  box-shadow: 0 18px 48px rgba(15, 39, 53, 0.26);
  text-align: left;
  animation: fxValidationCardIn 0.22s ease-out;
}

.validation-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 1px solid #dde8ea;
  border-radius: 10px;
  background: #ffffff;
  color: #356c7e;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(15, 39, 53, 0.08);
  transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.14s ease, color 0.18s ease;
}

.validation-close:hover {
  background: #f3fbf9;
  border-color: #c7d7dc;
  color: #21495f;
  transform: translateY(-1px);
}

.validation-close:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(70, 127, 141, 0.22);
}

.validation-container::before {
  content: "\f06a";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  top: 18px;
  left: 20px;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: #eef4f5;
  color: #467f8d;
  display: grid;
  place-items: center;
  font-size: 14px;
}

.validation-text {
  margin: 0 0 20px;
  padding-left: 42px;
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  line-height: 1.5;
  font-weight: 600;
  color: #16384b;
  letter-spacing: 0.01em;
}

.validation-buttons {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  align-items: center;
  margin-top: 4px;
}

.validation-buttons button {
  min-width: 120px;
  padding: 11px 16px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.validation-buttons button:hover {
  transform: translateY(-1px);
}

.validation-buttons button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(70, 127, 141, 0.22);
}

.btn-continue {
  background: linear-gradient(180deg, #467f8d 0%, #356c7e 100%);
  border-color: #356c7e;
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(53, 108, 126, 0.28);
}

.btn-continue:hover {
  background: linear-gradient(180deg, #5f93a0 0%, #467f8d 100%);
}

.btn-cancel {
  background: #ffffff;
  border-color: #c7d7dc;
  color: #21495f;
  box-shadow: 0 4px 12px rgba(15, 39, 53, 0.08);
}

.btn-cancel:hover {
  background: #eef4f5;
  border-color: #c7d7dc;
}

/* Animations */
@keyframes fxValidationFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fxValidationCardIn {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (min-width: 561px) {
  .validation-container {
    text-align: left;
    padding-top: 14px;
  }

  .validation-container::before {
    left: 20px;
    top: 12px;
    transform: none;
  }

  .validation-close {
    top: 10px;
  }

  .validation-text {
    margin: 0 0 20px;
    min-height: 34px;
    display: block;
    padding: 0 56px;
    text-align: center;
    max-width: 100%;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    word-break: break-word;
  }

  .validation-buttons {
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .validation {
    padding: 12px;
  }

  .validation-container {
    width: 100%;
    padding: 20px 16px 16px;
    border-radius: 14px;
  }

  .validation-container::before {
    top: 14px;
    left: 14px;
    width: 28px;
    height: 28px;
  }

  .validation-text {
    min-height: 32px;
    display: block;
    padding: 0 44px 0 38px;
    text-align: center;
    margin-bottom: 16px;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    word-break: break-word;
  }

  .validation-close {
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
  }

  .validation-buttons {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .validation-buttons button {
    width: 100%;
    min-width: 0;
  }
}



/* ===============================
   Google OAuth Card (Fixeets mobile)
================================ */

#fixeets-google-login,
.fixeets-auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: auto;
  padding: clamp(10px, 4vw, 20px);
  background:
    radial-gradient(circle at 0 0, rgba(107, 193, 184, 0.14), transparent 52%),
    radial-gradient(circle at 100% 100%, rgba(42, 157, 143, 0.12), transparent 50%),
    #eef4f5;
}

.fixeets-auth-card {
  width: min(100%, var(--fixeets-mobile-max-w, 390px));
  max-width: calc(100vw - 20px);
  padding: clamp(14px, 4vw, 24px);
  border-radius: clamp(12px, 3vw, 18px);
  background: #ffffff;
  border: 1px solid #d9f1ed;
  box-shadow: 0 12px 34px rgba(43, 90, 111, 0.16);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  font-family: Roboto, Arial, sans-serif;
}

.fixeets-auth-card-info {
  width: min(100%, var(--fixeets-mobile-max-w, 390px));
  align-items: flex-start;
  text-align: left;
}

.fixeets-auth-brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  gap: 10px;
}

.fixeets-auth-logo {
  width: clamp(36px, 9vw, 44px);
  height: clamp(36px, 9vw, 44px);
  object-fit: contain;
}

.fixeets-auth-brand-copy {
  text-align: left;
  min-width: 0;
}

.fixeets-auth-badge {
  margin: 0;
  font-size: clamp(10px, 2.6vw, 11px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  color: #467f8d;
}

.fixeets-auth-title {
  margin: 2px 0 0;
  font-size: clamp(17px, 4.8vw, 22px);
  line-height: 1.2;
  color: #16384b;
  white-space: normal;
  word-break: break-word;
}

.fixeets-auth-message {
  margin: 6px 0 0;
  color: #356c7e;
  font-size: clamp(17px, 5vw, 32px);
  line-height: 1.35;
}

.fixeets-auth-message-info {
  margin: 6px 0 0;
  color: #16384b;
  font-size: clamp(20px, 5vw, 28px);
  font-weight: 700;
  line-height: 1.25;
}

.fixeets-auth-detail {
  margin: 0;
  color: #356c7e;
  font-size: clamp(14px, 3.6vw, 16px);
  line-height: 1.5;
}

.google-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: min(100%, 260px);
  min-width: 0;
  padding: 10px 16px;
  background-color: #ffffff;
  color: #16384b;
  border: 1px solid #c7d7dc;
  border-radius: 10px;
  font-family: Roboto, Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(22, 56, 75, 0.12);
  transition: transform 0.16s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.google-btn:hover {
  transform: translateY(-1px);
  background-color: #f3fbf9;
  box-shadow: 0 6px 12px rgba(22, 56, 75, 0.14);
}

.google-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(22, 56, 75, 0.12);
}

.google-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(95, 147, 160, 0.24);
}

.google-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.google-icon-continue {
  display: none;
}

.google-text {
  white-space: nowrap;
}

.google-btn.is-continue {
  background: linear-gradient(180deg, #6bc1b8 0%, #5f93a0 100%);
  border-color: #467f8d;
  color: #ffffff;
}

.google-btn.is-continue .google-icon-login {
  display: none;
}

.google-btn.is-continue .google-icon-continue {
  display: flex;
}

@media (max-width: 420px) {
  .fixeets-auth-card {
    max-width: calc(100vw - 12px);
    border-radius: 14px;
    padding: 16px 14px;
  }

  .fixeets-auth-title {
    font-size: 16px;
  }

  .fixeets-auth-message {
    font-size: 18px;
  }

  .fixeets-auth-message-info {
    font-size: 20px;
  }

  .google-btn {
    width: 100%;
  }
}

