body {
  background-color: #E9F6FF;
  min-height: 100vh;
  font-family: "Poppins", sans-serif;
  color: #0b2540;
}

.ky-section {
  min-height: 100vh;
}

.ky-text-primary {
  color: #0650A7;
}

.ky-auth-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
}

.ky-home-wrapper {
  min-height: 100vh;
  display: flex;
  justify-content: center;
}

.ky-auth-card {
  width: 100%;
  max-width: 380px;
  padding: 32px 28px 28px;
}

.ky-home-card {
  width: 100%;
  max-width: 400px;
  padding: 0;
}

.ky-logo {
  display: block;
  width: 72px;
  height: auto;
  margin: 0 auto 30px;
}

.ky-title {
  font-size: 20px;
  font-weight: 700;
  color: #0650A7;
  text-align: center;
  margin-bottom: 30px;
}

.ky-title-left {
  text-align: left;
}

.ky-subtitle {
  font-size: 14px;
  color: #4b5d75;
  text-align: center;
  margin-bottom: 24px;
}

.ky-field {
  margin-bottom: 16px;
}

.ky-label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 6px;
  color: #1c3554;
}

.ky-input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #c7d8ea;
  background: #ffffff;
  font-size: 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  outline: none;
}

.ky-input:focus {
  border-color: #0650A7;
}

.ky-input::placeholder {
  color: #9ab0c5;
}

.ky-actions-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 4px;
  margin-bottom: 20px;
}

.ky-link {
  color: #0650A7;
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
}

.ky-link:hover {
  color: #043b7d;
  text-decoration: underline;
}

.ky-btn {
  width: 100%;
  border-radius: 10px;
  padding: 12px 14px;
  font-weight: 700;
  font-size: 15px;
}

.ky-btn-sm {
  border-radius: 8px;
  padding: 8px 12px;
  font-weight: 600;
  font-size: 13px;
  text-align: center;
}

.ky-btn-primary {
  background: #0650A7;
  color: #ffffff;
  border: none;
}

.ky-btn-ghost {
  background: #ffffff;
  color: #0650A7;
}

.ky-muted {
  color: #6c8098;
  font-size: 13px;
  text-align: center;
  margin-top: 14px;
}

.ky-inline-link {
  font-weight: 700;
  color: #0650A7;
  text-decoration: none;
}

.ky-inline-link:hover {
  color: #043b7d;
  text-decoration: underline;
}

.ky-back-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0650A7;
  font-weight: 700;
  text-decoration: none;
}

.ky-back-row:hover {
  color: #043b7d;
}

.ky-back-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
}

.ky-back-icon {
  width: 20px;
  height: 20px;
  stroke: #0650A7;
  stroke-width: 2.2;
  cursor: pointer;
}

a {
  text-decoration: none;
}

.ky-nav {
  color: #0650A7;
  backdrop-filter: blur(4px) saturate(200%);
  -webkit-backdrop-filter: blur(4px) saturate(200%);
  background-color: rgba(255, 255, 255, 0.65);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.ky-logo-small {
  width: auto;
  height: 20px;
}

.ky-nav-title {
  font-size: 16px;
  font-weight: 600;
  color: #0650A7;
  margin-bottom: 0;
}

.ky-nav-balance {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #0650A7;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  background: #E9F6FF;
  padding: 4px;
  border-radius: 6px;
}

.ky-row {
  --bs-gutter-y: 0;
  --bs-gutter-x: 0;
  display: flex;
  flex-wrap: wrap;
  margin-top: calc(-1 * var(--bs-gutter-y));
  margin-right: calc(-.5 * var(--bs-gutter-x));
  margin-left: calc(-.5 * var(--bs-gutter-x));
}

.ky-home-subtitle {
  font-size: 16px;
  font-weight: 500;
  color: #0650A7;
}

.card-l {
  position: relative;
  background: #f5f5f7;
  border-radius: 8px;
  padding: 4px 20px 8px 70px;
  box-shadow: 0 1px 30px rgba(0, 0, 0, 0.08);
  height: 73px;
}

.card-image-l {
  position: absolute;
  left: 9px;
  top: 0px;
  width: 50px;
  height: 50px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: top 0.5s ease-in-out;
}

.overlap {
  top: -14px;
}

.card-image-l img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-content-l {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin-left: 0px;
}

.card-title-l {
  font-size: 12px;
  font-weight: 600;
  color: #0650a7 !important;
  margin-bottom: 6px;
  line-height: 1.2;
}

.card-footer-l {
  display: flex;
  align-items: center;
  margin-top: auto;
  gap: 12px;
}

.promo-badge-l {
  background: #0650a7;
  color: white;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 6px;
}

.ky-footer-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  color: #919194
}

