/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  background-color: #000;
  color: #f5f5f5;
  font-size: 14px;
  line-height: 18px;
  min-height: 100vh;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Page layout */
.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Icon header */
.icon-header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 0 30px;
  background: #000;
}

.app-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

/* Gradient line */
.gradient-line {
  height: 1px;
  background: linear-gradient(
    to right,
    #feda75,
    #fa7e1e,
    #d62976,
    #962fbf,
    #4f5bd5
  );
}

/* Main content */
.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #1a1a1a;
  padding: 0 40px;
}

/* Login section */
.login-section {
  max-width: 400px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 48px;
}

/* Heading */
.login-heading {
  font-size: 20px;
  font-weight: 600;
  color: #f5f5f5;
  align-self: flex-start;
  margin-bottom: 28px;
}

/* Form */
.login-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Input fields */
.input-wrapper {
  width: 100%;
}

.input-wrapper input {
  width: 100%;
  padding: 16px;
  font-size: 16px;
  color: #f5f5f5;
  background: #1a1a1a;
  border: 1px solid #363636;
  border-radius: 12px;
  outline: none;
  font-family: inherit;
}

.input-wrapper input::placeholder {
  color: #737373;
  font-size: 15px;
}

.input-wrapper input:focus {
  border-color: #555;
}

/* Login button */
.login-button {
  width: 100%;
  padding: 14px 16px;
  margin-top: 8px;
  background-color: #0064e0;
  border: none;
  border-radius: 20px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
  opacity: 0.7;
}

.login-button a {
  color: #fff;
  display: block;
}

.login-button:hover {
  opacity: 0.85;
}

/* Forgot password */
.forgot-password {
  color: #e0f1ff;
  font-size: 14px;
  font-weight: 500;
  margin: 24px 0;
}

/* Separator */
.separator {
  height: 32px;
}

/* Facebook button */
.facebook-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 16px;
  background: transparent;
  border: 1px solid #363636;
  border-radius: 20px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}

.facebook-button a {
  color: #fff;
}

.facebook-button:hover {
  background: rgba(255, 255, 255, 0.05);
}

/* Create account button */
.create-account-button {
  width: 100%;
  padding: 14px 16px;
  background: transparent;
  border: 1px solid #0095f6;
  border-radius: 20px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 32px;
}

.create-account-button a {
  color: #0095f6;
}

.create-account-button:hover {
  background: rgba(0, 149, 246, 0.05);
}

/* Meta section */
.meta-section {
  margin-bottom: 16px;
}

.meta-logo-text {
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.3px;
}

/* Report text */
.report-text {
  text-align: center;
  font-size: 13px;
  color: #737373;
  line-height: 20px;
  margin-bottom: 32px;
  padding: 0 16px;
}

.report-link {
  color: #e0f1ff;
  font-weight: 600;
}

/* Footer */
.site-footer {
  background: #0d1117;
  padding: 24px 16px 32px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 16px;
  margin-bottom: 16px;
}

.footer-links a {
  color: #737373;
  font-size: 12px;
  line-height: 20px;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.language-select {
  background: transparent;
  border: none;
  color: #737373;
  font-size: 12px;
  cursor: pointer;
  outline: none;
  font-family: inherit;
}

.copyright {
  color: #737373;
  font-size: 12px;
}

/* Error message (for wrong_password page) */
.error-message {
  color: #ed4956;
  font-size: 14px;
  line-height: 18px;
  text-align: center;
  margin: 16px 0 4px;
}
