@font-face {
  font-family: 'Alte Haas Grotesk';
  src: url('fonts/Alte_Haas_Grotesk_Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Aston Script';
  src: url('fonts/Aston_Script.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Birds of Paradise';
  src: url('fonts/Birds_of_Paradise.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

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

body {
  font-family: 'Inter', sans-serif;
  color: #3A3F40;
  background-color: #ffffff;
}

.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  position: relative;
}

.back-link {
  position: absolute;
  top: 40px;
  left: 40px;
  color: #3A3F40;
  text-decoration: none;
  font-size: 16px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.back-link:hover {
  opacity: 0.7;
  transform: translateX(-4px);
}

.login-card {
  width: 100%;
  max-width: 420px;
  opacity: 0;
  transform: translateY(12px);
  animation: cardIn 0.7s ease forwards;
  animation-delay: 0.1s;
}

@keyframes cardIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.login-heading {
  font-size: 56px;
  line-height: 1.1;
  margin-bottom: 12px;
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.font-birds {
  font-family: 'Birds of Paradise', cursive;
}

.font-aston {
  font-family: 'Aston Script', cursive;
}

.accent-word {
  color: #3A3F40;
}

.login-sub {
  font-size: 16px;
  color: #6B7071;
  margin-bottom: 32px;
}

.form-error {
  color: #D9534F;
  font-size: 14px;
  margin-bottom: 16px;
  text-align: center;
}

.form-success {
  color: #2E9E5B;
  font-size: 14px;
  margin-bottom: 16px;
  text-align: center;
}

.google-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background-color: #FFFFFF;
  border: 2px solid #D8E6E5;
  border-radius: 50px;
  padding: 14px 24px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #3A3F40;
  cursor: pointer;
  transform: scale(1) rotate(0deg);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.google-button:hover {
  transform: scale(1.03) rotate(-1deg);
}

.google-button:active {
  transform: scale(0.97) rotate(0deg);
}

.google-icon {
  flex-shrink: 0;
}

.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 28px 0;
}

.divider span {
  flex: 1;
  height: 1px;
  background-color: #D8E6E5;
}

.divider p {
  font-size: 13px;
  color: #B7C2C1;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.login-form {
  display: flex;
  flex-direction: column;
}

.field-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6B7071;
  margin-bottom: 8px;
  margin-top: 20px;
}

.field-label:first-of-type {
  margin-top: 0;
}

.field-input {
  border: none;
  border-bottom: 2px solid #D8E6E5;
  background: transparent;
  padding: 12px 4px;
  font-size: 18px;
  color: #3A3F40;
  outline: none;
  transition: border-color 0.2s ease;
}

.field-input::placeholder {
  color: #B7C2C1;
}

.field-input:focus {
  border-bottom-color: #49ABA6;
}

.field-input:-webkit-autofill,
.field-input:-webkit-autofill:hover,
.field-input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0px 1000px #ffffff inset;
  -webkit-text-fill-color: #3A3F40;
  transition: background-color 5000s ease-in-out 0s;
}

.forgot-link {
  display: block;
  text-align: right;
  font-size: 13px;
  color: #49ABA6;
  text-decoration: none;
  margin-top: 8px;
  font-weight: 600;
  transition: color 0.2s ease;

}

.forgot-link:hover {
  color: #000000;
}

.login-button {
  margin-top: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background-color: #D1F1F0;
  border: none;
  border-radius: 50px;
  padding: 18px 32px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: #000000;
  cursor: pointer;
  transform: scale(1) rotate(0deg);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.login-button:hover {
  transform: scale(1.03) rotate(-1deg);
}

.login-button:active {
  transform: scale(0.97) rotate(0deg);
}

.login-button-circle {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: #49ABA6;
  display: inline-block;
}

.signup-line {
  margin-top: 28px;
  font-size: 14px;
  color: #6B7071;
  text-align: center;
}

.signup-link {
  color: #49ABA6;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.signup-link:hover {
  color: #000000;
}

.font-alte {
  font-family: 'Alte Haas Grotesk', sans-serif;
}

.font-inter {
  font-family: 'Inter', sans-serif;
}