* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background: #f5f7fb;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 1.5rem;
}

.auth-container, .register-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.auth-card, .register-card {
  background: #ffffff;
  border-radius: 2rem;
  box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.02);
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  transition: all 0.2s ease;
}

.auth-brand, .register-brand {
  flex: 0.7;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid rgba(32, 155, 215, 0.08);
}
.auth-brand .container, .register-brand .container {
  display: flex;
  flex-direction: column;
  background: #1ea9e2;
  width: 100%;
  border-radius: 1.5rem;
  padding: 2rem;
  box-sizing: border-box;
}

.brand-logo {
  display: inline-flex;
}
.brand-logo img {
  width: 10rem;
}

.brand-image {
  margin-bottom: -5rem;
}
.brand-image img {
  width: 100%;
  margin-top: 1.5rem;
  margin-left: 5rem;
}

.feature-list {
  margin-top: 2rem;
  list-style: none;
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: #2c3e4e;
}
.feature-list li i {
  color: #1ea9e2;
  font-size: 1.1rem;
  width: 24px;
}

.auth-form-side, .register-form-side {
  flex: 1;
  padding: 2.5rem;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.form-header {
  margin-bottom: 2rem;
}
.form-header h3 {
  font-size: 1.8rem;
  font-weight: 600;
  color: #1a2c3e;
  margin-bottom: 0.5rem;
}
.form-header p {
  color: #6c7a89;
  font-size: 0.9rem;
}

.input-group {
  margin-bottom: 1.5rem;
  position: relative;
  display: block;
}
.input-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: #2c3e4e;
}

.input-field {
  width: 100%;
  padding: 0.9rem 1rem 0.9rem 2.8rem;
  font-size: 0.95rem;
  font-family: "Inter", sans-serif;
  border: 1.5px solid #e2e8f0;
  border-radius: 1.2rem;
  background-color: #ffffff;
  transition: all 0.2s;
  outline: none;
  color: #1a2c3e;
  display: block;
}
.input-field:focus {
  border-color: #1ea9e2;
  box-shadow: 0 0 0 4px rgba(32, 155, 215, 0.15);
}
.input-field.is-invalid {
  border-color: #e53e3e;
}
.input-field.is-invalid:focus {
  box-shadow: 0 0 0 4px rgba(229, 62, 62, 0.15);
}

.password-wrapper {
  position: relative;
  display: block;
}
.password-wrapper .input-field {
  padding-right: 3rem;
}

.toggle-password {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #94a3b8;
  font-size: 1.1rem;
  transition: color 0.2s;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.toggle-password:hover {
  color: #1ea9e2;
}

.input-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 1rem;
  pointer-events: none;
  transition: color 0.2s;
  z-index: 1;
}
.password-wrapper .input-icon {
  top: 50%;
  transform: translateY(-50%);
}

.input-wrapper {
  position: relative;
  display: block;
  width: 100%;
}
.input-wrapper .input-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 1;
}
.input-wrapper .password-wrapper {
  position: relative;
  display: block;
  width: 100%;
}
.input-wrapper .password-wrapper .input-field {
  padding-right: 3rem;
}

.field-error {
  font-size: 0.7rem;
  color: #e53e3e;
  margin-top: 0.25rem;
  margin-left: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  min-height: 1.2rem;
}
.field-error i {
  font-size: 0.65rem;
}

.auth-btn, .register-btn {
  width: 100%;
  background-color: #1ea9e2;
  border: none;
  padding: 0.9rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: "Inter", sans-serif;
  color: white;
  border-radius: 2rem;
  cursor: pointer;
  transition: all 0.25s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 10px rgba(32, 155, 215, 0.2);
}
.auth-btn:hover, .register-btn:hover {
  background-color: #1886bb;
  transform: translateY(-1px);
  box-shadow: 0 10px 20px -5px rgba(32, 155, 215, 0.3);
}
.auth-btn:active, .register-btn:active {
  transform: translateY(1px);
}

.divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 1.8rem 0 1.5rem;
  color: #a0afbf;
  font-size: 0.75rem;
}
.divider::before, .divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #e9edf2;
}
.divider span {
  margin: 0 0.8rem;
}

.social-auth {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  border: 1px solid #e2e8f0;
  border-radius: 2rem;
  background: #ffffff;
  font-size: 0.85rem;
  font-weight: 500;
  color: #2c3e4e;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.social-btn i {
  font-size: 1rem;
  color: #94a3b8;
}
.social-btn:hover {
  background-color: #f8fafc;
  border-color: #cbd5e1;
}

.global-success-alert {
  background-color: #f0fff4;
  border: 1px solid #c6f6d5;
  border-radius: 1rem;
  padding: 0.75rem 1rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #22543d;
  font-size: 0.85rem;
  animation: slideInDown 0.3s ease-out;
}
.global-success-alert i {
  font-size: 1rem;
  color: #38a169;
}
.global-success-alert span {
  flex: 1;
}
.global-success-alert button {
  background: none;
  border: none;
  color: #22543d;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  opacity: 0.6;
  transition: opacity 0.2s;
}
.global-success-alert button:hover {
  opacity: 1;
}

.global-error-alert {
  background-color: #fff5f5;
  border: 1px solid #fed7d7;
  border-radius: 1rem;
  padding: 0.75rem 1rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #c53030;
  font-size: 0.85rem;
  animation: slideInDown 0.3s ease-out;
}
.global-error-alert i {
  font-size: 1rem;
}
.global-error-alert span {
  flex: 1;
}
.global-error-alert button {
  background: none;
  border: none;
  color: #c53030;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  opacity: 0.6;
  transition: opacity 0.2s;
}
.global-error-alert button:hover {
  opacity: 1;
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.input-wrapper {
  position: relative;
  display: block;
  width: 100%;
}
.input-wrapper .input-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 1;
}
.input-wrapper .password-wrapper {
  position: relative;
  display: block;
  width: 100%;
}
.input-wrapper .password-wrapper .input-field {
  padding-right: 3rem;
}

.field-error {
  font-size: 0.7rem;
  color: #e53e3e;
  margin-top: 0.25rem;
  margin-left: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  min-height: 1.2rem;
}
.field-error i {
  font-size: 0.65rem;
}

.input-field.is-invalid {
  border-color: #e53e3e;
}
.input-field.is-invalid:focus {
  box-shadow: 0 0 0 4px rgba(229, 62, 62, 0.15);
}

.form-feedback-msg {
  margin-top: 1rem;
  font-size: 0.8rem;
  text-align: center;
  padding: 0.5rem;
  border-radius: 1rem;
}

@media (max-width: 900px) {
  .auth-card, .register-card {
    border-radius: 1.5rem;
  }
  .auth-brand, .register-brand {
    display: none;
  }
  .form-header h3 {
    font-size: 1.6rem;
  }
}
@media (max-width: 680px) {
  body {
    padding: 1rem;
    align-items: flex-start;
  }
  .auth-card, .register-card {
    flex-direction: column;
    border-radius: 1.5rem;
  }
  .auth-form-side, .register-form-side {
    padding: 1.8rem;
  }
  .form-header h3 {
    font-size: 1.5rem;
  }
  .input-field {
    padding: 0.8rem 1rem 0.8rem 2.5rem;
  }
  .password-wrapper .input-field {
    padding-right: 2.8rem;
  }
  .social-btn {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
}
@media (min-width: 1200px) {
  .auth-card, .register-card {
    max-width: 1000px;
    margin: 0 auto;
  }
  .auth-brand, .register-brand {
    padding: 3rem;
  }
  .auth-form-side, .register-form-side {
    padding: 3rem;
  }
}
/* Tombol Kembali ke Home */
.back-home-wrapper {
  display: block;
  margin-bottom: 20px;
}

.back-home-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #1ea9e2;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 8px 0;
  /* Sembunyikan dari screen reader tapi tetap terlihat visual */
  aria-hidden: true;
}

