/* reset */
* { box-sizing: border-box; margin: 0; padding: 0; }
body, html { height: 100%; font-family: Arial, sans-serif; background: #f1f3f4; }

/* center layout */
.container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.card {
  width: 100%;
  max-width: 380px;
  background: #fff;
  padding: 40px 32px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  text-align: center;
}

.logo {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
}

.title {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 8px;
}

.subtitle {
  font-size: 0.9rem;
  color: #5f6368;
  margin-bottom: 24px;
}

.field {
  display: flex;
  flex-direction: column;
  margin-bottom: 18px;
  text-align: right;
}

.field input {
  padding: 14px 12px;
  border: 1px solid #dadce0;
  border-radius: 4px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s;
}

.field input:focus {
  border-color: #1a73e8;
  box-shadow: 0 0 0 1px #1a73e8;
}

.error {
  font-size: 0.8rem;
  color: #d93025;
  min-height: 16px;
  margin-top: 4px;
  text-align: right;
}

.btn {
  width: 100%;
  background: #1a73e8;
  color: white;
  font-size: 1rem;
  padding: 12px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  margin-top: 10px;
}

.btn:hover {
  background: #1669c1;
}

.links {
  text-align: left;
  margin: 6px 0 12px;
}

.links a {
  font-size: 0.9rem;
  color: #1a73e8;
  text-decoration: none;
}

.links a:hover {
  text-decoration: underline;
}

.links.bottom {
  text-align: center;
  margin-top: 24px;
  font-size: 0.9rem;
}

.links.bottom a { font-weight: 500; }