body {
  background: #f3f6fb;
}

.customer-login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 20px;
  background:
    radial-gradient(circle at top left, rgba(57, 167, 255, 0.14), transparent 30%),
    radial-gradient(circle at bottom right, rgba(42, 232, 199, 0.14), transparent 32%),
    #f3f6fb;
}

.customer-login-card {
  width: min(430px, 100%);
  background: #ffffff;
  border: 1px solid #e5ecf5;
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(20, 36, 64, 0.12);
  padding: 30px;
  display: grid;
  gap: 14px;
  text-align: center;
  justify-items: center;
}

.customer-login-card img {
  width: 160px;
  height: 95px;
  object-fit: contain;
  background: #ffffff;
  border: 1px solid #edf2f7;
  border-radius: 22px;
  padding: 12px;
}

.customer-login-card h1 {
  margin: 0;
  font-size: 27px;
}

.customer-login-card span {
  color: #64748b;
  font-size: 14px;
  line-height: 1.5;
}

.customer-login-card form {
  display: grid;
  gap: 10px;
  width: 100%;
  text-align: left;
}

.customer-login-card label {
  font-size: 13px;
  font-weight: 850;
}

.customer-login-card input {
  width: 100%;
  border: 1px solid #dce5f1;
  background: #f8fbff;
  border-radius: 14px;
  padding: 13px 14px;
  font-size: 14px;
}

.customer-login-card button {
  width: 100%;
}

.customer-link {
  color: #0b5cab;
  font-weight: 850;
  text-decoration: none;
  font-size: 13px;
}

.customer-portal {
  width: min(1180px, calc(100% - 34px));
  margin: 22px auto;
  display: grid;
  gap: 14px;
}

.customer-portal.locked {
  display: none;
}

.customer-header {
  background: #ffffff;
  border: 1px solid #e5ecf5;
  border-radius: 24px;
  padding: 18px;
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 18px;
  align-items: center;
  box-shadow: 0 10px 28px rgba(20, 36, 64, 0.055);
}

.customer-header img {
  width: 110px;
  height: 70px;
  object-fit: contain;
}

.customer-header h1 {
  margin: 0;
  font-size: 27px;
}

.customer-header span {
  color: #64748b;
  font-weight: 750;
}

.customer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.customer-card,
.customer-panel {
  border: 1px solid #e5ecf5;
  border-radius: 22px;
  padding: 18px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(20, 36, 64, 0.055);
}

.customer-card {
  display: grid;
  gap: 7px;
}

.customer-card span {
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.customer-card strong {
  font-size: 25px;
}

.customer-card small {
  color: #64748b;
  font-weight: 750;
}

.tone-yellow {
  background: linear-gradient(135deg, #fff9df 0%, #ffffff 72%);
}

.tone-green {
  background: linear-gradient(135deg, #eafff6 0%, #ffffff 72%);
}

.tone-blue {
  background: linear-gradient(135deg, #eaf4ff 0%, #ffffff 72%);
}

@media (max-width: 760px) {
  .customer-header {
    grid-template-columns: 1fr;
  }

  .customer-grid {
    grid-template-columns: 1fr;
  }
}

.payment-account-card {
  background: linear-gradient(135deg, #f2edff 0%, #ffffff 72%);
}

.customer-panel .cards-grid {
  grid-template-columns: repeat(3, minmax(180px, 1fr));
}

@media (max-width: 760px) {
  .customer-panel .cards-grid {
    grid-template-columns: 1fr;
  }
}

button,
.primary,
.soft,
.tiny-btn,
.modal-close {
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, border-color 0.16s ease, opacity 0.16s ease;
}

button:hover,
.primary:hover,
.soft:hover,
.tiny-btn:hover,
.modal-close:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.10);
}

button:active,
.primary:active,
.soft:active,
.tiny-btn:active,
.modal-close:active {
  transform: translateY(0);
}

.app-toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 5000;
  max-width: min(420px, calc(100vw - 34px));
  background: #07111f;
  color: #ffffff;
  border-radius: 16px;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 22px 60px rgba(7, 17, 31, 0.24);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.app-toast.show {
  opacity: 1;
  transform: translateY(0);
}

.app-toast.success {
  background: #057a55;
}

.app-toast.warning {
  background: #9a6500;
}

.app-toast.error {
  background: #b42318;
}

#v22CustomerSupportPanel {
  margin-bottom: 24px;
}

#v22CustomerTicketBody td {
  vertical-align: top;
}
