* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  background-color: #e9fbfb;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 900px;
  margin-top: 60px;
  text-align: center;
}

.logo-title {
  font-size: 32px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 4px;
}

.subtitle {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 24px;
}

.tab-wrapper {
  display: inline-flex;
  background-color: #dff4f4;
  padding: 4px;
  border-radius: 999px;
  margin-bottom: 32px;
}

.tab {
  min-width: 130px;
  padding: 10px 24px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s ease;
  background-color: transparent;
  color: #059669;
}

.tab.active {
  background-color: #059669;
  color: #ffffff;
}

.card {
  margin: 0 auto;
  background-color: #ffffff;
  border-radius: 24px;
  padding: 40px 40px 32px;
  max-width: 600px;
  box-shadow: 0 24px 40px rgba(15, 23, 42, 0.06);
  text-align: left;
}

.card-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #111827;
}

.card-subtitle {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 6px;
  display: block;
}

/* jarak icon dengan placeholder pada input */

.input-wrapper {
  position: relative;
}

.input-wrapper i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.1em;
  color: #aaa;
  pointer-events: none;
}

.input-wrapper input {
  padding-left: 38px;
}

/* jarak icon dengan placeholder pada input */

/* eye-icon */
.eye-icon {
  cursor: pointer;
  margin-left: 8px;
  font-size: 16px;
}

/* end */
.input-wrapper {
  display: flex;
  align-items: center;
  background-color: #f3f9f9;
  border-radius: 999px;
  padding: 10px 18px;
  border: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-wrapper:focus-within {
  border-color: #059669;
  box-shadow: 0 0 0 2px rgba(5, 150, 105, 0.15);
}

.input-icon {
  margin-right: 10px;
  font-size: 16px;
  color: #9ca3af;
}

.form-input {
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  font-size: 14px;
  color: #111827;
}

.form-input::placeholder {
  color: #9ca3af;
}

.forgot-wrapper {
  text-align: right;
  margin: 6px 4px 18px;
}

.forgot-link {
  font-size: 13px;
  color: #059669;
  text-decoration: none;
  font-weight: 600;
}

.forgot-link:hover {
  text-decoration: underline;
}

.btn-primary {
  width: 100%;
  border: none;
  border-radius: 999px;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  background-color: #059669;
  color: #ffffff;
  transition: background-color 0.2s ease, transform 0.1s ease, box-shadow 0.1s ease;
}

.btn-primary:hover {
  background-color: #047857;
  box-shadow: 0 10px 20px rgba(4, 120, 87, 0.25);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: none;
}

.hidden {
  display: none;
}

@media (max-width: 640px) {
  .container {
    margin-top: 40px;
    padding: 0 16px;
  }

  .card {
    padding: 28px 20px 24px;
  }
}