.ky-footer-icon {
  width: 22px;
  height: 22px;
}

.ky-footer-item p {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 0;
}

.ky-footer-active {
  color: #0560A7;
}

/* Account page */
.ky-account-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.ky-account-logo-pill {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ky-account-title {
  font-size: 16px;
  font-weight: 700;
  color: #0650A7;
  margin-bottom: 0;
}

.ky-profile-card {
  background-color: #0650A7;
  border-radius: 16px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  color: #ffffff;
}

.ky-profile-avatar {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  overflow: hidden;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ky-profile-avatar img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.ky-profile-name {
  font-size: 15px;
  font-weight: 700;
}

.ky-profile-label {
  font-size: 11px;
  opacity: 0.85;
}

.ky-profile-balance {
  margin-left: auto;
  padding: 6px 12px;
  border-radius: 999px;
  background-color: #ffffff;
  color: #0650A7;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
}

.ky-profile-balance-dot {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background-color: #ffc700;
}

.ky-card-block {
  background-color: #0650A7;
  border-radius: 18px;
  padding: 16px 16px 14px;
  margin-bottom: 18px;
  color: #ffffff;
}

.ky-card-block-header {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
}

.ky-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ky-contact-btn {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 13px;
  background-color: #ffffff;
  color: #0650A7;
  font-size: 12px;
  font-weight: 600;
}

.ky-contact-btn img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.ky-contact-btn-full {
  grid-column: span 2;
}

.ky-table-card {
  background-color: #ffffff;
  border-radius: 18px;
}

.ky-table-title {
  font-size: 14px;
  font-weight: 600;
  color: #0650A7;
  padding: 0 16px 10px;
}

.ky-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.ky-table thead {
  background-color: #f2f6ff;
}

.ky-table th,
.ky-table td {
  padding: 8px 14px;
  text-align: left;
  white-space: nowrap;
}

.ky-table th {
  font-weight: 600;
}

/* Message pages */
.ky-message-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  margin-bottom: 40px;
}

.ky-message-empty-icon {
  width: 120px;
  height: 120px;
  stroke: #0650A7;
  stroke-width: 1.5;
  margin-bottom: 20px;
}

.ky-message-empty-text {
  font-size: 16px;
  font-weight: 600;
  color: #0650A7;
  margin-bottom: 0;
}

.ky-message-card {
  background-color: #0650A7;
  border-radius: 14px;
  padding: 16px;
  color: #ffffff;
}

.ky-message-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

.ky-message-card-title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0;
}

.ky-message-card-time {
  font-size: 12px;
  color: #ffffff;
  opacity: 0.9;
  white-space: nowrap;
}

.ky-message-card-text {
  font-size: 13px;
  color: #ffffff;
  margin-bottom: 0;
  line-height: 1.5;
}

.ky-message-privacy {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 20px;
}

.ky-message-privacy-text {
  font-size: 13px;
  color: #0650A7;
  margin-bottom: 0;
}

.ky-offcanvas {
  width: 250px !important;
  background-color: #0650A7;
  color: #ffffff;
  display: flex;
  flex-direction: column;
}

.ky-offcanvas .offcanvas-header {
  display: none;
}

.ky-sidebar-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 16px;
}

.ky-sidebar-logo-box {
  width: 36px;
  height: 36px;
  background-color: #ffffff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
}

.ky-sidebar-title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0;
  flex: 1;
}

.ky-sidebar-close {
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ky-sidebar-divider {
  height: 1px;
  background-color: rgba(255, 255, 255, 0.3);
  margin: 0 16px;
}

.ky-sidebar-body {
  padding: 12px 0;
  flex: 1;
  overflow-y: auto;
}

.ky-sidebar-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: #ffffff;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.ky-sidebar-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.ky-sidebar-icon {
  width: 20px;
  height: 20px;
  stroke: #ffffff;
  stroke-width: 1.5;
  flex-shrink: 0;
}

.ky-sidebar-item span {
  font-size: 14px;
  font-weight: 500;
}

.ky-sidebar-footer {
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  margin-top: auto;
}

.ky-sidebar-logout {
  color: #ffffff;
}
