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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: #fafafa;
  color: #262626;
  min-height: 100vh;
}

.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.login-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 0;
  max-width: 350px;
  margin: 0 auto;
  width: 100%;
}

.login-box {
  background: #fff;
  border: 1px solid #dbdbdb;
  border-radius: 1px;
  padding: 40px 40px 24px;
  width: 100%;
  text-align: center;
  margin-bottom: 10px;
}

.logo {
  margin-bottom: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-text {
  font-family: "Grand Hotel", "Billabong", "Segoe UI", cursive, sans-serif;
  font-size: 52px;
  font-weight: 400;
  color: #262626;
  letter-spacing: 1px;
}

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

.input-group input {
  width: 100%;
  height: 38px;
  padding: 9px 8px 7px;
  background: #fafafa;
  border: 1px solid #dbdbdb;
  border-radius: 3px;
  font-size: 12px;
  color: #262626;
  outline: none;
}

.input-group input::placeholder {
  color: #8e8e8e;
}

.input-group input:focus {
  border-color: #a8a8a8;
}

.login-btn {
  background: #0095f6;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  padding: 7px 16px;
  margin-top: 8px;
  height: 32px;
  cursor: pointer;
  width: 100%;
}

.login-btn:hover {
  background: #1877f2;
}

.login-btn:disabled {
  background: #4cb5f9;
  opacity: 0.7;
  cursor: not-allowed;
}

#message {
  font-size: 12px;
  margin-top: 12px;
  min-height: 16px;
  color: #ed4956;
}

#message:empty {
  display: none;
}

.separator {
  display: flex;
  align-items: center;
  margin: 18px 0 16px;
  color: #8e8e8e;
  font-size: 13px;
  font-weight: 600;
}

.separator .line {
  flex: 1;
  height: 1px;
  background: #dbdbdb;
}

.separator span {
  padding: 0 18px;
}

.facebook-login {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #385185;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 16px;
}

.facebook-login:hover {
  color: #385185;
}

.fb-icon {
  width: 16px;
  height: 16px;
}

.forgot-password {
  color: #00376b;
  font-size: 12px;
  text-decoration: none;
  display: block;
  margin-top: 12px;
}

.forgot-password:hover {
  text-decoration: underline;
}

.signup-box {
  background: #fff;
  border: 1px solid #dbdbdb;
  border-radius: 1px;
  padding: 20px;
  width: 100%;
  text-align: center;
  font-size: 14px;
  margin-bottom: 20px;
}

.signup-box a {
  color: #0095f6;
  font-weight: 600;
  text-decoration: none;
}

.signup-box a:hover {
  text-decoration: underline;
}

.footer {
  padding: 20px 16px 40px;
  text-align: center;
  font-size: 12px;
  color: #8e8e8e;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
  margin-bottom: 16px;
  max-width: 935px;
  margin-left: auto;
  margin-right: auto;
}

.footer-links a {
  color: #8e8e8e;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 450px) {
  .login-box {
    padding: 30px 20px 20px;
    border: none;
    background: transparent;
  }

  .signup-box {
    border: none;
    background: transparent;
  }

  .login-container {
    max-width: 100%;
    padding: 20px;
  }
}