* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background: url("https://pxy.metro-cc.ru/b2b/public/img/background.jpg");

  background-size: cover;
  background-position: center, left bottom, right top;
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  flex-direction: column;
}

a {
  text-decoration: none;
}

.container {
  grid-area: form;
  width: 100%;
  max-width: 500px;
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(38, 76, 119, 0.1);
  padding: 40px;
  text-align: center;
  animation: fadeInUp 0.8s ease-out;
  border: 1px solid #d6e0ea;
  margin-bottom: 30px;
}

.logos-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
  max-width: 500px;
  padding: 20px;
}

.logo-divider {
  font-size: 24px;
  color: #264c77;
  font-weight: bold;
}

.company-logo {
  height: 50px;
  object-fit: contain;
}

.hint {
  position: absolute;
  left: 0;
  top: 100%;
  margin-top: 4px;
  font-size: 0.8rem;
  color: var(--error);
  opacity: 0;
  transform: translateY(-5px);
  transition: all 0.2s;
}

.hint.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

h1 {
  color: #264c77;
  margin-bottom: 20px;
  font-weight: 700;
  font-size: 26px;
}

.description {
  color: #5a718a;
  margin-bottom: 30px;
  font-size: 16px;
  line-height: 1.5;
}

.description-bottom {
  color: #5a718a;
  margin-bottom: 0px;
  margin-top: 30px;
  text-align: left;
  font-size: 16px;
  line-height: 1.5;
}

.highlight {
  /* color: #3a6ea5; */
  font-weight: 700;
  /* font-style: italic; */
}

.input-group {
  margin-bottom: 20px;
  position: relative;
}

/* .gains {
    position: absolute;
  }

  .one, .twoo, .three, .four {
    position: absolute;
  } */

input {
  width: 100%;
  padding: 15px;
  border: 2px solid #d6e0ea;
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.3s ease;
  outline: none;
  background-color: #f5f8fa;
}

input:focus {
  border-color: #3a6ea5;
  box-shadow: 0 0 0 3px rgba(58, 110, 165, 0.2);
}

input::placeholder {
  color: #9aafc4;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
  text-align: left;
}

.checkbox-group input {
  width: auto;
  margin-right: 10px;
  margin-top: 3px;
  cursor: pointer;
}

.checkbox-group label {
  color: #5a718a;
  font-size: 14px;
  cursor: pointer;
  user-select: none;
}

.checkbox-group span {
  color: #3a6ea5;
  /* text-decoration: none; */
  /* pointer-events: none; */
}

.checkbox-group a:hover {
  text-decoration: underline;
}

button {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, #3a6ea5 0%, #264c77 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(58, 110, 165, 0.3);
  position: relative;
  overflow: hidden;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(58, 110, 165, 0.4);
}

button:disabled {
  /* background: #d6e0ea; */
  opacity: 50%;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

button:after {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  bottom: -50%;
  left: -50%;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.3),
    rgba(255, 255, 255, 0)
  );
  transform: rotateZ(60deg) translate(-5em, 7.5em);
}

button:hover:after {
  animation: sheen 1.5s forwards;
}

/* .coffee-cup {
  transform: scale(4.5) rotate(15deg);
  position: fixed;
  bottom: 20%;
  right: 33%;
  width: 40px;
  height: 40px;
  background-image: url("https://pxy.metro-cc.ru/b2b/public/img/cup.png");
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 1000;
  pointer-events: none;
} */

.coffee-car {
  transform: scale(8.5) rotate(15deg);
  position: absolute;
  bottom: 70%;
  right: 70%;
  width: 55px;
  height: 55px;
  background-image: url("https://pxy.metro-cc.ru/b2b/public/img/coffee_car.png");
  background-size: contain;
  background-repeat: no-repeat;
  z-index: -1;
  pointer-events: none;
}

.coffee-bean {
  position: absolute;
  /* bottom: 20px; */
  /* right: 20px; */
  width: 30px;
  height: 30px;
  background-image: url("https://pxy.metro-cc.ru/b2b/public/img/gain.png");
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 1000;
  pointer-events: none;
}
.coffee-bean-2 {
  position: absolute;
  /* bottom: 20px; */
  /* right: 20px; */
  width: 40px;
  height: 40px;
  background-image: url("https://pxy.metro-cc.ru/b2b/public/img/gain2.png");
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 1000;
  pointer-events: none;
}
.one {
  transform: scale(3);
  bottom: 96%;
  right: 36%;
}

.two {
  transform: scale(3) rotate(45deg);
  bottom: 53%;
  right: 64%;
  z-index: -1;
}
.one-2 {
  bottom: 35%;
  right: 30%;
}

.two-2 {
  transform: scale(3) rotate(-45deg);
  bottom: 34%;
  right: 62%;
  z-index: 0;
  filter: blur(0.5px);
}

/* Медиа-запрос для очень маленьких экранов */
@media (max-width: 600px) {
  .coffee-bean {
    width: 30px;
    height: 30px;
    /* bottom: 15px; */
    /* right: 15px; */
  }

  .one {
    transform: scale(3);
    bottom: 95%;
    right: 2%;
    /* right: 800px; */
  }

  .two {
    transform: scale(3.5) rotate(45deg);
    bottom: 45%;
    right: 90%;
    z-index: -1;
    /* right: 800px; */
  }
  .coffee-bean-2 {
    width: 30px;
    height: 30px;
    /* bottom: 15px; */
    /* right: 15px; */
  }

  .one-2 {
    transform: scale(2);
    bottom: 36%;
    right: 4%;
    /* right: 800px; */
  }

  .two-2 {
    transform: scale(2.5) rotate(45deg);
    bottom: 79%;
    right: 90%;
    z-index: 0;
    /* right: 800px; */
  }

  .coffee-cup {
    right: 5%;
  }
  .coffee-car {
    /* right: 5%; */
    width: 0px;
    height: 0px;
  }
}

@keyframes sheen {
  100% {
    transform: rotateZ(60deg) translate(1em, -9em);
  }
}

.success-message {
  display: none;
  color: #4a8f5a;
  font-weight: 600;
  margin-top: 20px;
  animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 30px 20px;
  }

  h1 {
    font-size: 22px;
  }

  .description {
    font-size: 15px;
  }

  .logos-container {
    flex-direction: column;
    gap: 10px;
  }

  .logo-divider {
    /* transform: rotate(90deg); */
    margin: 10px 0;
  }
}
