/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Helvetica, Arial, sans-serif;
}

body {
  background-color: #f0f2f5;
  color: #1c1e21;
  line-height: 1.34;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  text-decoration: none;
  color: #1877f2;
}

a:hover {
  text-decoration: underline;
}

.container {
  flex: 1;
  padding: 20px;
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.content {
  max-width: 980px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Logo section */
.logo-section {
  margin-bottom: 10px;
  width: 100%;
  text-align: center;
}

.fb-logo {
  height: 106px;
  margin: -28px;
}

/* Login container */
.login-container {
  width: 100%;
  max-width: 396px;
  margin: 0 auto;
}

.login-card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), 0 8px 16px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin-bottom: 28px;
}

.login-card h2 {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 20px;
  text-align: center;
}

.input-group {
  margin-bottom: 15px;
}

input[type="text"],
input[type="password"] {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #dddfe2;
  border-radius: 6px;
  font-size: 17px;
  outline: none;
  transition: border-color 0.2s ease;
}

input[type="text"]:focus,
input[type="password"]:focus {
  border-color: #1877f2;
  box-shadow: 0 0 0 2px #e7f3ff;
}

input::placeholder {
  color: #90949c;
}

.login-btn {
  background-color: #1877f2;
  border: none;
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
  font-size: 20px;
  font-weight: bold;
  padding: 12px;
  width: 100%;
  margin-bottom: 15px;
  transition: background-color 0.2s ease;
}

.login-btn:hover {
  background-color: #166fe5;
}

.forgotten-link {
  text-align: center;
  margin-bottom: 20px;
}

.forgotten-link a {
  color: #1877f2;
  font-size: 14px;
}

.divider {
  display: flex;
  align-items: center;
  margin: 20px 0;
  height: 1px;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background-color: #dadde1;
}

.divider span {
  padding: 0 10px;
  font-size: 14px;
  color: #96999e;
}

.create-account {
  text-align: center;
}

.create-account-btn {
  background-color: #42b72a;
  border: none;
  border-radius: 6px;
  color: #fff;
  display: inline-block;
  font-size: 17px;
  font-weight: bold;
  padding: 12px 16px;
  transition: background-color 0.2s ease;
}

.create-account-btn:hover {
  background-color: #36a420;
  text-decoration: none;
}

.create-page-hint {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
}

/* Footer styles */
footer {
  background-color: #fff;
  padding: 20px;
  color: #737373;
  font-size: 12px;
}

.footer-container {
  max-width: 980px;
  margin: 0 auto;
}

.language-selector ul,
.footer-links ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin-bottom: 8px;
}

.language-selector ul li {
  margin-right: 10px;
}

.language-selector ul li a {
  color: #737373;
}

.language-selector ul li a.active {
  color: #1c1e21;
  font-weight: bold;
}

footer .divider {
  height: 1px;
  background-color: #dddfe2;
  margin: 8px 0;
}

.footer-links ul li {
  margin-right: 20px;
  margin-bottom: 5px;
}

.footer-links ul li a {
  color: #737373;
}

.copyright {
  margin-top: 20px;
  color: #737373;
}

/* Responsive styles */
@media (min-width: 880px) {
  .content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .logo-section {
    flex: 1;
    margin-right: 40px;
    text-align: left;
  }

  .fb-logo {
    height: 106px;
    margin: 0;
  }

  .login-container {
    flex: 1;
    margin: 0;
  }
}

@media (max-width: 879px) {
  .logo-section {
    text-align: center;
    margin-bottom: 40px;
  }

  .fb-logo {
    height: 70px;
  }
}

@media (max-width: 640px) {
  .login-container {
    width: 100%;
  }

  .language-selector ul,
  .footer-links ul {
    justify-content: center;
  }

  .copyright {
    text-align: center;
  }
}

/* Animation for interactive elements */
@keyframes buttonPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.login-btn:active,
.create-account-btn:active {
  animation: buttonPulse 0.3s ease;
}
