
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #05070c;
  --bg-soft: #090d16;
  --panel: #0d1320;
  --panel-light: #111a2a;
  --border: rgba(111, 156, 220, 0.16);
  --blue: #2688ff;
  --blue-light: #62b1ff;
  --text: #f3f7ff;
  --muted: #94a3b8;
  --green: #42d6a0;
  --danger: #ff6b7d;
  --radius: 20px;
  --glow: 0 0 38px rgba(27, 116, 255, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(ellipse at 12% 0%, rgba(0, 105, 255, 0.16), transparent 36%),
    radial-gradient(ellipse at 90% 18%, rgba(64, 43, 180, 0.12), transparent 32%),
    linear-gradient(145deg, #05070c 0%, #080c14 48%, #05070c 100%);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.65;
}

body,
button,
input,
textarea,
select {
  font-family: 'Inter', sans-serif;
}

button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

a {
  color: var(--blue-light);
  text-decoration: none;
}

a:hover {
  color: #a0d1ff;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--blue-light);
  outline-offset: 4px;
}

.hidden,
[hidden] {
  display: none !important;
}

/* MAIN LAYOUT */

.app-shell {
  width: min(1440px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  padding: 28px 36px;
}

.brand-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  margin-bottom: 38px;
  padding: 22px 28px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(11, 17, 29, 0.86);
  box-shadow: var(--glow);
  backdrop-filter: blur(20px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 15px;
}

.brand-symbol {
  display: grid;
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  place-items: center;
  border: 1px solid rgba(90, 167, 255, 0.45);
  border-radius: 17px;
  background: linear-gradient(145deg, #167cff, #06419d);
  box-shadow: 0 0 28px rgba(38, 136, 255, 0.3);
  color: white;
  font-size: 25px;
  font-weight: 800;
}

.brand-word {
  color: #f7faff;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -1px;
}

.header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}

.secure-indicator {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 15px;
  border: 1px solid rgba(66, 214, 160, 0.2);
  border-radius: 999px;
  background: rgba(66, 214, 160, 0.06);
  color: #8aeac8;
  font-size: 13px;
  font-weight: 600;
}

.secure-indicator::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px rgba(66, 214, 160, 0.8);
  content: "";
}

/* TYPOGRAPHY */

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.2;
  letter-spacing: -1.8px;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.3;
  letter-spacing: -0.8px;
}

h3 {
  font-size: 19px;
  line-height: 1.4;
}

.eyebrow,
.card-label {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--blue-light);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.muted,
.auth-intro p,
.card-description {
  color: var(--muted);
}

/* AUTHENTICATION */

.auth-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr);
  align-items: center;
  gap: 60px;
  width: 100%;
  max-width: 1220px;
  margin: 55px auto 80px;
}

.auth-intro {
  max-width: 600px;
}

.auth-intro > p {
  max-width: 510px;
  margin-bottom: 28px;
  font-size: 17px;
  line-height: 1.9;
}

.feature-list {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}

.feature-list > div,
.feature-list > li {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #d6e3f7;
  font-size: 15px;
}

.auth-card,
.register-card {
  width: 100%;
  padding: 38px;
  border: 1px solid rgba(111, 156, 220, 0.22);
  border-radius: 26px;
  background:
    linear-gradient(145deg, rgba(20, 31, 50, 0.96), rgba(9, 14, 24, 0.98));
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.35),
    0 0 45px rgba(27, 116, 255, 0.09);
  backdrop-filter: blur(24px);
  animation: card-enter 0.5s ease both;
}

.card-heading {
  margin-bottom: 30px;
}

.card-heading p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  margin-bottom: 10px;
  color: #e1eaff;
  font-size: 14px;
  font-weight: 600;
}

.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 58px;
  border: 1px solid rgba(127, 163, 214, 0.22);
  border-radius: 14px;
  background: rgba(3, 8, 17, 0.72);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.input-wrap:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(38, 136, 255, 0.12);
}

.input-wrap input {
  width: 100%;
  min-width: 0;
  height: 56px;
  padding: 0 17px;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--text);
  font-size: 15px;
}

