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

body {
  font-family: system-ui, sans-serif;
  background-color: #f5f5f5;
  color: #1c1c1c;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 16px;
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background-color: white;
  border-bottom: 1px solid #ddd;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.logo-text {
  font-size: 18px;
  font-weight: bold;
  color: #ff4500;
}

.use-app {
  background: none;
  border: none;
  color: #0079d3;
  font-weight: bold;
  font-size: 14px;
}

.login-container {
  width: 100%;
  max-width: 360px;
  padding: 24px 16px;
  margin: 12px auto;
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  position: relative;
}

.reddit-logo {
  font-size: 36px;
  text-align: center;
  margin-bottom: 12px;
}

.title {
  text-align: center;
  font-size: 20px;
  margin-bottom: 24px;
}

.login-form input {
  width: 100%;
  padding: 12px;
  margin-bottom: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
}

.login-btn {
  width: 100%;
  padding: 12px;
  background-color: black;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  font-size: 16px;
}

.divider {
  text-align: center;
  margin: 24px 0 16px;
  color: #999;
  position: relative;
}

.divider::before,
.divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 40%;
  height: 1px;
  background: #ddd;
}

.divider::before {
  left: 0;
}

.divider::after {
  right: 0;
}

.divider span {
  background-color: white;
  padding: 0 10px;
  position: relative;
  z-index: 1;
}

.social-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.social {
  padding: 12px;
  font-size: 14px;
  font-weight: bold;
  border-radius: 8px;
  border: 1px solid #ccc;
  background-color: white;
  cursor: pointer;
}

.social.apple {
  background-color: #000;
  color: #fff;
}

.footer-links {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: #666;
}

.footer-links a {
  color: #0079d3;
  text-decoration: none;
  margin: 0 4px;
}