/* Gunakan data-nosnippet untuk Google */
.back-home-btn span {
  /* Konten tidak akan di-snippet oleh Google */
  display: inline;
}

.back-home-btn i {
  font-size: 16px;
  transition: transform 0.3s ease;
}

.back-home-btn:hover {
  color: #1886bb;
}

.back-home-btn:hover i {
  transform: translateX(-4px);
}

/* Responsive untuk tombol back */
@media (max-width: 768px) {
  .back-home-btn {
    font-size: 13px;
    padding: 6px 0;
  }
  .back-home-btn i {
    font-size: 14px;
  }
}
/* Sembunyikan dari Googlebot dengan CSS */
@media (max-width: 0px) {
  /* Hanya untuk crawler */
  .back-home-wrapper {
    display: none !important;
  }
}
.register-brand {
  flex: 0.8;
}

.form-header {
  margin-bottom: 1.8rem;
}

.row-2cols {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.input-group {
  flex: 1;
  margin-bottom: 0;
}
.input-group.full-width {
  margin-bottom: 1.5rem;
  width: 100%;
}

.terms-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 1.5rem 0 1.8rem;
  font-size: 0.85rem;
  color: #2c3e4e;
}
.terms-checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: #1ea9e2;
  cursor: pointer;
}
.terms-checkbox input:focus {
  outline: 2px solid rgba(30, 169, 226, 0.3);
  outline-offset: 2px;
}
.terms-checkbox a {
  color: #1ea9e2;
  text-decoration: none;
  font-weight: 500;
}
.terms-checkbox a:hover {
  text-decoration: underline;
}

.login-prompt {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.85rem;
  color: #6c7a89;
}
.login-prompt a {
  color: #1ea9e2;
  font-weight: 600;
  text-decoration: none;
}
.login-prompt a:hover {
  text-decoration: underline;
}

.password-strength-container {
  margin-top: 8px;
  padding: 10px 12px;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
}
.password-strength-container.active {
  background: #f1f3f5;
  border-color: #dee2e6;
}

.password-strength-bar {
  display: flex;
  gap: 4px;
  margin-bottom: 8px;
}

.strength-segment {
  flex: 1;
  height: 4px;
  background: #e9ecef;
  border-radius: 2px;
  transition: all 0.4s ease;
}
.strength-segment.weak {
  background: #e53e3e;
}
.strength-segment.fair {
  background: #ed8936;
}
.strength-segment.good {
  background: #ecc94b;
}
.strength-segment.strong {
  background: #48bb78;
}
.strength-segment.very-strong {
  background: #38a169;
}

.password-strength-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #4a5568;
}

.password-strength-text {
  font-weight: 600;
  font-size: 13px;
}
.password-strength-text.weak {
  color: #e53e3e;
}
.password-strength-text.fair {
  color: #ed8936;
}
.password-strength-text.good {
  color: #d69e2e;
}
.password-strength-text.strong {
  color: #48bb78;
}
.password-strength-text.very-strong {
  color: #38a169;
}

.password-requirements {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
}

.requirement-item {
  font-size: 12px;
  color: #718096;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: all 0.3s ease;
}
.requirement-item i {
  font-size: 12px;
  transition: all 0.3s ease;
}
.requirement-item.met {
  color: #48bb78;
}
.requirement-item.met i {
  color: #48bb78;
}
.requirement-item.unmet {
  color: #a0aec0;
}
.requirement-item.unmet i {
  color: #a0aec0;
}

.password-hint {
  font-size: 11px;
  color: #a0aec0;
  margin-top: 6px;
  font-style: italic;
}

.phone-hint {
  font-size: 12px;
  color: #718096;
  margin-top: 4px;
  transition: all 0.3s ease;
}
.phone-hint i {
  margin-right: 4px;
}
.phone-hint.valid {
  color: #48bb78;
}
.phone-hint.invalid {
  color: #e53e3e;
}