.input-wrap input::placeholder {
  color: #64748b;
}

.input-wrap input:focus-visible {
  outline: none;
}

.input-wrap button {
  flex-shrink: 0;
  margin-right: 9px;
  padding: 9px 12px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--blue-light);
  font-size: 13px;
  font-weight: 700;
}

input,
textarea,
select {
  color: var(--text);
}

input:not([type="checkbox"]):not([type="radio"]),
textarea,
select {
  accent-color: var(--blue);
}

input::placeholder,
textarea::placeholder {
  color: #64748b;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 750;
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
}

.primary-button {
  background: linear-gradient(110deg, #0756b8, #1689ff);
  box-shadow: 0 9px 28px rgba(13, 105, 228, 0.25);
  color: white;
}

.primary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(13, 105, 228, 0.38);
  filter: brightness(1.1);
}

.secondary-button {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.035);
  color: #dce9fc;
}

.secondary-button:hover {
  border-color: rgba(98, 177, 255, 0.5);
  background: rgba(38, 136, 255, 0.08);
}

.auth-card .primary-button,
.register-card .primary-button {
  width: 100%;
}

.text-button {
  padding: 5px;
  border: 0;
  background: transparent;
  color: var(--blue-light);
  font-size: 14px;
  font-weight: 650;
}

.auth-switch {
  margin-top: 26px;
  color: var(--muted);
  text-align: center;
  font-size: 14px;
}

.security-note {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: #8091a9;
  font-size: 12px;
  line-height: 1.8;
}

.form-message {
  margin: 15px 0;
  padding: 13px 15px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.form-message.success {
  border-color: rgba(66, 214, 160, 0.25);
  background: rgba(66, 214, 160, 0.08);
  color: #86ebc8;
}

.form-message.error {
  border-color: rgba(255, 107, 125, 0.3);
  background: rgba(255, 107, 125, 0.08);
  color: #ff9eaa;
}

/* REGISTRATION */

.register-section {
  width: 100%;
  max-width: 650px;
  margin: 45px auto 80px;
}

.register-card {
  padding: 42px;
}

.account-number-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.account-number-row .input-wrap {
  flex: 1;
  min-width: 0;
}

.account-number-row button {
  min-height: 56px;
}

.captcha-box {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 80px;
  margin: 25px 0;
  padding: 18px;
  border: 1px solid rgba(127, 163, 214, 0.22);
  border-radius: 15px;
  background: rgba(3, 8, 17, 0.6);
}

.captcha-checkbox {
  display: grid;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  place-items: center;
  border: 2px solid #718198;
  border-radius: 8px;
  background: #080d17;
  color: white;
}

.captcha-box.verified .captcha-checkbox {
  border-color: var(--green);
  background: #087d5a;
}

.captcha-box.verified .captcha-check {
  color: white;
}

.captcha-box.loading .captcha-checkbox {
  border-color: var(--blue);
}

.captcha-spinner {
  width: 22px;
  height: 22px;
  border: 3px solid rgba(98, 177, 255, 0.2);
  border-top-color: var(--blue-light);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.captcha-brand {
  margin-left: auto;
  color: #91a6c2;
  font-size: 11px;
  text-align: center;
}

/* DASHBOARD */

.dashboard-section {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
}

.dashboard-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
  padding: 26px 30px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(13, 19, 32, 0.85);
  box-shadow: var(--glow);
}

.dashboard-topbar h1 {
  margin-bottom: 8px;
  font-size: clamp(26px, 3vw, 36px);
}

.dashboard-topbar p {
  margin-bottom: 0;
  color: var(--muted);
}

.virtual-account-notice {
  margin-bottom: 28px;
  padding: 16px 20px;
  border: 1px solid rgba(38, 136, 255, 0.25);
  border-radius: 15px;
  background: rgba(38, 136, 255, 0.075);
  color: #b5d8ff;
  font-size: 13px;
  line-height: 1.8;
}

.balance-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 32px;
}

