/* Sign-in page */

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(circle at top, #1c1c1c 0%, #000 55%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

main {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 16px;
}

.signin-card-container {
  display: flex;
  justify-content: center;
  width: 100%;
}

.signin-card {
  width: 100%;
  max-width: 420px;
  background: rgba(18, 18, 18, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  padding: 34px;
  color: #fff;
  box-sizing: border-box; /* Ensures padding doesn't push width over 100vw */
}

.signin-card h1 {
  margin: 0 0 20px;
  font-size: 28px;
  font-weight: 700;
}

.signin-subtitle {
  margin: 0 0 28px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
}

.signin-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.input {
  width: 100%;
  height: 42px;
  box-sizing: border-box;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(10, 10, 10, 0.8);
  color: #fff;
  padding: 0 14px;
  outline: none;
  font-size: 13px;
}

.input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.input:focus {
  border-color: rgba(59, 130, 246, 0.95);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.22);
}

.password-wrap {
  position: relative;
}

.password-input {
  padding-right: 46px;
}

.toggle-password {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.65);
  pointer-events: none;
}

.remember {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  user-select: none;
}

.remember input[type="checkbox"] {
  width: 14px;
  height: 14px;
  accent-color: #3b82f6;
}

.btn-signIn {
  width: 100%;
  height: 42px;
  border: none;
  border-radius: 8px;
  background: #3b82f6;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-signIn:hover {
  background: #2563eb;
}

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

.divider-line {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.divider-text {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
}

.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 42px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #fff;
  color: #111;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn-google:hover {
  background: rgba(255, 255, 255, 0.92);
}

.create-account {
  margin: 10px 0 0;
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

.create-account a {
  color: #3b82f6;
  text-decoration: none;
}

.create-account a:hover {
  text-decoration: underline;
}