.password-wrapper {
  position: relative;
  width: 100%;
}
.password-wrapper .input-field {
  width: 100%;
  padding-right: 5.5rem;
  padding-left: 2.8rem;
}
.password-wrapper .input-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 2;
  transition: color 0.2s ease;
}
.password-wrapper .toggle-password {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  color: #6c7a89;
  cursor: pointer;
  z-index: 3;
  transition: color 0.2s ease, transform 0.2s ease;
}
.password-wrapper .toggle-password:hover {
  color: #1ea9e2;
}
.password-wrapper .toggle-password:focus {
  outline: none;
}
.password-wrapper .toggle-password:active {
  transform: translateY(-50%) scale(0.92);
}
.password-wrapper .toggle-password i {
  font-size: 0.95rem;
}
.password-wrapper .input-field.is-valid ~ .input-icon {
  color: #28a745;
}
.password-wrapper .input-field.is-invalid ~ .input-icon {
  color: #e53e3e;
}

.input-wrapper {
  position: relative;
}
.input-wrapper .input-field {
  padding-left: 2.8rem;
  width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.input-wrapper .input-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 2;
  color: #a0aec0;
  transition: color 0.2s ease;
}
.input-wrapper .input-field.is-valid ~ .input-icon {
  color: #28a745;
}
.input-wrapper .input-field.is-invalid ~ .input-icon {
  color: #e53e3e;
}

.field-error {
  display: block;
  min-height: 0;
  margin-top: 0.45rem;
  font-size: 0.78rem;
  line-height: 1.4;
  color: #e53e3e;
  transition: color 0.2s ease, opacity 0.2s ease;
}
.field-error i {
  margin-right: 0.3rem;
}
.field-error.is-success {
  color: #28a745;
}
.field-error.is-success i {
  color: #28a745;
}

.field-error-backend {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.78rem;
  line-height: 1.4;
  color: #e53e3e;
}
.field-error-backend i {
  margin-right: 0.3rem;
}

.input-field {
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.input-field.is-valid {
  border-color: #28a745;
}
.input-field.is-valid:focus {
  border-color: #28a745;
  box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}
.input-field.is-invalid {
  border-color: #e53e3e;
}
.input-field.is-invalid:focus {
  border-color: #e53e3e;
  box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1);
}

.global-error-alert,
.global-success-alert {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  line-height: 1.4;
  animation: validationSlideDown 0.25s ease;
}
.global-error-alert > i,
.global-success-alert > i {
  flex-shrink: 0;
}
.global-error-alert span,
.global-success-alert span {
  flex: 1;
}
.global-error-alert button,
.global-success-alert button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  border-radius: 5px;
  flex-shrink: 0;
}
.global-error-alert button:hover,
.global-success-alert button:hover {
  background: rgba(0, 0, 0, 0.05);
}

.global-error-alert {
  color: #b42318;
  background: #fff5f5;
  border: 1px solid rgba(229, 62, 62, 0.2);
}
.global-error-alert > i {
  color: #e53e3e;
}
.global-error-alert button:hover {
  background: rgba(229, 62, 62, 0.08);
}

.global-success-alert {
  color: #176b36;
  background: #f0fff4;
  border: 1px solid rgba(40, 167, 69, 0.2);
}
.global-success-alert > i {
  color: #28a745;
}
.global-success-alert button:hover {
  background: rgba(40, 167, 69, 0.08);
}

@keyframes validationSlideDown {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 680px) {
  .row-2cols {
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 0;
  }
  .input-group.full-width, .input-group:not(.full-width) {
    margin-bottom: 1.2rem;
  }
  .password-wrapper .input-field {
    padding-right: 5rem;
  }
  .password-wrapper .toggle-password {
    right: 0.6rem;
  }
  .field-error,
  .field-error-backend {
    font-size: 0.75rem;
  }
  .global-error-alert,
  .global-success-alert {
    padding: 0.75rem 0.85rem;
    font-size: 0.8rem;
  }
  .password-strength-container {
    padding: 8px 10px;
  }
  .password-requirements {
    gap: 4px 12px;
  }
  .requirement-item {
    font-size: 11px;
  }
}/*# sourceMappingURL=register.css.map */