* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background: #e9edf0;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px;
}

.card {
  background: #ffffff;
  width: 100%;
  max-width: 400px;
  padding: 38px 36px;
  border-radius: 20px;
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.08);
}

.card-title {
  text-align: center;
  font-size: 25px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 24px;
}

/* form input styles */
.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 7px;
}

.label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 7px;
}

.label-row label {
  margin-bottom: 0;
}

.forgot-link {
  font-size: 12.5px;
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
}

.forgot-link:hover {
  text-decoration: underline;
}

.input-container {
  position: relative;
  display: flex;
  align-items: center;
}

.form-group input {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  font-size: 14px;
  color: #1f2937;
  background-color: #f9fafb;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.input-container input {
  padding-right: 44px;
}

.form-group input::placeholder {
  color: #9ca3af;
}

.form-group input:focus {
  background-color: #fff;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18);
}
.eye-toggle {
  position: absolute;
  right: 10px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  color: #9ca3af;
}

.eye-toggle:hover {
  color: #4b5563;
}

.eye-icon {
  width: 20px;
  height: 20px;
}

.submit-btn {
  width: 100%;
  height: 44px;
  margin-top: 30px;
  background-color: #2563eb;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: 0.2s;
}

.submit-btn:hover {
  background-color: #1d4ed8;
}

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

.btn-arrow {
  transition: transform 0.2s;
}

.submit-btn:hover .btn-arrow {
  transform: translateX(3px);
}

.switch-auth {
  margin-top: 44px;
  text-align: center;
  font-size: 13px;
  color: #6b7280;
}

.switch-auth a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 600;
  margin-left: 4px;
}

.switch-auth a:hover {
  text-decoration: underline;
}

.hidden {
  display: none !important;
}