.balance-card {
  position: relative;
  min-height: 190px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: linear-gradient(145deg, #111b2c, #0a101c);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.14);
}

.balance-card:first-child {
  border-color: rgba(38, 136, 255, 0.45);
  background:
    radial-gradient(ellipse at 100% 0%, rgba(38, 136, 255, 0.23), transparent 60%),
    linear-gradient(145deg, #0c3670, #0b172a 85%);
  box-shadow: 0 0 38px rgba(38, 136, 255, 0.13);
}

.balance-card::after {
  position: absolute;
  top: -45px;
  right: -35px;
  width: 130px;
  height: 130px;
  border: 1px solid rgba(98, 177, 255, 0.08);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.balance-card .balance-label {
  display: block;
  margin-bottom: 18px;
  color: #9eb2ce;
  font-size: 14px;
  font-weight: 600;
}

.balance-amount {
  display: block;
  overflow-wrap: anywhere;
  color: #f7fbff;
  font-size: clamp(24px, 2.6vw, 35px);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -1px;
}

.balance-main {
  margin-top: 14px;
  color: #c2d4eb;
  font-size: 13px;
}

.balance-available {
  color: #60e0b2;
}

.balance-held {
  color: #f3c97b;
}

/* DASHBOARD PANELS */

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: start;
  gap: 25px;
  margin-bottom: 30px;
}

.dashboard-panel,
.transaction-panel {
  min-width: 0;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(13, 19, 32, 0.86);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
}

.dashboard-panel h2,
.transaction-panel h2 {
  margin-bottom: 22px;
  font-size: 24px;
}

.dashboard-panel h3 {
  margin-bottom: 16px;
  font-size: 18px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
}

.service-item {
  display: flex;
  min-width: 0;
  min-height: 125px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 19px 10px;
  border: 1px solid rgba(127, 163, 214, 0.1);
  border-radius: 17px;
  background: #111a2a;
  color: #dbe8fa;
  text-align: center;
  transition: border-color 0.2s, background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.service-item:hover {
  transform: translateY(-4px);
  border-color: rgba(38, 136, 255, 0.4);
  background: #16243a;
  box-shadow: 0 10px 28px rgba(38, 136, 255, 0.09);
}

.service-item:active {
  transform: scale(0.98);
}

.service-item > span,
.service-item > strong {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.service-item .service-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(98, 177, 255, 0.17);
  border-radius: 15px;
  background: rgba(38, 136, 255, 0.12);
  color: #6bb7ff;
  font-size: 23px;
}

.transaction-list {
  display: grid;
  gap: 14px;
}

.transaction-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 17px 0;
  border-bottom: 1px solid var(--border);
}

.transaction-item:last-child {
  border-bottom: 0;
}

.empty-state {
  padding: 42px 20px;
  color: #7f91aa;
  text-align: center;
  font-size: 14px;
}

/* MODALS */

.modal-overlay {
  position: fixed;
  z-index: 9999;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px;
  overflow-y: auto;
  background: rgba(1, 4, 10, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: fade-in 0.2s ease both;
}

.modal-card {
  position: relative;
  width: min(520px, 100%);
  max-height: calc(100vh - 50px);
  padding: 36px;
  overflow-y: auto;
  border: 1px solid rgba(98, 177, 255, 0.25);
  border-radius: 25px;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(38, 136, 255, 0.12), transparent 45%),
    #0e1625;
  box-shadow:
    0 30px 100px rgba(0, 0, 0, 0.6),
    0 0 55px rgba(38, 136, 255, 0.13);
  animation: modal-enter 0.25s ease both;
}

.modal-card h2 {
  margin-bottom: 15px;
  padding-right: 35px;
  color: #f4f8ff;
  font-size: 29px;
}

.modal-card p {
  margin-bottom: 23px;
  color: #a2b3ca;
  font-size: 14px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: #121e30;
  color: #d9e8ff;
  font-size: 24px;
  line-height: 1;
  transition: background 0.2s, border-color 0.2s;
}

.modal-close:hover {
  border-color: rgba(98, 177, 255, 0.5);
  background: #1b3150;
}

.service-modal-note {
  margin-bottom: 24px;
  padding: 17px;
  border: 1px solid rgba(38, 136, 255, 0.2);
  border-radius: 14px;
  background: rgba(38, 136, 255, 0.07);
  color: #a8cfff;
  font-size: 13px;
  line-height: 1.8;
}

.modal-card .primary-button {
  width: 100%;
  min-height: 58px;
}

/* TOAST */

.toast-message {
  position: fixed;
  z-index: 10001;
  right: 28px;
  bottom: 28px;
  width: max-content;
  max-width: min(440px, calc(100vw - 32px));
  padding: 17px 22px;
  border: 1px solid rgba(98, 177, 255, 0.25);
  border-radius: 15px;
  background: #101a2a;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.35);
  color: #edf5ff;
  font-size: 14px;
  overflow-wrap: anywhere;
  animation: toast-enter 0.25s ease both;
}

.toast-message.success {
  border-color: rgba(66, 214, 160, 0.35);
}

.toast-message.error {
  border-color: rgba(255, 107, 125, 0.35);
}

/* FOOTER */

.site-footer {
  margin-top: 55px;
  padding: 26px 10px;
  border-top: 1px solid var(--border);
  color: #75869d;
  text-align: center;
  font-size: 12px;
  line-height: 1.9;
}

/* ANIMATIONS */

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes card-enter {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes modal-enter {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes toast-enter {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* TABLET */

@media (max-width: 1000px) {
  .app-shell {
    padding: 22px;
  }

  .auth-section {
    grid-template-columns: 1fr;
    gap: 35px;
    max-width: 620px;
    margin-top: 30px;
  }

  .auth-intro {
    text-align: center;
    margin: 0 auto;
  }

  .auth-intro > p {
    margin-right: auto;
    margin-left: auto;
  }

  .feature-list {
    display: inline-grid;
    text-align: left;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .balance-grid {
    gap: 15px;
  }

  .balance-card {
    padding: 23px;
  }
}

/* MOBILE */

@media (max-width: 640px) {
  body {
    font-size: 14px;
  }

  .app-shell {
    padding: 13px;
  }

  .brand-header {
    margin-bottom: 22px;
    padding: 16px;
    border-radius: 18px;
  }

  .brand {
    gap: 10px;
  }

  .brand-symbol {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    font-size: 21px;
  }

  .brand-word {
    font-size: 21px;
  }

  .header-right {
    gap: 8px;
  }

  .secure-indicator {
    padding: 8px 10px;
    font-size: 11px;
  }

  .auth-section {
    gap: 25px;
    margin: 25px auto 45px;
  }

  h1 {
    font-size: 32px;
    letter-spacing: -1px;
  }

  h2 {
    font-size: 27px;
  }

  .auth-intro > p {
    font-size: 15px;
  }

  .auth-card,
  .register-card {
    padding: 24px 19px;
    border-radius: 21px;
  }

  .card-heading {
    margin-bottom: 24px;
  }

  .form-group {
    margin-bottom: 19px;
  }

  .input-wrap {
    min-height: 55px;
  }

  .input-wrap input {
    height: 53px;
    font-size: 14px;
  }

  .primary-button,
  .secondary-button {
    min-height: 54px;
    padding: 13px 16px;
    font-size: 14px;
  }

  .dashboard-topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    padding: 21px;
  }

  .dashboard-topbar h1 {
    font-size: 27px;
  }

  .virtual-account-notice {
    padding: 14px;
  }

  .balance-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .balance-card {
    min-height: 145px;
    padding: 23px;
    border-radius: 19px;
  }

  .balance-card .balance-label {
    margin-bottom: 10px;
  }

  .balance-amount {
    font-size: 30px;
  }

  .dashboard-grid {
    gap: 18px;
  }

  .dashboard-panel,
  .transaction-panel {
    padding: 20px 15px;
    border-radius: 19px;
  }

  .dashboard-panel h2,
  .transaction-panel h2 {
    font-size: 22px;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .service-item {
    min-height: 130px;
    padding: 17px 10px;
  }

  .service-item .service-icon {
    width: 47px;
    height: 47px;
  }

  .account-number-row {
    align-items: stretch;
    flex-direction: column;
  }

  .account-number-row button {
    width: 100%;
  }

  .captcha-box {
    gap: 12px;
    padding: 14px;
  }

  .modal-overlay {
    align-items: center;
    padding: 16px;
  }

  .modal-card {
    padding: 28px 22px;
    border-radius: 22px;
  }

  .modal-card h2 {
    font-size: 25px;
  }

  .modal-close {
    top: 13px;
    right: 13px;
    width: 39px;
    height: 39px;
  }

  .toast-message {
    right: 12px;
    bottom: 12px;
    left: 12px;
    width: auto;
    max-width: none;
  }

  .site-footer {
    margin-top: 35px;
  }
}

/* SMALL MOBILE */

@media (max-width: 380px) {
  .app-shell {
    padding: 9px;
  }

  .brand-header {
    padding: 13px;
  }

  .brand-word {
    font-size: 18px;
  }

  .service-grid {
    gap: 9px;
  }

  .service-item {
    min-height: 116px;
    padding: 13px 7px;
  }

  .balance-amount {
    font-size: 26px;
  }
}

/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


/* =========================================
   NEXABANK - SERVICE FORM FIX
========================================= */

#serviceModalBody {
  display: block;
  width: 100%;
  min-width: 0;
  margin-top: 20px;
}

#serviceModalBody .nexa-service-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  min-width: 0;
  margin: 0;
}

#serviceModalBody .nexa-form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  min-width: 0;
  color: #dbe7f7;
  font-size: 13px;
  font-weight: 600;
}

#serviceModalBody .nexa-form-field input,
#serviceModalBody .nexa-form-field select {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: 46px;
  margin: 0;
  padding: 0 14px;
  border: 1px solid #293d59;
  border-radius: 10px;
  outline: none;
  background: #0b1526;
  color: #f4f7ff;
  font: inherit;
  font-size: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

#serviceModalBody .nexa-form-field input:focus,
#serviceModalBody .nexa-form-field select:focus {
  border-color: #2388ff;
  box-shadow: 0 0 0 3px rgba(35, 136, 255, 0.14);
}

#serviceModalBody .nexa-form-field input::placeholder {
  color: #71839d;
}

#serviceModalBody .nexa-service-submit {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-height: 46px;
  margin-top: 4px;
  padding: 12px 18px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(110deg, #0862d1, #1688ff);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: filter 0.2s, transform 0.2s;
}

#serviceModalBody .nexa-service-submit:hover {
  filter: brightness(1.12);
}

