.main-content .container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Main Content */
.main-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 0 0 0;
  background-color: #ffffff;
}

.auth-card {
  background: white;
  width: 100%;
  max-width: 500px;
  margin: 50px auto;
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  text-align: center;
}

.form-header {
  text-align: center;
  margin-bottom: 2rem;
}

.form-header h1 {
  color: #024C80;
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.form-header p {
  color: #222222;
  font-size: 0.95rem;
}

/* Form Groups */
.form-group {
  margin-bottom: 1.25rem;
}

label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: #222222;
  text-align: left;
}

.required {
  color: red;
}

input[type="text"],
input[type="number"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="date"] {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #E0E0E0;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  color: #000000;
  transition: border-color 0.2s;
}

input::placeholder {
  color: #AFB6B8;
}

input::-webkit-input-placeholder {
  color: #AFB6B8;
}

input:-moz-placeholder {
  color: #AFB6B8;
  opacity: 1;
}

input::-moz-placeholder {
  color: #AFB6B8;
  opacity: 1;
}

input:focus {
  outline: none;
  border-color: var(--primary-color);
}

/* Verified Input State */
.input-with-button.verified input {
  border-color: #10b981;
  background-color: #f0fdf4;
}

.input-with-button.verified::after {
  content: '✓';
  color: #10b981;
  font-weight: bold;
  position: absolute;
  right: 15px;
  font-size: 1.25rem;
}

/* Hilangkan spinner (up/down arrows) pada input number */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
}

/* Input with Button (Verify) */
.input-with-button {
  display: flex;
  gap: 10px;
}

.input-with-button input {
  flex: 1;
}

.btn-verify {
  background-color: #116FB8;
  color: white;
  border: none;
  border-radius: 10px;
  padding: 0 1.5rem;
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s;
}

.btn-verify:hover {
  filter: brightness(110%);
}

/* OTP Section */
.otp-section {
  border: 1px solid #E0E0E0;
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  margin-bottom: 1.5rem;
  background-color: #fff;
}

.otp-label {
  font-weight: 500;
  margin-bottom: 1rem;
}

.otp-inputs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.otp-input {
  width: 50px;
  height: 50px;
  text-align: center;
  font-size: 1.25rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
}

.otp-input:focus {
  border-color: var(--primary-color);
  outline: none;
}

.otp-timer {
  font-size: 0.9rem;
  color: #6b7280;
}

.resend-link {
  color: #6b7280;
  cursor: pointer;
  text-decoration: underline;
  transition: color 0.2s;
}

.resend-link:hover:not([disabled]) {
  color: #116FB8;
}

.resend-link[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Verification Text with Green Checkmark */
#text-email-verification,
#text-phone-verification {
  display: none;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #10b981;
  font-weight: 500;
  text-align: left;
}

#text-email-verification i,
#text-phone-verification i {
  display: inline-block;
  margin-right: 0.5rem;
  color: #10b981;
  font-weight: bold;
  width: 1.1rem;
  text-align: center;
}

#text-email-verification i::before,
#text-phone-verification i::before {
  content: '\2713';
  font-size: 1.1rem;
  line-height: 1;
}

/* Input with Icon */
.input-icon-wrapper {
  position: relative;
}

.field-icon {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #6b7280;
  width: 20px;
  height: 20px;
  pointer-events: none;
}

.toggle-password {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
}

.toggle-password .field-icon {
  position: static;
  transform: none;
  pointer-events: auto;
}

/* Input with Prefix */
.input-prefix-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.prefix {
  position: absolute;
  left: 1rem;
  color: var(--text-color);
  font-weight: 500;
  pointer-events: none;
}

.input-prefix-wrapper input {
  padding-left: 3.5rem; /* Space for +62 */
}

/* Checkbox */
.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 1.5rem;
  flex-direction: row;
  align-items: center;
}

.checkbox-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 4px;
  border: 1px solid var(--border-color);
  cursor: pointer;
}

.checkbox-group label {
  font-weight: 400;
  font-size: 0.9rem;
  line-height: 1.4;
  margin: 0;
  cursor: pointer;
}

/* Submit Button */
.btn-submit {
  width: 100%;
  padding: 1rem;
  background-color: #6F7273;
  opacity: 50%;
  color: white;
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: not-allowed;
  margin-top: 1rem;
  transition: background-color 0.2s;
  border-radius: 10px;
}

.btn-submit.active {
  background-color: #116FB8;
  cursor: pointer;
}

.btn-submit.active:hover {
  filter: brightness(110%);
}

/* Footer */
.form-footer {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.9rem;
}

.form-footer a {
  color: #116FB8;
  text-decoration: none;
  font-weight: 600;
}

.form-footer a:hover {
  text-decoration: underline;
}

/* Modal Styles */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-content {
  background: white;
  border-radius: 12px;
  padding: 2.5rem;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
}

.modal-icon.success {
  background-color: #e8f8f5;
  border-radius: 50%;
}

.modal-icon.error {
  background-color: #fadbd8;
  border-radius: 50%;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #024C80;
  margin-bottom: 0.75rem;
}

#modalTitle {
  font-size: 1.5rem;
  font-weight: 700;
  color: #024C80;
  margin-bottom: 0.75rem;
}

#modalMessage {
  color: #666666;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 2rem;
}

.modal-btn {
  background-color: #116FB8;
  color: white;
  border: none;
  padding: 0.75rem 2.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.modal-btn:hover {
  background-color: #0d5a99;
}

/* Responsive */
@media (max-width: 480px) {
  .otp-inputs {
    gap: 0.5rem;
  }
  
  .otp-input {
    width: 40px;
    height: 40px;
  }

  .modal-content {
    margin: 1rem;
    padding: 2rem;
  }
}