.cr-wrap {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f0f0;
  padding: 40px 16px;
  padding-top: 90px;
}

.cr-box {
  background: #fff;
  border-radius: 16px;
  padding: 48px 40px;
  width: 100%;
  max-width: 480px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
}

.cr-box h1 {
  font-size: 28px;
  font-weight: 800;
  text-align: center;
  margin: 0 0 32px;
  color: #111;
}

.cr-field {
  position: relative;
  margin-bottom: 16px;
}

.cr-field input {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid #ddd;
  border-radius: 10px;
  font-size: 15px;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s;
  background: #fafafa;
}

.cr-field input:focus {
  border-color: #00c9c8;
  background: #fff;
}

.cr-field input.is-invalid {
  border-color: #e74c3c;
}

.cr-field .field-error {
  font-size: 12px;
  color: #e74c3c;
  margin-top: 4px;
  display: none;
}

.cr-field .toggle-pw {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #aaa;
  background: none;
  border: none;
  padding: 0;
  font-size: 18px;
  line-height: 1;
}

.cr-btn {
  width: 100%;
  padding: 14px;
  background: #00c9c8;
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 8px;
  transition:
    background 0.2s,
    transform 0.1s;
}

.cr-btn:hover {
  background: #00b0af;
}

.cr-btn:active {
  transform: scale(0.98);
}

.cr-alert {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 20px;
  text-align: center;
}

.cr-alert.error {
  background: #fdecea;
  color: #c0392b;
}

.cr-alert.success {
  background: #e8f8f5;
  color: #1a7a5e;
}

.cr-login-link {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: #666;
}

.cr-login-link a {
  color: #00c9c8;
  text-decoration: none;
  font-weight: 600;
}

@media (max-width: 520px) {
  .cr-box {
    padding: 32px 20px;
  }

  .cr-box h1 {
    font-size: 22px;
  }
}