#serviceModalBody .nexa-service-submit:active {
  transform: scale(0.99);
}

#serviceModalBody .nexa-service-submit:disabled {
  cursor: wait;
  opacity: 0.65;
}

#serviceModalBody .nexa-form-message {
  padding: 12px;
  border: 1px solid #293d59;
  border-radius: 10px;
  background: #101e32;
  color: #cbd8eb;
  font-size: 13px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

#serviceModalBody .nexa-form-message.success {
  border-color: #167c57;
  color: #7af0bb;
}

#serviceModalBody .nexa-form-message.error {
  border-color: #a84350;
  color: #ffabb4;
}

#serviceModalBody .nexa-reference {
  margin-top: 8px;
  color: #8dbfff;
  font-size: 12px;
  overflow-wrap: anywhere;
}

#serviceModalDescription {
  line-height: 1.7;
}

@media (max-width: 520px) {
  #serviceModalBody .nexa-form-field input,
  #serviceModalBody .nexa-form-field select {
    height: 44px;
  }

  #serviceModalBody .nexa-service-form {
    gap: 14px;
  }
}


#serviceModalOk {
  display: none !important;
}

#serviceModalBody {
  margin-bottom: 0;
  padding-bottom: 0;
}


/* Hilangkan catatan bawaan modal layanan */
#serviceModal .service-note,
#serviceModal .service-notice,
#serviceModal .service-info,
#serviceModal .modal-note,
#serviceModal .modal-notice {
  display: none !important;
}
