body {
  background-color: #F1F2F3
}

.card {
  width: 400px;
  background-color: #fff;
  border: none;
  border-radius: 12px
}

.card-crud {
  width: 650px;
  background-color: #fff;
  border: none;
  border-radius: 12px
}


label.radio {
  cursor: pointer;
  width: 100%
}

label.radio input {
  position: absolute;
  top: 0;
  left: 0;
  visibility: hidden;
  pointer-events: none
}

label.radio span {
  padding: 7px 14px;
  border: 2px solid #eee;
  display: inline-block;
  color: #039be5;
  border-radius: 10px;
  width: 100%;
  height: 48px;
  line-height: 27px
}

label.radio input:checked+span {
  border-color: #039BE5;
  background-color: #81D4FA;
  color: #fff;
  border-radius: 9px;
  height: 48px;
  line-height: 27px
}

.input-group-text {
  margin-top: 10px;
  height: 48px !important;

  color: #000000;
  border: 2px solid #eee;
}

.form-control {
  margin-top: 10px;
  height: 48px;
  border: 2px solid #eee;
  border-radius: 10px
}

.form-control:focus {
  box-shadow: none;
  border: 2px solid #039BE5
}

.form-select {
  margin-top: 10px;
  height: 48px;
  border: 2px solid #eee;
  border-radius: 10px
}

.form-select:focus {
  box-shadow: none;
  border: 2px solid #039BE5
}


.agree-text {
  font-size: 12px
}

.terms {
  font-size: 12px;
  text-decoration: none;
  color: #039BE5
}

.confirm-button {
  height: 50px;
  border-radius: 10px
}

#tab nav {
  display: flex;
}

#tab nav a {

  text-decoration: none;
  padding-left: 3.4rem;
  padding-right: 3.4rem;
  padding-top: 0.2rem;

  margin-right: 0.5rem;
  margin-left: 0.5rem;
  text-align: center;
  border: 2px solid #eee;
  display: inline-block;
  color: #039be5;
  border-radius: 10px;
}

#tab nav .active {

  border-color: #039BE5;
  background-color: #81D4FA;
  color: #fff;
  border-radius: 9px;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.loading-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 20% 20%, rgba(3, 155, 229, 0.15), transparent 35%),
    radial-gradient(circle at 80% 0%, rgba(129, 212, 250, 0.18), transparent 25%),
    rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
  transform: scale(1.02);
  z-index: 12000;
}

.loading-overlay.visible {
  opacity: 1;
  pointer-events: all;
  transform: scale(1);
}

.loading-panel {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(3, 155, 229, 0.05);
  min-width: 260px;
}

.loading-spinner {
  position: relative;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: conic-gradient(from 180deg, rgba(3, 155, 229, 0) 0%, #039be5 30%, #81d4fa 60%, rgba(3, 155, 229, 0));
  animation: spin 900ms linear infinite;
}

.loading-spinner::after {
  content: "";
  position: absolute;
  inset: 7px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) inset;
}

.loading-text {
  font-weight: 600;
  color: #0f172a;
  letter-spacing: 0.01em;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}


/* container utama */
.login-body {
  min-height: 100dvh; /* fix mobile viewport */
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #F1F2F3;
  padding: 16px;
}

/* wrapper */
.login-wrapper {
  width: 100%;
  max-width: 400px;
}

/* card */
.login-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px 28px 28px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.09);

  /* penting: biar gak overflow */
  width: 100%;
  box-sizing: border-box;
}

/* logo */
.login-logo {
  max-width: 220px;
  width: 100%;
  height: auto;
}

/* subtitle */
.login-subtitle {
  text-align: center;
  color: #6c757d;
  font-size: 13px;
  margin-bottom: 20px;
}

/* icon */
.toggle-eye {
  cursor: pointer;
}

.toggle-eye:hover {
  background-color: #f0f0f0;
}
