* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Inter, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  display: flex;
  height: 100vh;
}

.form-section {
  width: 65%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  padding: 50px;
}

.form-section>a {
  display: block;
}

.form-section>a img {
  max-width: 200px;
  height: auto;
}

.form {
  width: 560px;
  margin: 0 auto;
}

.title {
  font-weight: 600;
  font-size: 56px;
  line-height: 56px;
  letter-spacing: 0.02em;
  color: #06113c;
}

.link {
  margin: 16px 0 32px;
  font-size: 18px;
  line-height: 28px;
  color: #06113c;
}

.link a {
  color: #7178dc;
  text-decoration: none;
}

.link a:hover {
  text-decoration: underline;
}

form {
  width: 100%;
}

input[type="text"],
input[type="password"],
input[type="email"] {
  display: block;
  width: 100%;
  margin-top: 24px;
  padding: 12px;
  font-size: 16px;
  line-height: 24px;
  color: #06113c;
  border: none;
  border-bottom: 2px solid #ebecef;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s ease;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus {
  border-bottom-color: #7178dc;
}

input[type="text"]::placeholder,
input[type="password"]::placeholder,
input[type="email"]::placeholder {
  color: #9ba0b1;
}

input:first-of-type {
  margin-top: 50px;
}

button {
  display: block;
  width: 100%;
  margin-top: 50px;
  padding: 16px 0;
  background: #7178dc;
  border-radius: 8px;
  border: none;
  font-size: 16px;
  line-height: 16px;
  color: #ffffff;
  cursor: pointer;
  font-family: inherit;
  font-weight: 500;
  transition: background-color 0.2s ease;
}

button:hover {
  background: #5a62c9;
}

.additional-info {
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
  font-size: 14px;
}

.additional-info.fla {
  justify-content: space-between;
}

.additional-info a {
  display: block;
  color: #9ba0b1;
  text-decoration: none;
}

.additional-info a:hover {
  color: #7178dc;
}

.footer {
  display: flex;
  justify-content: space-between;
  width: 664px;
  margin: 0 auto;
  font-size: 14px;
  line-height: 24px;
  color: #6a708a;
}

.footer-info {
  color: #6a708a;
}

.footer-links {
  display: flex;
  gap: 32px;
}

.footer-links a {
  color: #6a708a;
  text-decoration: none;
}

.footer-links a:hover {
  color: #7178dc;
}

.footer-links a:first-child {
  margin-right: 0;
}

.greetings {
  position: relative;
  width: 35%;
  padding: 200px 116px;
  background-color: #f5f5fa;
}

.greeting-title {
  font-weight: 500;
  font-size: 32px;
  line-height: 48px;
  color: #384163;
}

.greeting-description {
  margin-top: 16px;
  font-size: 16px;
  line-height: 24px;
  color: #6a708a;
}

.greetings img {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 90%;
  max-width: 100%;
  height: auto;
}

.alert_content {
  color: #721c24;
  border: 1px solid #dc3545;
  border-radius: 5px;
  background-color: #f8d7da;
  padding: 10px;
  text-align: center;
  width: 100%;
  font-size: 18px;
}

/* Responsive styles */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }

  .form-section {
    width: 100%;
    padding: 35px;
  }

  .greetings {
    display: none;
  }

  .form {
    width: 100%;
  }

  .title {
    display: none;
  }

  .link {
    margin: 16px 0 24px;
  }

  input[type="text"],
  input[type="password"],
  input[type="email"] {
    margin-top: 16px;
  }

  input:first-of-type {
    margin-top: 32px;
  }

  .footer {
    width: 100%;
    visibility: hidden;
  }

  .additional-info {
    display: block;
    text-align: center;
  }

  .additional-info a {
    margin-top: 8px;
  }
}