* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
    "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.auth-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
  overflow: hidden;
}

.geometric-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
}

.geometric-bg::before {
  content: "";
  position: absolute;
  width: 1200px;
  height: 1200px;
  background: linear-gradient(
    135deg,
    rgba(76, 175, 80, 0.15) 0%,
    rgba(76, 175, 80, 0.05) 100%
  );
  border-radius: 50%;
  bottom: -600px;
  right: -200px;
  filter: blur(80px);
}

.geometric-bg::after {
  content: "";
  position: absolute;
  width: 800px;
  height: 800px;
  background: linear-gradient(
    45deg,
    rgba(76, 175, 80, 0.1) 0%,
    transparent 100%
  );
  transform: rotate(45deg);
  top: -400px;
  right: 10%;
}

.auth-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: white;
  border-radius: 16px;
  padding: 48px 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
  z-index: 1;
  margin: 20px;
}

.logo {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 2px;
  text-align: center;
  /* margin-bottom: 40px; */
  color: #2c3e50;
}

.logo span {
  color: #08ef28;
}

.form-group {
  margin-bottom: 20px;
}

.form-group input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 15px;
  color: #2c3e50;
  background: #fafafa;
  transition: all 0.3s ease;
  font-family: inherit;
}

.slform-input {
  width: 32%;
  padding: 14px 16px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 15px;
  color: #2c3e50;
  background: #fafafa;
  transition: all 0.3s ease;
  font-family: inherit;
}
.slform-input-2 {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 15px;
  color: #2c3e50;
  background: #fafafa;
  transition: all 0.3s ease;
  font-family: inherit;
}

.form-group input:focus {
  outline: none;
  border-color: #08ef28;
  background: white;
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}
.form-group select:focus {
  outline: none;
  border-color: #08ef28;
  background: white;
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.form-group input::placeholder {
  color: #a0a0a0;
}

.form-group input:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.password-input {
  position: relative;
}

.password-input input {
  padding-right: 48px;
}

.toggle-password {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #a0a0a0;
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.toggle-password:hover {
  color: #08ef28;
}

.remember-me {
  margin-bottom: 16px;
}

.remember-me label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

.remember-me input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #08ef28;
}

.remember-me span {
  font-size: 14px;
  color: #5a6c7d;
}

.links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 32px;
}

.link {
  font-size: 14px;
  color: #7d8a96;
  text-decoration: none;
  transition: color 0.2s ease;
}

.link:hover {
  color: #08ef28;
  text-decoration: underline;
}

#message {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 1.5;
  display: none;
}

#message.error {
  display: block;
  background: #fee;
  border: 1px solid #fcc;
  color: #c33;
}

#message.success {
  display: block;
  background: #e8f5e9;
  border: 1px solid #c8e6c9;
  color: #2e7d32;
}

.submit-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #08ef28 0%, #00b100 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
  font-family: inherit;
}

.submit-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, #00b100 0%, #3d8b40 100%);
  box-shadow: 0 6px 16px rgba(76, 175, 80, 0.4);
  transform: translateY(-1px);
}

.submit-btn:active:not(:disabled) {
  transform: translateY(0);
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.2);
}

.page-title {
  font-size: 24px;
  font-weight: 700;
  color: #2c3e50;
  text-align: center;
  margin-bottom: 15px;
  padding-top: 8px;
}

.auth-card p {
  text-align: center;
  margin-bottom: 10px;
}

.forgotpage-title {
  font-weight: 700;
  color: #2c3e50;
  text-align: center;
  margin-bottom: 32px;
  padding-top: 8px;
}

.auth-switch {
  text-align: center;
  margin-top: 24px;
  font-size: 14px;
  color: #7d8a96;
}

.auth-link {
  color: #08ef28;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.auth-link:hover {
  color: #00b100;
  text-decoration: underline;
}

@media (max-width: 640px) {
  .auth-card {
    padding: 36px 28px;
    margin: 16px;
  }

  .logo {
    font-size: 28px;
    /* margin-bottom: 32px; */
  }

  .page-title {
    font-size: 20px;
    margin-bottom: 24px;
  }
}

.alert-danger {
  color: #ff0000;
  text-align: center;
  padding: 10px;
  background-color: #eee;
  margin: 10px;
}

.alert-success {
  color: #00b100;
  text-align: center;
  padding: 10px;
  background-color: #eee;
  margin: 10px;
}

/* Radio Group Wrapper */
.user-group-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

/* Each radio button card */
.radio-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 10px;
  border: 1px solid #e0e0e0;
  background: #fafafa;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  user-select: none;
}

/* Hover style */
.radio-card:hover {
  border-color: #08ef28 !important;
  box-shadow: 0 4px 10px rgba(8, 239, 40, 0.15) !important;
  background: #fff;
}

/* Hide original input */
.radio-card input[type="radio"] {
  display: none;
}

/* Outer circle */
.radio-circle {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #a0a0a0;
  display: inline-block;
  position: relative;
  transition: all 0.25s ease;
}

/* Inner filled dot (selected) */
.radio-card input[type="radio"]:checked + .radio-circle {
  border-color: #08ef28 !important;
}

.radio-card input[type="radio"]:checked + .radio-circle::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background: #08ef28 !important;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Text */
.radio-text {
  font-size: 15px;
  color: #2c3e50;
  font-weight: 500;
}
