/* main_v1.css */

/* ===== API nav ===== */
.api-nav {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: #00abec;
  padding-top: 8px;
}

/* ===== API card ===== */
.api-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px 0 #d4edf3;
  padding: 28px;
}

.api-card__top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.api-card__icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #e8f7f7;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00b0bf;
  flex-shrink: 0;
}

.api-card__head {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.api-card__title {
  font-size: 16px;
  font-weight: 700;
  color: #191725;
}

.api-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.api-pill__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.api-pill--active {
  background: #e4f8ee;
  color: #1a8a50;
}
.api-pill--active .api-pill__dot { background: #1a8a50; }

.api-pill--inactive {
  background: #f0f2f5;
  color: #8a9ab0;
}
.api-pill--inactive .api-pill__dot { background: #b0bec8; }

/* key box */
.api-key-box {
  display: flex;
  align-items: center;
  gap: 0;
  background: #f4f8fb;
  border: 1px solid #d5e8f0;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 18px;
}

.api-key-box__value {
  font-family: 'Courier New', Courier, monospace;
  font-size: 11.5px;
  color: #2d4a5e;
  padding: 11px 14px;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  letter-spacing: 0.3px;
}

.api-key-box__copy {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-left: 1px solid #d5e8f0;
  color: #00b0bf;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.api-key-box__copy:hover { background: #e8f7f7; }
.api-key-box__copy.copied { background: #e4f8ee; color: #1a8a50; }

/* stats row */
.api-card__stats {
  display: flex;
  gap: 0;
  margin-bottom: 22px;
  border: 1px solid #e8f0f5;
  border-radius: 10px;
  overflow: hidden;
}

.api-card__stat {
  flex: 1;
  padding: 12px 14px;
  border-right: 1px solid #e8f0f5;
}
.api-card__stat:last-child { border-right: none; }

.api-card__stat-label {
  font-size: 11px;
  color: #758ca3;
  font-weight: 500;
  margin-bottom: 3px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.api-card__stat-value {
  font-size: 15px;
  font-weight: 700;
  color: #191725;
}

/* empty state */
.api-card__empty {
  text-align: center;
  padding: 30px 0 24px;
}

.api-card__empty svg {
  margin-bottom: 12px;
}

.api-card__empty-text {
  font-size: 15px;
  font-weight: 600;
  color: #4b5b77;
  margin-bottom: 4px;
}

.api-card__empty-sub {
  font-size: 13px;
  color: #a0b4c4;
}

/* actions */
.api-card__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.api-btn-danger {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: transparent;
  border: 1.5px solid #e8c0c0;
  color: #c0392b;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.api-btn-danger:hover {
  background: #fdf0f0;
  border-color: #c0392b;
}

/* ===== API docs ===== */
.api-docs {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px 0 #d4edf3;
  padding: 28px;
  height: 100%;
  box-sizing: border-box;
}

.api-docs__section {
  margin-bottom: 24px;
}
.api-docs__section:last-child { margin-bottom: 0; }

.api-docs__label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #00b0bf;
  margin-bottom: 6px;
}

.api-docs__desc {
  font-size: 13px;
  color: #758ca3;
  margin-bottom: 8px;
}

.api-code {
  font-family: 'Courier New', Courier, monospace;
  font-size: 12.5px;
  background: #111c2e;
  color: #a8d8f0;
  border-radius: 8px;
  padding: 12px 16px;
  word-break: break-all;
  line-height: 1.6;
}

.api-code__dim { color: #4a6b80; }
.api-code__key { color: #f9c74f; }

/* methods list */
.api-methods {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid #e8f0f5;
  border-radius: 10px;
  overflow: hidden;
}

.api-method {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid #f0f5f9;
  transition: background 0.12s;
}
.api-method:last-child { border-bottom: none; }
.api-method:hover { background: #f8fbfd; }

.api-method__badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  min-width: 38px;
  text-align: center;
  flex-shrink: 0;
}

.api-method__badge--get {
  background: #e4f8ee;
  color: #1a8a50;
}

.api-method__badge--post {
  background: #fff3e0;
  color: #bf6900;
}

.api-method__url {
  font-family: 'Courier New', Courier, monospace;
  font-size: 12.5px;
  color: #2d4a5e;
  flex-shrink: 0;
  min-width: 110px;
}

.api-method__desc {
  font-size: 13px;
  color: #758ca3;
}


/* ===== API Docs ===== */
.apidoc-wrap { align-items: flex-start; }

.apidoc-nav {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px 0 #d4edf3;
  padding: 20px 0;
  position: sticky;
  top: 20px;
}

.apidoc-nav__title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #758ca3;
  padding: 0 20px 10px;
}

.apidoc-nav__group {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #00b0bf;
  padding: 14px 20px 6px;
}

.apidoc-nav__link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 20px;
  font-size: 13px;
  font-weight: 500;
  color: #4b5b77;
  text-decoration: none;
  transition: background 0.12s, color 0.12s;
  border-left: 2px solid transparent;
}

.apidoc-nav__link--sub { padding-left: 24px; font-size: 12px; }
.apidoc-nav__link:hover { background: #f4f8fb; color: #00abec; }
.apidoc-nav__link.active { border-left-color: #00abec; background: #f0f9fe; color: #00abec; }

/* sections */
.apidoc-section {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px 0 #d4edf3;
  padding: 28px;
  margin-bottom: 20px;
  scroll-margin-top: 20px;
}

.apidoc-section__title {
  font-size: 18px;
  font-weight: 700;
  color: #191725;
  margin-bottom: 12px;
}

.apidoc-section__method-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.apidoc-section__method-url {
  font-family: 'Courier New', Courier, monospace;
  font-size: 17px;
  font-weight: 700;
  color: #191725;
}

.apidoc-text {
  font-size: 14px;
  color: #4b5b77;
  line-height: 1.6;
  margin-bottom: 0;
}

.apidoc-kv-row { display: flex; align-items: center; gap: 12px; margin-top: 12px; flex-wrap: wrap; }
.apidoc-kv-label { font-size: 12px; color: #758ca3; font-weight: 600; min-width: 110px; }

.apidoc-subsection-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: #00b0bf;
  margin-bottom: 10px;
  margin-top: 20px;
}

.apidoc-empty-params {
  font-size: 13px;
  color: #aab8c8;
  background: #f8fbfd;
  border-radius: 8px;
  padding: 12px 16px;
  border: 1px dashed #d5e8f0;
}

/* badges */
.apidoc-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.apidoc-badge--get { background: #e4f8ee; color: #1a8a50; }
.apidoc-badge--post { background: #fff3e0; color: #bf6900; }
.apidoc-badge--lg { font-size: 12px; padding: 4px 12px; border-radius: 6px; }

/* code blocks */
.apidoc-code {
  font-family: 'Courier New', Courier, monospace;
  font-size: 12.5px;
  background: #111c2e;
  color: #a8d8f0;
  border-radius: 8px;
  padding: 10px 14px;
}

.apidoc-code--sm { display: inline-block; }

.apidoc-code-block {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #1e2d42;
}

.apidoc-code-block__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #1a2638;
  padding: 8px 16px;
  font-size: 12px;
  color: #5a8099;
  font-family: 'Courier New', Courier, monospace;
}

.apidoc-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: 1px solid #2d4a60;
  color: #5a8099;
  border-radius: 5px;
  padding: 2px 10px;
  font-size: 11px;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}

.apidoc-copy-btn:hover { border-color: #00b0bf; color: #00b0bf; }

.apidoc-code-block__body {
  margin: 0;
  padding: 16px;
  background: #111c2e;
  color: #a8d8f0;
  font-family: 'Courier New', Courier, monospace;
  font-size: 12.5px;
  line-height: 1.7;
  overflow-x: auto;
  white-space: pre;
}

.apidoc-hl { color: #f9c74f; }
.apidoc-hl-key { color: #7ec8e3; }
.apidoc-hl-str { color: #a8d8a0; }
.apidoc-hl-num { color: #f9c74f; }
.apidoc-hl-bool { color: #ff9f7e; }

/* params table */
.apidoc-params-table {
  border: 1px solid #e8f0f5;
  border-radius: 10px;
  overflow: hidden;
  font-size: 12.5px;
}

.apidoc-params-table__head {
  display: grid;
  grid-template-columns: 2.5fr 0.6fr 0.4fr 2fr;
  gap: 8px;
  padding: 9px 14px;
  background: rgba(0,176,191,0.1);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #4b5b77;
}

.apidoc-params-table__group {
  padding: 8px 14px;
  background: #f8fbfd;
  font-size: 11px;
  font-weight: 700;
  color: #00b0bf;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-top: 1px solid #e8f0f5;
}

.apidoc-params-table__row {
  display: grid;
  grid-template-columns: 2.5fr 0.6fr 0.4fr 2fr;
  gap: 8px;
  padding: 8px 14px;
  border-top: 1px solid #f0f5f9;
  align-items: center;
  transition: background 0.1s;
}

.apidoc-params-table__row:hover { background: #f8fbfd; }

.apidoc-params-table__row code {
  font-family: 'Courier New', Courier, monospace;
  font-size: 11.5px;
  color: #2d4a5e;
  word-break: break-all;
}

.apidoc-params-table__row .req { color: #00b0bf; font-weight: 700; }
.apidoc-params-table__row .opt { color: #b0c4d0; }
.apidoc-params-table__row span:last-child { color: #758ca3; }

/* notice */
.apidoc-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #f0f9fe;
  border: 1px solid #b8e4ef;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 13px;
  color: #4b5b77;
  line-height: 1.5;
}

.apidoc-notice a { color: #00abec; text-decoration: none; }
.apidoc-notice a:hover { text-decoration: underline; }


/* ===== Docs link card ===== */
.api-docs-link {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  padding: 16px 20px;
  background: linear-gradient(122deg, #008fcc 0%, #00bbc7 100%);
  border-radius: 14px;
  text-decoration: none;
  transition: opacity 0.15s, transform 0.15s;
}

.api-docs-link:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.api-docs-link__icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255,255,255,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.api-docs-link__body { flex: 1; min-width: 0; }

.api-docs-link__title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}

.api-docs-link__sub {
  font-size: 12px;
  color: rgba(255,255,255,0.75);
}

.api-docs-link__arrow {
  color: rgba(255,255,255,0.7);
  flex-shrink: 0;
}

/* ===== Code tabs ===== */
.api-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 12px;
  border-bottom: 1px solid #e8f0f5;
  padding-bottom: 0;
}

.api-tab {
  padding: 7px 16px;
  font-size: 12px;
  font-weight: 700;
  color: #758ca3;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
  margin-bottom: -1px;
  border-radius: 0;
  letter-spacing: 0.3px;
}

.api-tab:hover { color: #00b0bf; }

.api-tab.active {
  color: #00abec;
  border-bottom-color: #00abec;
}

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


/* ===== Balance page ===== */
.bal-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px 0 #d4edf3;
  padding: 24px 28px;
}

.bal-card--balance {
  background: linear-gradient(122deg, #008fcc 0%, #00bbc7 100%);
  padding: 28px;
}

.bal-card__label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 8px;
}

.bal-card__amount {
  font-size: 42px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  letter-spacing: -1px;
}

.bal-card__pending {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  background: rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.9);
  border-radius: 100px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 500;
}

.bal-card__title {
  font-size: 16px;
  font-weight: 700;
  color: #191725;
  margin-bottom: 2px;
}

.bal-card__sub {
  font-size: 13px;
  color: #758ca3;
}

/* form */
.bal-label {
  font-size: 12px;
  font-weight: 600;
  color: #758ca3;
  display: block;
  margin-bottom: 7px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.bal-input-wrap {
  display: flex;
  align-items: center;
  background: #f4f8fb;
  border: 1.5px solid #d5e8f0;
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.15s;
}

.bal-input-wrap:focus-within { border-color: #00abec; }

.bal-input-prefix {
  padding: 0 14px;
  font-size: 18px;
  font-weight: 700;
  color: #00b0bf;
  background: #eaf6f8;
  height: 48px;
  display: flex;
  align-items: center;
  border-right: 1.5px solid #d5e8f0;
}

.bal-input {
  border: none;
  background: transparent;
  flex: 1;
  height: 48px;
  padding: 0 16px;
  font-size: 18px;
  font-weight: 600;
  color: #191725;
  outline: none;
}

.bal-input::placeholder { color: #b8ccd8; font-weight: 400; }

.bal-presets {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.bal-preset {
  padding: 6px 16px;
  border-radius: 100px;
  border: 1.5px solid #d5e8f0;
  background: #f4f8fb;
  font-size: 13px;
  font-weight: 600;
  color: #4b5b77;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.bal-preset:hover {
  border-color: #00abec;
  background: #e8f7f7;
  color: #00abec;
}

/* payment block */
.bal-card--payment { padding: 28px; }

.bal-payment__icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #e8f8f3;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bal-payment__title {
  font-size: 16px;
  font-weight: 700;
  color: #191725;
}

.bal-payment__sub {
  font-size: 13px;
  color: #758ca3;
}

.bal-payment__amount-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f4f8fb;
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 20px;
}

.bal-payment__amount-label {
  font-size: 13px;
  color: #758ca3;
  font-weight: 500;
}

.bal-payment__amount-value {
  font-size: 22px;
  font-weight: 700;
  color: #191725;
}

.bal-wallet-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #758ca3;
  margin-bottom: 7px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.bal-network-badge {
  background: #e4f8ee;
  color: #1a8a50;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.3px;
}

.bal-wallet-box {
  display: flex;
  align-items: center;
  background: #f4f8fb;
  border: 1px solid #d5e8f0;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 18px;
}

.bal-wallet-box__addr {
  font-family: 'Courier New', Courier, monospace;
  font-size: 12px;
  color: #2d4a5e;
  padding: 11px 14px;
  flex: 1;
  word-break: break-all;
  letter-spacing: 0.4px;
}

.bal-wallet-box__copy {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-left: 1px solid #d5e8f0;
  color: #00b0bf;
  cursor: pointer;
  transition: background 0.15s;
}

.bal-wallet-box__copy:hover { background: #e8f7f7; }
.bal-wallet-box__copy.copied { background: #e4f8ee; color: #1a8a50; }

.bal-qr-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 18px;
}

.bal-qr-box {
  background: #fff;
  border: 1px solid #e8f0f5;
  border-radius: 12px;
  padding: 12px;
  display: inline-flex;
  margin-bottom: 8px;
}

.bal-qr-hint {
  font-size: 12px;
  color: #a0b4c4;
}

.bal-payment__notice {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  background: #fff8ec;
  border: 1px solid #f5d89a;
  border-radius: 8px;
  padding: 11px 14px;
  font-size: 12.5px;
  color: #7a5200;
  line-height: 1.5;
  margin-bottom: 20px;
}

.bal-btn-sent {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  background: linear-gradient(122deg, #1a8a50 0%, #27b870 100%);
  border: none;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  letter-spacing: 0.3px;
  transition: opacity 0.15s;
}

.bal-btn-sent:hover { opacity: 0.88; }
.bal-btn-sent:disabled { opacity: 0.5; cursor: default; }

/* success */
.bal-card--success {
  text-align: center;
  padding: 40px 28px;
}

.bal-success__icon { margin-bottom: 16px; }

.bal-success__title {
  font-size: 18px;
  font-weight: 700;
  color: #191725;
  margin-bottom: 10px;
}

.bal-success__text {
  font-size: 14px;
  color: #758ca3;
  line-height: 1.6;
  max-width: 360px;
  margin: 0 auto 16px;
}

.bal-success__amount {
  font-size: 28px;
  font-weight: 700;
  color: #1a8a50;
}

/* history */
.bal-history-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #f0f5f9;
}

.bal-history-row:last-child { border-bottom: none; }

.bal-history-row__amount {
  font-size: 15px;
  font-weight: 700;
  color: #191725;
}

.bal-history-row__date {
  font-size: 12px;
  color: #a0b4c4;
  margin-top: 2px;
}

.bal-status {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
}

.bal-status--ok { background: #e4f8ee; color: #1a8a50; }
.bal-status--pending { background: #fff3e0; color: #bf6900; }
.bal-status--wait { background: #f0f5f9; color: #758ca3; }


/* ===== Transactions ===== */
.trx-summary {
  display: flex;
  gap: 14px;
  margin: 20px 0;
  flex-wrap: wrap;
}

.trx-summary__card {
  flex: 1;
  min-width: 160px;
  border-radius: 14px;
  padding: 18px 22px;
  box-shadow: 0 4px 20px 0 #d4edf3;
}

.trx-summary__card--in  { background: #fff; border-left: 4px solid #1a8a50; }
.trx-summary__card--out { background: #fff; border-left: 4px solid #e05555; }
.trx-summary__card--total { background: #fff; border-left: 4px solid #00b0bf; }

.trx-summary__label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #758ca3;
  margin-bottom: 6px;
}

.trx-summary__val {
  font-size: 22px;
  font-weight: 700;
  color: #191725;
}

.trx-summary__card--in  .trx-summary__val { color: #1a8a50; }
.trx-summary__card--out .trx-summary__val { color: #e05555; }

/* filters */
.trx-filters {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 20px 0 #d4edf3;
  padding: 16px 20px;
  margin-bottom: 16px;
}

.trx-filters__search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f4f8fb;
  border: 1.5px solid #d5e8f0;
  border-radius: 8px;
  padding: 0 12px;
  flex: 1;
  min-width: 180px;
  transition: border-color 0.15s;
}

.trx-filters__search:focus-within { border-color: #00abec; }

.trx-filters__input {
  border: none;
  background: transparent;
  height: 38px;
  font-size: 13px;
  color: #191725;
  outline: none;
  width: 100%;
}

.trx-filters__input::placeholder { color: #b8ccd8; }

.trx-filters__select {
  height: 38px;
  border: 1.5px solid #d5e8f0;
  border-radius: 8px;
  background: #f4f8fb;
  font-size: 13px;
  color: #4b5b77;
  padding: 0 10px;
  outline: none;
  cursor: pointer;
  transition: border-color 0.15s;
}

.trx-filters__select:focus { border-color: #00abec; }

.trx-filters__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 18px;
  background: linear-gradient(122deg, #008fcc 0%, #00bbc7 100%);
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.15s;
}

.trx-filters__btn:hover { opacity: 0.88; }

.trx-filters__reset {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #a0b4c4;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s;
}

.trx-filters__reset:hover { color: #e05555; }

/* table */
.trx-table-wrap {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 20px 0 #d4edf3;
  overflow: hidden;
}

.trx-table {
  width: 100%;
  border-collapse: collapse;
}

.trx-table thead tr {
  background: rgba(0,176,191,0.1);
}

.trx-table th {
  padding: 13px 16px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #4b5b77;
  text-align: left;
  white-space: nowrap;
}

.trx-table tbody tr {
  border-bottom: 1px solid #f0f5f9;
  transition: background 0.1s;
}

.trx-table tbody tr:last-child { border-bottom: none; }
.trx-table tbody tr:hover { background: #f8fbfd; }

.trx-table td {
  padding: 14px 16px;
  font-size: 13px;
  color: #4b5b77;
  vertical-align: middle;
}

.trx-td-id {
  font-family: 'Courier New', monospace;
  font-size: 12px;
  color: #a0b4c4;
}

.trx-td-comment {
  max-width: 260px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #4b5b77;
}

.trx-td-amount {
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.trx-amount--plus  { color: #1a8a50; }
.trx-amount--minus { color: #e05555; }

.trx-td-date {
  white-space: nowrap;
  color: #758ca3;
  font-size: 13px;
}

.trx-td-time {
  display: block;
  font-size: 11px;
  color: #a0b4c4;
  margin-top: 1px;
}

.trx-type-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.trx-type-badge--in  { background: #e4f8ee; color: #1a8a50; }
.trx-type-badge--out { background: #fdecea; color: #e05555; }

/* empty */
.trx-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  gap: 12px;
}

.trx-empty__text {
  font-size: 15px;
  color: #a0b4c4;
  font-weight: 500;
}

/* pagination */
.trx-pagination {
  margin-top: 16px;
  display: flex;
  justify-content: center;
}


/* ===== Partners ===== */
.prt-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px 0 #d4edf3;
  padding: 24px 28px;
}

.prt-card__icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #e8f7f7;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00b0bf;
  margin-bottom: 14px;
}

.prt-card__title {
  font-size: 16px;
  font-weight: 700;
  color: #191725;
  margin-bottom: 4px;
}

.prt-card__sub {
  font-size: 13px;
  color: #758ca3;
  line-height: 1.5;
}

.prt-link-box {
  display: flex;
  align-items: center;
  background: #f4f8fb;
  border: 1.5px solid #d5e8f0;
  border-radius: 10px;
  overflow: hidden;
}

.prt-link-box__url {
  flex: 1;
  padding: 11px 14px;
  font-size: 12.5px;
  color: #2d4a5e;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: 'Courier New', monospace;
}

.prt-link-box__copy {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-left: 1px solid #d5e8f0;
  color: #00b0bf;
  cursor: pointer;
  transition: background 0.15s;
}

.prt-link-box__copy:hover { background: #e8f7f7; }
.prt-link-box__copy.copied { background: #e4f8ee; color: #1a8a50; }

.prt-share {
  display: flex;
  gap: 8px;
}

.prt-share__btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.15s;
}

.prt-share__btn:hover { opacity: 0.82; }

.prt-share__btn--tg {
  background: #2AABEE;
  color: #fff;
}

.prt-share__btn--wa {
  background: #25D366;
  color: #fff;
}

/* stat cards */
.prt-stat-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 20px 0 #d4edf3;
  padding: 16px;
  text-align: center;
}

.prt-stat-card--income { border-top: 3px solid #1a8a50; }

.prt-stat-card__val {
  font-size: 22px;
  font-weight: 700;
  color: #191725;
  margin-bottom: 4px;
}

.prt-stat-card--income .prt-stat-card__val { color: #1a8a50; }

.prt-stat-card__label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #758ca3;
}

/* table wrap */
.prt-table-wrap {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px 0 #d4edf3;
  overflow: hidden;
}

.prt-table-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 20px 14px;
  border-bottom: 1px solid #f0f5f9;
}

.prt-table-head__title {
  font-size: 15px;
  font-weight: 700;
  color: #191725;
}

.prt-table-head__count {
  background: #e8f7f7;
  color: #00b0bf;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 100px;
}

.prt-ops-badge {
  display: inline-block;
  background: #f0f5f9;
  color: #4b5b77;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 100px;
}

.trx-empty__sub {
  font-size: 13px;
  color: #b8ccd8;
}


/* ===== Profile ===== */
.prof-avatar-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px 0 #d4edf3;
  padding: 28px 20px;
  text-align: center;
}

.prof-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(122deg, #008fcc 0%, #00bbc7 100%);
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  letter-spacing: 1px;
}

.prof-avatar-card__name {
  font-size: 16px;
  font-weight: 700;
  color: #191725;
  margin-bottom: 4px;
}

.prof-avatar-card__email {
  font-size: 12px;
  color: #758ca3;
  margin-bottom: 20px;
  word-break: break-all;
}

.prof-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1px solid #f0f5f9;
  padding-top: 18px;
  gap: 0;
}

.prof-stats__item {
  flex: 1;
  text-align: center;
  padding: 0 8px;
}

.prof-stats__val {
  font-size: 15px;
  font-weight: 700;
  color: #191725;
  margin-bottom: 3px;
}

.prof-stats__label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #758ca3;
}

.prof-stats__divider {
  width: 1px;
  height: 32px;
  background: #e8f0f5;
  flex-shrink: 0;
}

/* ref card */
.prof-ref-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 20px 0 #d4edf3;
  padding: 18px 20px;
}

.prof-ref-card__label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #00b0bf;
}

/* form card */
.prof-form-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px 0 #d4edf3;
  padding: 24px 28px;
}

.prof-form-card__title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 700;
  color: #191725;
  padding-bottom: 16px;
  border-bottom: 1px solid #f0f5f9;
}

.prof-form-card__title svg { color: #00b0bf; }

.prof-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #758ca3;
  margin-bottom: 7px;
}

.prof-input {
  width: 100%;
  height: 42px;
  background: #f4f8fb;
  border: 1.5px solid #d5e8f0;
  border-radius: 9px;
  padding: 0 14px;
  font-size: 14px;
  color: #191725;
  outline: none;
  transition: border-color 0.15s;
  box-sizing: border-box;
}

.prof-input:focus { border-color: #00abec; background: #fff; }
.prof-input::placeholder { color: #b8ccd8; }
.prof-input--disabled { color: #a0b4c4; cursor: not-allowed; background: #f0f5f9; }

.prof-input-icon-wrap {
  position: relative;
}

.prof-input-icon {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  font-weight: 700;
  color: #00b0bf;
  pointer-events: none;
}

.prof-input--icon { padding-left: 30px; }


/* ===== News ===== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.news-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px 0 #d4edf3;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s, box-shadow 0.18s;
}

.news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px 0 #c0dde8;
}

.news-card__img-wrap {
  display: block;
  width: 100%;
  height: 160px;
  overflow: hidden;
  flex-shrink: 0;
}

.news-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.news-card:hover .news-card__img { transform: scale(1.04); }

.news-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px 18px 18px;
  gap: 6px;
}

.news-card__date {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #00b0bf;
}

.news-card__title {
  font-size: 15px;
  font-weight: 700;
  color: #191725;
  text-decoration: none;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.15s;
}

.news-card__title:hover { color: #00abec; }

.news-card__text {
  font-size: 13px;
  color: #758ca3;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.news-card__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  color: #00abec;
  text-decoration: none;
  margin-top: auto;
  padding-top: 8px;
  transition: gap 0.15s;
}

.news-card__link:hover { gap: 8px; color: #008fcc; }


/* ===== Addresses ===== */
.adr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 16px;
  margin-bottom: 8px;
}

.adr-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px 0 #d4edf3;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.15s, box-shadow 0.15s;
}

.adr-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px 0 #c0dde8;
}

.adr-card__top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.adr-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(122deg, #008fcc 0%, #00bbc7 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.5px;
}

.adr-card__info { flex: 1; min-width: 0; }

.adr-card__name {
  font-size: 14px;
  font-weight: 700;
  color: #191725;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.adr-card__company {
  font-size: 12px;
  color: #758ca3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

.adr-card__check {
  flex-shrink: 0;
  padding-top: 2px;
}

.adr-checkbox {
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: #00abec;
}

.adr-card__type-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.adr-type-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
}

.adr-type-badge--sender   { background: #e8f7f7; color: #00b0bf; }
.adr-type-badge--receiver { background: #f0eeff; color: #534AB7; }

.adr-country {
  font-size: 11px;
  font-weight: 600;
  color: #a0b4c4;
  background: #f4f8fb;
  padding: 3px 8px;
  border-radius: 100px;
}

.adr-card__details {
  display: flex;
  flex-direction: column;
  gap: 5px;
  border-top: 1px solid #f0f5f9;
  padding-top: 10px;
}

.adr-card__row {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 12.5px;
  color: #4b5b77;
  line-height: 1.4;
}

.adr-card__row svg { flex-shrink: 0; margin-top: 1px; }

.adr-card__actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 4px;
}

.adr-card__btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid;
  transition: background 0.15s, color 0.15s;
}

.adr-card__btn--edit {
  border-color: #d5e8f0;
  color: #4b5b77;
  background: #f4f8fb;
}

.adr-card__btn--edit:hover {
  border-color: #00abec;
  color: #00abec;
  background: #e8f7f7;
}

.adr-card__btn--delete {
  border-color: #f5d0d0;
  color: #e05555;
  background: #fdf4f4;
}

.adr-card__btn--delete:hover {
  border-color: #e05555;
  background: #fdecea;
}

.adr-delete-selected {
  color: #e05555 !important;
}


/* ===== Employers ===== */
.emp-summary {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.emp-summary__card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 20px 0 #d4edf3;
  padding: 16px 22px;
  flex: 1;
  min-width: 180px;
}

.emp-summary__icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #e8f7f7;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00b0bf;
  flex-shrink: 0;
}

.emp-summary__val {
  font-size: 22px;
  font-weight: 700;
  color: #191725;
  line-height: 1;
  margin-bottom: 3px;
}

.emp-summary__label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #758ca3;
}

/* grid */
.emp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.emp-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px 0 #d4edf3;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.15s, box-shadow 0.15s;
}

.emp-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px 0 #c0dde8;
}

.emp-card__top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.emp-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(122deg, #008fcc 0%, #00bbc7 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.5px;
}

.emp-card__info { flex: 1; min-width: 0; }

.emp-card__name {
  font-size: 14px;
  font-weight: 700;
  color: #191725;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.emp-card__email {
  font-size: 12px;
  color: #758ca3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

.emp-status {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 700;
  flex-shrink: 0;
}

.emp-status--active   { background: #e4f8ee; color: #1a8a50; }
.emp-status--inactive { background: #fdecea; color: #e05555; }

.emp-card__stats {
  display: flex;
  align-items: center;
  background: #f8fbfd;
  border-radius: 10px;
  padding: 12px 0;
}

.emp-card__stat {
  flex: 1;
  text-align: center;
  padding: 0 8px;
}

.emp-card__stat-val {
  font-size: 15px;
  font-weight: 700;
  color: #191725;
  margin-bottom: 2px;
}

.emp-card__stat-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #758ca3;
}

.emp-card__stat-div {
  width: 1px;
  height: 28px;
  background: #e8f0f5;
  flex-shrink: 0;
}

.emp-card__actions {
  display: flex;
  gap: 8px;
}


/* ===== News item ===== */
.ni-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 18px 0 16px;
  font-size: 13px;
  color: #a0b4c4;
}

.ni-breadcrumb__link {
  color: #00abec;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s;
}

.ni-breadcrumb__link:hover { color: #008fcc; }

.ni-breadcrumb__current {
  color: #758ca3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 320px;
}

.ni-wrap {
  max-width: 780px;
}

/* article */
.ni-article {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 24px 0 #d4edf3;
  overflow: hidden;
  margin-bottom: 20px;
}

.ni-article__header {
  padding: 32px 40px 24px;
}

.ni-article__date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #00b0bf;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 12px;
}

.ni-article__title {
  font-size: 26px;
  font-weight: 700;
  color: #191725;
  line-height: 1.3;
  margin-bottom: 12px;
}

.ni-article__lead {
  font-size: 16px;
  color: #758ca3;
  line-height: 1.6;
}

.ni-article__cover {
  width: 100%;
  max-height: 420px;
  overflow: hidden;
}

.ni-article__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ni-article__body {
  padding: 32px 40px 36px;
  font-size: 15px;
  line-height: 1.8;
  color: #3d4d5e;
}

.ni-article__body h1,
.ni-article__body h2,
.ni-article__body h3 {
  color: #191725;
  font-weight: 700;
  margin-top: 28px;
  margin-bottom: 12px;
  line-height: 1.3;
}

.ni-article__body h1 { font-size: 22px; }
.ni-article__body h2 { font-size: 19px; }
.ni-article__body h3 { font-size: 16px; }

.ni-article__body p { margin-bottom: 16px; }

.ni-article__body img {
  max-width: 100%;
  border-radius: 10px;
  margin: 12px 0;
}

.ni-article__body a {
  color: #00abec;
  text-decoration: none;
  border-bottom: 1px solid rgba(0,171,236,0.3);
  transition: border-color 0.15s;
}

.ni-article__body a:hover { border-color: #00abec; }

.ni-article__body ul,
.ni-article__body ol {
  padding-left: 22px;
  margin-bottom: 16px;
}

.ni-article__body li { margin-bottom: 6px; }

.ni-article__body blockquote {
  border-left: 3px solid #00b0bf;
  padding: 10px 20px;
  margin: 20px 0;
  background: #f4f8fb;
  border-radius: 0 8px 8px 0;
  color: #4b5b77;
  font-style: italic;
}

/* prev/next nav */
.ni-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  margin-bottom: 30px;
}

.ni-nav__item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 20px 0 #d4edf3;
  padding: 14px 18px;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}

.ni-nav__item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px 0 #c0dde8;
}

.ni-nav__item svg { flex-shrink: 0; color: #00b0bf; }

.ni-nav__item--next { justify-content: flex-end; text-align: right; }

.ni-nav__item-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #00b0bf;
  margin-bottom: 3px;
}

.ni-nav__item-title {
  font-size: 13px;
  font-weight: 600;
  color: #191725;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ni-nav__all {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: #758ca3;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.15s;
  white-space: nowrap;
}

.ni-nav__all svg { color: #b0c4d0; }
.ni-nav__all:hover { color: #00abec; }

@media (max-width: 600px) {
  .ni-article__header { padding: 22px 20px 18px; }
  .ni-article__body   { padding: 22px 20px 28px; }
  .ni-article__title  { font-size: 20px; }
  .ni-nav { grid-template-columns: 1fr 1fr; }
  .ni-nav__all { display: none; }
}


/* ===== Orders ===== */
.ord-summary {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 20px 0 0;
}

.ord-summary__card {
  flex: 0 0 auto;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 20px 0 #d4edf3;
  padding: 14px 22px;
  border-left: 4px solid #d5e8f0;
  min-width: 160px;
  max-width: 220px;
}

.ord-summary__card--active { border-left-color: #00b0bf; }

.ord-summary__label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #758ca3;
  margin-bottom: 5px;
}

.ord-summary__val {
  font-size: 20px;
  font-weight: 700;
  color: #191725;
}

.ord-summary__card--active .ord-summary__val { color: #00b0bf; }

/* list */
.ord-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 900px;
  margin-bottom: 8px;
}

.ord-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px 0 #d4edf3;
  padding: 18px 22px;
  transition: box-shadow 0.15s;
}

.ord-card:hover { box-shadow: 0 8px 28px 0 #c0dde8; }

/* head */
.ord-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.ord-card__id {
  font-size: 13px;
  font-weight: 700;
  color: #a0b4c4;
  font-family: 'Courier New', monospace;
}

.ord-card__date {
  font-size: 12px;
  color: #a0b4c4;
}

.ord-card__price {
  margin-left: auto;
  font-size: 18px;
  font-weight: 700;
  color: #191725;
}

/* status */
.ord-status {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
}

.ord-status--active   { background: #e4f8ee; color: #1a8a50; }
.ord-status--canceled { background: #fdecea; color: #e05555; }
.ord-status--default  { background: #e8f7f7; color: #00b0bf; }

/* route */
.ord-card__route {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid #f0f5f9;
  border-bottom: 1px solid #f0f5f9;
  margin-bottom: 14px;
}

.ord-card__point {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.ord-card__point--to { justify-content: flex-end; text-align: right; }
.ord-card__point--to .ord-card__point-info { order: -1; }

.ord-card__point-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 3px;
}

.ord-card__point-dot--from { background: #008fcc; }
.ord-card__point-dot--to   { background: #00bbc7; }
.ord-card__point--to .ord-card__point-dot { order: 1; }

.ord-card__point-country {
  font-size: 13px;
  font-weight: 700;
  color: #191725;
}

.ord-card__point-name {
  font-size: 12px;
  color: #758ca3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 160px;
}

.ord-card__point-city {
  font-size: 11px;
  color: #a0b4c4;
}

.ord-card__route-line {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.ord-card__courier {
  font-size: 10px;
  font-weight: 600;
  color: #00b0bf;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  white-space: nowrap;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}

/* foot */
.ord-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.ord-card__track {
  display: flex;
  align-items: center;
  gap: 7px;
}

.ord-card__track-num {
  font-family: 'Courier New', monospace;
  font-size: 12px;
  font-weight: 600;
  color: #00abec;
  text-decoration: none;
  transition: color 0.15s;
}

.ord-card__track-num:hover { color: #008fcc; }

.ord-card__track-copy {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f4f8fb;
  border: 1px solid #d5e8f0;
  border-radius: 6px;
  color: #758ca3;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.ord-card__track-copy:hover { background: #e8f7f7; color: #00b0bf; }
.ord-card__track-copy.copiyed { background: #e4f8ee; color: #1a8a50; }

/* action buttons */
.ord-card__actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.ord-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}

.ord-card__btn--view {
  border-color: #d5e8f0;
  color: #4b5b77;
  background: #f4f8fb;
}
.ord-card__btn--view:hover { border-color: #00abec; color: #00abec; background: #e8f7f7; }

.ord-card__btn--label {
  border-color: #c5e0c5;
  color: #1a8a50;
  background: #f0faf0;
}
.ord-card__btn--label:hover { background: #e4f8ee; }

.ord-card__btn--clone {
  border-color: #d5e8f0;
  color: #4b5b77;
  background: #f4f8fb;
}
.ord-card__btn--clone:hover { border-color: #758ca3; color: #191725; }

.ord-card__btn--cancel {
  border-color: #f5d0d0;
  color: #e05555;
  background: #fdf4f4;
}
.ord-card__btn--cancel:hover { border-color: #e05555; background: #fdecea; }

.ord-card__btn--canceled-req {
  font-size: 11px;
  color: #a0b4c4;
  border-color: #e8f0f5;
  background: #f8fbfd;
  cursor: default;
}



/* Пагинация */
.paging-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.paging-list__item {}

.paging-list__link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #4b5b77;
  background: #fff;
  border: 1.5px solid #e0edf5;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.paging-list__link:hover {
  border-color: #00abec;
  color: #00abec;
  background: #f0f9fe;
}

.paging-list__link.is-active {
  background: linear-gradient(122deg, #008fcc 0%, #00bbc7 100%);
  border-color: transparent;
  color: #fff;
  cursor: default;
}


/* ===== Orders card head fix ===== */
.ord-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: nowrap;
}

.ord-card__head-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  flex: 1;
  min-width: 0;
}


/* ===== Orders topbar (summary + filters в одну строку) ===== */
.ord-topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 20px 0 #d4edf3;
  padding: 12px 16px;
  flex-wrap: wrap;
}

.ord-topbar .ord-summary {
  display: flex;
  gap: 0;
  margin: 0;
  flex-shrink: 0;
  border-right: 1px solid #e8f0f5;
  padding-right: 14px;
}

.ord-topbar .ord-summary__card {
  box-shadow: none;
  border-radius: 0;
  border-left: none;
  border-right: 1px solid #e8f0f5;
  padding: 2px 18px 2px 0;
  margin-right: 14px;
  background: transparent;
  min-width: unset;
  max-width: unset;
}

.ord-topbar .ord-summary__card:last-child {
  border-right: none;
  margin-right: 0;
  padding-right: 0;
}

.ord-topbar .ord-summary__label {
  font-size: 10px;
  margin-bottom: 2px;
}

.ord-topbar .ord-summary__val {
  font-size: 18px;
}

.ord-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  flex-wrap: wrap;
  min-width: 0;
}

.ord-filters .trx-filters__search {
  flex: 1;
  min-width: 160px;
}

/* ===== Orders 2-column grid on desktop ===== */
.ord-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-width: 100%;
}

@media (max-width: 768px) {
  .ord-grid {
    grid-template-columns: 1fr;
  }
  .ord-topbar {
    flex-direction: column;
    align-items: stretch;
  }
  .ord-topbar .ord-summary {
    border-right: none;
    border-bottom: 1px solid #e8f0f5;
    padding-right: 0;
    padding-bottom: 10px;
  }
}

.ord-status--warn  { background: #fff3e0; color: #bf6900; }
.ord-status--label { background: #e8f7f7; color: #00b0bf; }


/* ===== View order modal ===== */
.vord-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid #f0f5f9;
}

.vord-header__left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.vord-header__id {
  font-size: 16px;
  font-weight: 700;
  color: #191725;
}

.vord-header__date {
  font-size: 12px;
  color: #a0b4c4;
}

.vord-body {
  padding: 20px 24px 24px;
}

/* route */
.vord-route {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f8fbfd;
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 14px;
}

.vord-route__point {
  flex: 1;
  min-width: 0;
}

.vord-route__point--right { text-align: right; }

.vord-route__point-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-bottom: 6px;
}

.vord-route__point--right .vord-route__point-dot { margin-left: auto; }

.vord-route__point-dot--from { background: #008fcc; }
.vord-route__point-dot--to   { background: #00bbc7; }

.vord-route__country {
  font-size: 14px;
  font-weight: 700;
  color: #191725;
}

.vord-route__name {
  font-size: 12px;
  color: #758ca3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vord-route__city {
  font-size: 11px;
  color: #a0b4c4;
}

.vord-route__line {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.vord-route__courier {
  font-size: 10px;
  font-weight: 700;
  color: #00b0bf;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  white-space: nowrap;
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}

/* track row */
.vord-track-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.vord-track {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f4f8fb;
  border: 1px solid #d5e8f0;
  border-radius: 8px;
  padding: 7px 12px;
  flex: 1;
  min-width: 0;
}

.vord-track__label {
  font-size: 11px;
  font-weight: 700;
  color: #758ca3;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  white-space: nowrap;
  flex-shrink: 0;
}

.vord-track__num {
  font-family: 'Courier New', monospace;
  font-size: 12.5px;
  font-weight: 600;
  color: #00abec;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vord-track__price {
  font-size: 20px;
  font-weight: 700;
  color: #191725;
  white-space: nowrap;
  flex-shrink: 0;
}

/* sections grid */
.vord-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 600px) {
  .vord-grid { grid-template-columns: 1fr; }
}

.vord-section {
  background: #fff;
  border: 1px solid #e8f0f5;
  border-radius: 12px;
  padding: 14px 16px;
}

.vord-section__title {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #00b0bf;
  margin-bottom: 12px;
}

.vord-section__title svg { color: #00b0bf; }

.vord-section__count {
  background: #e8f7f7;
  color: #00b0bf;
  font-size: 10px;
  padding: 1px 7px;
  border-radius: 100px;
}

/* address */
.vord-addr__name {
  font-size: 14px;
  font-weight: 700;
  color: #191725;
  margin-bottom: 6px;
}

.vord-addr__row {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 12.5px;
  color: #4b5b77;
  margin-bottom: 4px;
  line-height: 1.4;
}

.vord-addr__row svg { flex-shrink: 0; margin-top: 1px; color: #a0b4c4; }
.vord-addr__row--addr { color: #758ca3; }

/* parcel */
.vord-parcel {}

.vord-parcel__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid #f4f8fb;
  font-size: 13px;
}

.vord-parcel__row:last-child { border-bottom: none; }
.vord-parcel__row span:first-child { color: #758ca3; }
.vord-parcel__row span:last-child  { color: #191725; font-weight: 600; text-align: right; }

.vord-parcel__price { color: #1a8a50 !important; }


/* ===== Balance TxID ===== */
.bal-txid-wrap {
  margin-bottom: 16px;
}

.bal-txid-field {
  position: relative;
}

.bal-txid-input {
  width: 100%;
  height: 44px;
  background: #f4f8fb;
  border: 1.5px solid #d5e8f0;
  border-radius: 10px;
  padding: 0 14px;
  font-family: 'Courier New', monospace;
  font-size: 13px;
  color: #2d4a5e;
  outline: none;
  transition: border-color 0.15s;
  box-sizing: border-box;
}

.bal-txid-input:focus {
  border-color: #00abec;
  background: #fff;
}

.bal-txid-input::placeholder { color: #b8ccd8; font-family: inherit; }

.bal-txid-hint {
  font-size: 11px;
  color: #a0b4c4;
  margin-top: 5px;
}

.bal-txid-error {
  font-size: 12.5px;
  color: #e05555;
  background: #fdecea;
  border: 1px solid #f5c0c0;
  border-radius: 8px;
  padding: 8px 12px;
  margin-top: 8px;
}

.bal-history-row__txid {
  font-family: 'Courier New', monospace;
  font-size: 11px;
  color: #a0b4c4;
  margin-top: 2px;
}


/* ===== Balance checking block ===== */
.bal-checking {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #f0f9fe;
  border: 1px solid #b8e4ef;
  border-radius: 12px;
  padding: 16px 18px;
  margin-top: 4px;
}

.bal-checking__anim {
  position: relative;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bal-checking__anim svg {
  animation: balring 1.2s linear infinite;
  position: absolute;
}

.bal-checking__ring {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #d5e8f0;
  position: absolute;
}

.bal-checking__body { flex: 1; min-width: 0; }

.bal-checking__title {
  font-size: 14px;
  font-weight: 700;
  color: #191725;
  margin-bottom: 4px;
}

.bal-checking__last {
  font-size: 12px;
  color: #758ca3;
  margin-bottom: 2px;
}

.bal-checking__next {
  font-size: 11px;
  color: #a0b4c4;
}


/* ===== Balance manual check button ===== */
.bal-manual {
  margin-top: 10px;
}

.bal-manual__btn {
  display: inline-flex;
  align-items: center;
  width: 100%;
  justify-content: center;
  padding: 10px 16px;
  background: transparent;
  border: 1.5px dashed #b8ccd8;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #758ca3;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.bal-manual__btn:hover {
  border-color: #00abec;
  color: #00abec;
  background: #f0f9fe;
  border-style: solid;
}

.bal-manual__btn:disabled {
  opacity: 0.5;
  cursor: default;
}

.bal-manual__hint {
  font-size: 11px;
  color: #a0b4c4;
  text-align: center;
  margin-top: 5px;
}


/* ===== Balance new payment button ===== */
.bal-btn-new {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  background: #f4f8fb;
  border: 1.5px solid #d5e8f0;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  color: #4b5b77;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.bal-btn-new:hover {
  background: #e8f7f7;
  border-color: #00abec;
  color: #00abec;
}


/* ===== Account footer ===== */
.account-footer {
  margin-top: 48px;
  border-top: 1px solid #e8f0f5;
  padding: 20px 40px;
}

.account-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.account-footer__links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.account-footer__links a {
  font-size: 13px;
  color: #a0b4c4;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s;
}

.account-footer__links a:hover { color: #00abec; }

.account-footer__copy {
  font-size: 12px;
  color: #b8ccd8;
}

@media (max-width: 768px) {
  .account-footer { padding: 20px; }
  .account-footer__inner { flex-direction: column; align-items: flex-start; gap: 12px; }
}


/* ===== Header fix ===== */
.ofice-header {
  height: 56px !important;
  padding: 0 28px !important;
}

.logo-ofice img {
  width: auto !important;
  height: 22px !important;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.menu-ofice-orders,
.menu-ofice-staff {
  height: 50px !important;
  width: 84px !important;
  padding-top: 6px !important;
}


/* ===== New Header ===== */
.hdr {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  height: 58px;
  background: #fff;
  border-bottom: 1px solid #e8f0f5;
  box-shadow: 0 2px 12px 0 rgba(0,176,191,.08);
  display: flex;
  align-items: center;
  padding: 0 28px;
  gap: 24px;
}

.hdr__logo img {
  width: 185px;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .hdr__logo img {
    width: 36px;
    object-fit: cover;
    object-position: left center;
  }
}

/* Nav */
.hdr__nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
}

.hdr__nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #758ca3;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}

.hdr__nav-link svg { flex-shrink: 0; }
.hdr__nav-link:hover { background: #f0f9fe; color: #00abec; }
.hdr__nav-link.is-active {
  background: #e8f7f7;
  color: #00abec;
}

.hdr__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: linear-gradient(122deg, #008fcc 0%, #00bbc7 100%);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 100px;
}

/* Right */
.hdr__right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

/* Lang */
.hdr__lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 8px;
  border: 1px solid #e0edf5;
  font-size: 12px;
  font-weight: 600;
  color: #4b5b77;
  text-decoration: none;
  transition: border-color 0.15s;
}
.hdr__lang-toggle:hover { border-color: #00abec; color: #00abec; }
.hdr__lang-toggle::after { display: none !important; }

/* Balance */
.hdr__balance {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 10px;
  background: #f4f8fb;
  border: 1px solid #e0edf5;
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
  color: #00b0bf;
}

.hdr__balance:hover { border-color: #00abec; background: #e8f7f7; }

.hdr__balance-label {
  font-size: 10px;
  font-weight: 600;
  color: #758ca3;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  line-height: 1;
}

.hdr__balance-val {
  font-size: 15px;
  font-weight: 700;
  color: #191725;
  line-height: 1.2;
}

/* User */
.hdr__user {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px 4px 4px;
  border-radius: 10px;
  background: transparent;
  border: 1px solid #e0edf5;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  color: #4b5b77;
}

.hdr__user:hover { border-color: #00abec; background: #f0f9fe; }
.hdr__user::after { display: none !important; }

.hdr__avatar {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(122deg, #008fcc 0%, #00bbc7 100%);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.5px;
}

.hdr__avatar--lg {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  font-size: 14px;
}

.hdr__user-name {
  font-size: 13px;
  font-weight: 700;
  color: #191725;
  line-height: 1.2;
}

.hdr__user-email {
  font-size: 11px;
  color: #a0b4c4;
  line-height: 1.2;
}

/* Dropdown */
.hdr__dropdown {
  min-width: 220px;
  border: 1px solid #e8f0f5;
  border-radius: 14px;
  box-shadow: 0 8px 28px 0 #c0dde8;
  padding: 8px;
  margin-top: 6px !important;
}

.hdr__dropdown-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 8px 4px;
}

.hdr__dropdown .dropdown-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #4b5b77;
  transition: background 0.12s, color 0.12s;
}

.hdr__dropdown .dropdown-item svg { color: #a0b4c4; }
.hdr__dropdown .dropdown-item:hover { background: #f0f9fe; color: #00abec; }
.hdr__dropdown .dropdown-item:hover svg { color: #00abec; }
.hdr__dropdown .dropdown-item.active { background: #e8f7f7; color: #00abec; }

.hdr__logout { color: #e05555 !important; }
.hdr__logout svg { color: #e05555 !important; }
.hdr__logout:hover { background: #fdecea !important; }

.hdr__dropdown .dropdown-divider { margin: 4px 8px; border-color: #f0f5f9; }

/* Убираем старые стили шапки */
.ofice-header { display: none !important; }


/* ===== Blog ===== */
.blog-page { background: #f6f9fb; }

/* Header */
.bl-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #e8f0f5;
  box-shadow: 0 2px 12px rgba(0,176,191,.07);
}

.bl-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 40px;
  height: 64px;
  max-width: 1280px;
  margin: 0 auto;
}

.bl-header__nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.bl-header__nav a {
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #758ca3;
  text-decoration: none;
  transition: background .15s, color .15s;
}

.bl-header__nav a:hover,
.bl-header__nav a.active { background: #e8f7f7; color: #00abec; }

.bl-header__actions { display: flex; gap: 8px; flex-shrink: 0; }

.bl-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all .15s;
}

.bl-btn--outline {
  background: transparent;
  border: 1.5px solid #d5e8f0;
  color: #4b5b77;
}

.bl-btn--outline:hover { border-color: #00abec; color: #00abec; }

.bl-btn--primary {
  background: linear-gradient(122deg, #008fcc 0%, #00bbc7 100%);
  color: #fff;
}

.bl-btn--primary:hover { opacity: .9; }

/* Hero */
.bl-hero {
  background: linear-gradient(135deg, #008fcc 0%, #00bbc7 100%);
  padding: 60px 40px;
}

.bl-hero__inner {
  max-width: 1280px;
  margin: 0 auto;
}

.bl-hero__label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,.7);
  margin-bottom: 12px;
}

.bl-hero__title {
  font-size: 40px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.2;
}

.bl-hero__sub {
  font-size: 16px;
  color: rgba(255,255,255,.8);
  margin: 0;
}

/* Page layout */
.bl-page { padding: 36px 40px 60px; }

.bl-page__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
  align-items: start;
}

/* Category filter */
.bl-cats {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.bl-cat {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  background: #fff;
  border: 1.5px solid #e0edf5;
  color: #758ca3;
  text-decoration: none;
  transition: all .15s;
}

.bl-cat:hover { border-color: #00abec; color: #00abec; }
.bl-cat.is-active { background: linear-gradient(122deg,#008fcc,#00bbc7); border-color: transparent; color: #fff; }

/* Blog grid */
.bl-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.bl-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px 0 #d4edf3;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .15s, box-shadow .15s;
}

.bl-card:hover { transform: translateY(-3px); box-shadow: 0 8px 28px 0 #c0dde8; }

.bl-card--featured {
  grid-column: 1 / -1;
  flex-direction: row;
}

.bl-card__img-wrap {
  display: block;
  overflow: hidden;
  flex-shrink: 0;
}

.bl-card__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform .3s;
}

.bl-card--featured .bl-card__img { height: 280px; width: 420px; }
.bl-card:hover .bl-card__img { transform: scale(1.04); }

.bl-card__body { padding: 18px 20px; flex: 1; display: flex; flex-direction: column; }

.bl-card__cat {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 100px;
  background: #e8f7f7;
  color: #00b0bf;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .4px;
  margin-bottom: 8px;
}

.bl-card__title {
  font-size: 16px;
  font-weight: 700;
  color: #191725;
  line-height: 1.4;
  margin-bottom: 8px;
}

.bl-card__title a { text-decoration: none; color: inherit; }
.bl-card__title a:hover { color: #00abec; }

.bl-card--featured .bl-card__title { font-size: 22px; }

.bl-card__text { font-size: 13px; color: #758ca3; line-height: 1.6; flex: 1; margin-bottom: 14px; }

.bl-card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }

.bl-card__date { display: flex; align-items: center; gap: 5px; font-size: 12px; color: #a0b4c4; }
.bl-card__date svg { color: #b8ccd8; }

.bl-card__read {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  color: #00abec;
  text-decoration: none;
}

.bl-card__read:hover { color: #008fcc; }

/* Sidebar */
.bl-sidebar { display: flex; flex-direction: column; gap: 20px; }

.bl-widget {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px 0 #d4edf3;
  padding: 20px;
}

.bl-widget--order {
  background: linear-gradient(160deg, #f0f9fe 0%, #fff 60%);
  border: 1px solid #d5e8f0;
}

.bl-widget__header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
  color: #00b0bf;
}

.bl-widget__title {
  font-size: 15px;
  font-weight: 700;
  color: #191725;
  margin-bottom: 2px;
}

.bl-widget__sub { font-size: 12px; color: #758ca3; }

.bl-widget__title-simple {
  font-size: 14px;
  font-weight: 700;
  color: #191725;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f0f5f9;
}

/* Form in sidebar */
.bl-form-group { margin-bottom: 12px; }

.bl-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: #758ca3;
  margin-bottom: 5px;
}

.bl-input,
.bl-select {
  width: 100%;
  height: 40px;
  background: #f4f8fb;
  border: 1.5px solid #d5e8f0;
  border-radius: 10px;
  padding: 0 12px;
  font-size: 13px;
  color: #2d4a5e;
  outline: none;
  transition: border-color .15s;
  box-sizing: border-box;
}

.bl-input:focus,
.bl-select:focus { border-color: #00abec; background: #fff; }

.bl-input::placeholder { color: #b8ccd8; }

.bl-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.bl-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  padding: 11px 16px;
  background: linear-gradient(122deg, #008fcc 0%, #00bbc7 100%);
  color: #fff;
  border: none;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity .15s;
  margin-top: 4px;
}

.bl-submit-btn:hover { opacity: .9; }

/* Register step */
.bl-reg-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.bl-reg-back {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #d5e8f0;
  border-radius: 8px;
  background: #f4f8fb;
  cursor: pointer;
  color: #758ca3;
  flex-shrink: 0;
  transition: border-color .15s, color .15s;
}

.bl-reg-back:hover { border-color: #00abec; color: #00abec; }

.bl-order-summary {
  background: #f0f9fe;
  border: 1px solid #d5e8f0;
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 14px;
}

.bl-os-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  padding: 4px 0;
  border-bottom: 1px solid #e8f0f5;
}

.bl-os-row:last-child { border-bottom: none; }
.bl-os-row span:first-child { color: #758ca3; }
.bl-os-row span:last-child { color: #191725; font-weight: 600; }

.bl-reg-login {
  text-align: center;
  font-size: 12px;
  color: #a0b4c4;
  margin-top: 10px;
}

.bl-reg-login a { color: #00abec; text-decoration: none; }

/* Sidebar category list */
.bl-cat-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bl-cat-list li { margin-bottom: 2px; }

.bl-cat-list a {
  display: block;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #4b5b77;
  text-decoration: none;
  transition: background .12s, color .12s;
}

.bl-cat-list a:hover { background: #f0f9fe; color: #00abec; }
.bl-cat-list a.is-active { background: #e8f7f7; color: #00abec; font-weight: 700; }

/* Recent posts */
.bl-recent { display: flex; flex-direction: column; gap: 12px; }

.bl-recent__item {
  display: flex;
  gap: 10px;
  text-decoration: none;
  align-items: flex-start;
}

.bl-recent__img {
  width: 64px;
  height: 48px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.bl-recent__title {
  font-size: 13px;
  font-weight: 600;
  color: #191725;
  line-height: 1.4;
  margin-bottom: 3px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bl-recent__item:hover .bl-recent__title { color: #00abec; }
.bl-recent__date { font-size: 11px; color: #a0b4c4; }

/* Article */
.bl-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #a0b4c4;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.bl-breadcrumb a { color: #00abec; text-decoration: none; font-weight: 500; }
.bl-breadcrumb a:hover { color: #008fcc; }
.bl-breadcrumb span { color: #758ca3; }

.bl-article {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 24px 0 #d4edf3;
  overflow: hidden;
  margin-bottom: 20px;
}

.bl-article__cover img {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
  display: block;
}

.bl-article__body { padding: 32px 40px 36px; }

.bl-article__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.bl-article__date,
.bl-article__author {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #a0b4c4;
}

.bl-article__title {
  font-size: 28px;
  font-weight: 800;
  color: #191725;
  line-height: 1.3;
  margin-bottom: 24px;
}

.bl-article__content {
  font-size: 15px;
  line-height: 1.8;
  color: #3d4d5e;
}

.bl-article__content h2 { font-size: 20px; font-weight: 700; color: #191725; margin: 28px 0 12px; }
.bl-article__content h3 { font-size: 17px; font-weight: 700; color: #191725; margin: 22px 0 10px; }
.bl-article__content p  { margin-bottom: 16px; }
.bl-article__content img { max-width: 100%; border-radius: 10px; margin: 12px 0; }
.bl-article__content a  { color: #00abec; text-decoration: none; border-bottom: 1px solid rgba(0,171,236,.3); }
.bl-article__content ul, .bl-article__content ol { padding-left: 22px; margin-bottom: 16px; }
.bl-article__content li { margin-bottom: 6px; }
.bl-article__content blockquote {
  border-left: 3px solid #00b0bf;
  padding: 10px 20px;
  margin: 20px 0;
  background: #f4f8fb;
  border-radius: 0 8px 8px 0;
  color: #4b5b77;
  font-style: italic;
}

/* Post nav */
.bl-post-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  margin-bottom: 8px;
}

.bl-post-nav__item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 20px 0 #d4edf3;
  padding: 14px 18px;
  text-decoration: none;
  transition: transform .15s, box-shadow .15s;
}

.bl-post-nav__item:hover { transform: translateY(-2px); box-shadow: 0 8px 28px 0 #c0dde8; }
.bl-post-nav__item svg { flex-shrink: 0; color: #00b0bf; }
.bl-post-nav__item--next { justify-content: flex-end; text-align: right; }

.bl-post-nav__label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: #00b0bf;
  margin-bottom: 3px;
}

.bl-post-nav__title {
  font-size: 13px;
  font-weight: 600;
  color: #191725;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bl-post-nav__all {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  color: #758ca3;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  white-space: nowrap;
}

.bl-post-nav__all svg { color: #b0c4d0; }
.bl-post-nav__all:hover { color: #00abec; }

/* Footer */
.bl-footer {
  background: #fff;
  border-top: 1px solid #e8f0f5;
  padding: 20px 40px;
}

.bl-footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.bl-footer__copy { font-size: 12px; color: #b8ccd8; }
.bl-footer__links a { font-size: 12px; color: #a0b4c4; text-decoration: none; }
.bl-footer__links a:hover { color: #00abec; }

/* Responsive */
@media (max-width: 1024px) {
  .bl-page__inner { grid-template-columns: 1fr; }
  .bl-sidebar { display: grid; grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .bl-hero { padding: 40px 20px; }
  .bl-hero__title { font-size: 28px; }
  .bl-page { padding: 24px 16px 40px; }
  .bl-grid { grid-template-columns: 1fr; }
  .bl-card--featured { flex-direction: column; }
  .bl-card--featured .bl-card__img { width: 100%; height: 200px; }
  .bl-sidebar { grid-template-columns: 1fr; }
  .bl-header__inner { padding: 0 16px; }
  .bl-post-nav { grid-template-columns: 1fr 1fr; }
  .bl-post-nav__all { display: none; }
  .bl-article__body { padding: 20px; }
  .bl-article__title { font-size: 22px; }
}


/* ===== Text page ===== */
.tx-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 36px 0 60px;
}

.tx-lead {
  font-size: 17px;
  color: #758ca3;
  line-height: 1.7;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid #f0f5f9;
}

.tx-404 {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 80px 20px;
}

.tx-404__title {
  font-size: 24px;
  font-weight: 700;
  color: #191725;
  margin-top: 20px;
  margin-bottom: 8px;
}

.tx-404__sub {
  font-size: 14px;
  color: #758ca3;
}


/* ===== Edit employer modal ===== */
.em-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid #f0f5f9;
}

.em-header__left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.em-avatar {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(122deg, #008fcc 0%, #00bbc7 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.em-avatar--new {
  background: #e8f7f7;
  color: #00b0bf;
}

.em-header__title {
  font-size: 15px;
  font-weight: 700;
  color: #191725;
}

.em-header__sub {
  font-size: 12px;
  color: #a0b4c4;
  margin-top: 1px;
}

.em-body { padding: 20px 22px 22px; }

.em-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}

.em-field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; }
.em-row .em-field { margin-bottom: 0; }

.em-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: #758ca3;
}

.em-input {
  height: 40px;
  background: #f4f8fb;
  border: 1.5px solid #d5e8f0;
  border-radius: 10px;
  padding: 0 12px;
  font-size: 13px;
  color: #2d4a5e;
  outline: none;
  width: 100%;
  transition: border-color .15s, background .15s;
  box-sizing: border-box;
}

.em-input:focus { border-color: #00abec; background: #fff; }
.em-input::placeholder { color: #b8ccd8; }

.em-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.em-input-wrap > svg {
  position: absolute;
  left: 11px;
  color: #a0b4c4;
  pointer-events: none;
  flex-shrink: 0;
  z-index: 1;
}

.em-input--icon { padding-left: 32px; }

.em-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0 16px;
}

.em-divider::before,
.em-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #f0f5f9;
}

.em-divider span {
  font-size: 11px;
  font-weight: 600;
  color: #a0b4c4;
  white-space: nowrap;
}

.em-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid #f0f5f9;
}

.em-btn-cancel {
  padding: 9px 18px;
  border-radius: 100px;
  border: 1.5px solid #d5e8f0;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  color: #758ca3;
  cursor: pointer;
  transition: border-color .15s, color .15s;
}

.em-btn-cancel:hover { border-color: #a0b4c4; color: #4b5b77; }

.em-btn-save {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  border-radius: 100px;
  background: linear-gradient(122deg, #008fcc 0%, #00bbc7 100%);
  border: none;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity .15s;
}

.em-btn-save:hover { opacity: .9; }

.em-input--eye { padding-right: 36px; }

.em-eye {
  position: absolute;
  right: 8px;
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: #a0b4c4;
  display: flex;
  align-items: center;
  transition: color .15s;
}

.em-eye svg { width: 18px; height: 18px; stroke-width: 1.6; }
.em-eye:hover { color: #00abec; }


/* ===== Address modal extras ===== */
.em-section-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: #00b0bf;
  margin: 16px 0 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f0f5f9;
}

.em-section-title:first-child { margin-top: 0; }

.em-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23a0b4c4' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
  cursor: pointer;
}


/* ===== Header notifications ===== */
.hdr__notif { position: relative; }

.hdr__notif-btn {
  position: relative;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f4f8fb;
  border: 1.5px solid #e0edf5;
  border-radius: 10px;
  color: #758ca3;
  cursor: pointer;
  transition: border-color .15s, color .15s, background .15s;
}

.hdr__notif-btn:hover,
.hdr__notif-btn.show { border-color: #00abec; color: #00abec; background: #e8f7f7; }
.hdr__notif-btn::after { display: none !important; }

.hdr__notif-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  background: linear-gradient(122deg, #008fcc, #00bbc7);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  line-height: 1;
}

.hdr__notif-drop {
  min-width: 320px;
  max-width: 360px;
  border: 1px solid #e8f0f5;
  border-radius: 16px;
  box-shadow: 0 8px 28px 0 #c0dde8;
  padding: 0;
  overflow: hidden;
  margin-top: 8px !important;
}

.hdr__notif-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 10px;
  font-size: 13px;
  font-weight: 700;
  color: #191725;
  border-bottom: 1px solid #f0f5f9;
}

.hdr__notif-new {
  font-size: 11px;
  font-weight: 700;
  color: #00b0bf;
  background: #e8f7f7;
  padding: 2px 8px;
  border-radius: 100px;
}

.hdr__notif-list { max-height: 340px; overflow-y: auto; }

.hdr__notif-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 16px;
  text-decoration: none;
  border-bottom: 1px solid #f4f8fb;
  transition: background .12s;
}

.hdr__notif-item:hover { background: #f8fbfd; }
.hdr__notif-item:last-child { border-bottom: none; }

.hdr__notif-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #f0f9fe;
  color: #00b0bf;
}

.hdr__notif-item--order .hdr__notif-icon { background: #e8f7f7; color: #00b0bf; }

.hdr__notif-body { flex: 1; min-width: 0; }

.hdr__notif-text {
  font-size: 12.5px;
  color: #2d4a5e;
  line-height: 1.4;
  margin-bottom: 3px;
}

.hdr__notif-sub {
  font-size: 11px;
  color: #00b0bf;
  font-weight: 600;
}

.hdr__notif-time {
  font-size: 11px;
  color: #a0b4c4;
  margin-top: 2px;
}

.hdr__notif-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 24px 16px;
  font-size: 13px;
  color: #a0b4c4;
  text-align: center;
}

.hdr__notif-footer {
  display: block;
  text-align: center;
  padding: 11px 16px;
  font-size: 12px;
  font-weight: 700;
  color: #00abec;
  text-decoration: none;
  border-top: 1px solid #f0f5f9;
  background: #f8fbfd;
  transition: background .12s;
}

.hdr__notif-footer:hover { background: #e8f7f7; }

/* ===== Notifies page ===== */
.ntf-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  background: linear-gradient(122deg, #008fcc, #00bbc7);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 100px;
  margin-left: 8px;
  vertical-align: middle;
}

.trx-filters__tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: #758ca3;
  background: #fff;
  border: 1.5px solid #e0edf5;
  text-decoration: none;
  transition: all .15s;
}

.trx-filters__tab:hover { border-color: #00abec; color: #00abec; }
.trx-filters__tab.is-active { background: linear-gradient(122deg, #008fcc, #00bbc7); border-color: transparent; color: #fff; }

.ntf-list { display: flex; flex-direction: column; gap: 6px; max-width: 860px; }

.ntf-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 20px 0 #d4edf3;
  padding: 14px 18px;
  text-decoration: none;
  transition: box-shadow .15s, transform .15s;
  position: relative;
}

.ntf-item:hover { box-shadow: 0 8px 28px 0 #c0dde8; transform: translateX(2px); }

.ntf-item--unread { background: #f8fcff; border-left: 3px solid #00b0bf; }

.ntf-item__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ntf-item__icon--order  { background: #e8f7f7; color: #00b0bf; }
.ntf-item__icon--global { background: #f0f9fe; color: #008fcc; }

.ntf-item__body { flex: 1; min-width: 0; }

.ntf-item__text {
  font-size: 14px;
  color: #191725;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 6px;
}

.ntf-item--unread .ntf-item__text { font-weight: 700; }

.ntf-item__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.ntf-item__tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: #00b0bf;
  background: #e8f7f7;
  padding: 2px 8px;
  border-radius: 100px;
}

.ntf-item__time { font-size: 12px; color: #a0b4c4; }

.ntf-item__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(122deg, #008fcc, #00bbc7);
  flex-shrink: 0;
  margin-top: 4px;
}


/* ===== Lang dropdown fix ===== */
.hdr__lang .dropdown-menu {
  min-width: 140px;
  border: 1px solid #e8f0f5;
  border-radius: 12px;
  box-shadow: 0 8px 28px 0 #c0dde8;
  padding: 6px;
  margin-top: 8px !important;
}

.hdr__lang .dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #4b5b77;
  transition: background .12s, color .12s;
}

.hdr__lang .dropdown-item:hover { background: #f0f9fe; color: #00abec; }
.hdr__lang .dropdown-item.active { background: #e8f7f7; color: #00abec; font-weight: 700; }


/* ===== Header right unified style ===== */
.hdr__right {
  gap: 8px;
}

/* Все кнопки шапки — единый стиль */
.hdr__lang-toggle,
.hdr__notif-btn,
.hdr__balance,
.hdr__user {
  height: 36px;
  border-radius: 10px;
  border: 1.5px solid #e0edf5;
  background: #fff;
  transition: border-color .15s, background .15s;
}

.hdr__lang-toggle:hover,
.hdr__notif-btn:hover,
.hdr__balance:hover,
.hdr__user:hover {
  border-color: #00abec;
  background: #f0f9fe;
}

/* Язык — компактно */
.hdr__lang-toggle {
  padding: 0 10px;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #4b5b77;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.hdr__lang-toggle:hover { color: #00abec; }

/* Колокольчик — квадратный */
.hdr__notif-btn {
  width: 36px;
  padding: 0;
  color: #758ca3;
}

/* Баланс — без лейбла сверху, просто сумма */
.hdr__balance {
  padding: 0 12px;
  gap: 7px;
  color: #4b5b77;
}

.hdr__balance-label { display: none; }

.hdr__balance-val {
  font-size: 14px;
  font-weight: 700;
  color: #191725;
}

/* Аватар — без рамки вокруг кнопки, только аватар */
.hdr__user {
  padding: 0 8px 0 3px;
  gap: 4px;
  border: none;
  background: transparent;
}

.hdr__user:hover {
  border: none;
  background: transparent;
}

.hdr__avatar {
  width: 32px;
  height: 32px;
  border-radius: 9px;
}


/* ===== Footer always at bottom ===== */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.ofice-main {
  flex: 1;
}

.account-footer {
  margin-top: auto;
}


/* ===== Blog header logo fix ===== */
.bl-header__logo img {
  width: auto;
  height: auto;
  max-width: 185px;
  max-height: 28px;
  display: block;
}


/* ===== News item layout with sidebar ===== */
.ni-layout {
  display: grid;
  grid-template-columns: minmax(0, 780px) 280px;
  gap: 24px;
  align-items: start;
  justify-content: center;
}

.ni-layout__main { min-width: 0; }

.ni-layout__sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 74px;
}

/* Sidebar widget */
.ni-sidebar-widget {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px 0 #d4edf3;
  padding: 18px;
}

.ni-sidebar-widget__title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: #00b0bf;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f0f5f9;
}

.ni-sidebar-widget__all {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #f0f5f9;
  font-size: 12px;
  font-weight: 700;
  color: #00abec;
  text-decoration: none;
  transition: color .15s;
}

.ni-sidebar-widget__all:hover { color: #008fcc; }

/* News list in sidebar */
.ni-sidebar-news {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ni-snews-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 8px;
  border-radius: 10px;
  text-decoration: none;
  transition: background .12s;
}

.ni-snews-item:hover { background: #f4f8fb; }
.ni-snews-item--active { background: #e8f7f7; }

.ni-snews-item__img {
  width: 56px;
  height: 42px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.ni-snews-item__body { flex: 1; min-width: 0; }

.ni-snews-item__title {
  font-size: 13px;
  font-weight: 600;
  color: #191725;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 3px;
}

.ni-snews-item:hover .ni-snews-item__title { color: #00abec; }
.ni-snews-item--active .ni-snews-item__title { color: #00b0bf; }

.ni-snews-item__date {
  font-size: 11px;
  color: #a0b4c4;
}

/* Responsive */
@media (max-width: 900px) {
  .ni-layout {
    grid-template-columns: 1fr;
  }
  .ni-layout__sidebar {
    position: static;
  }
}


/* ===== News sidebar redesign ===== */
.ni-snews-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f0f5f9;
  text-decoration: none;
  transition: background .12s;
}

.ni-snews-item:last-child { border-bottom: none; }
.ni-snews-item:hover { opacity: .85; }

.ni-snews-item__img-wrap {
  width: 72px;
  height: 52px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: #f0f5f9;
}

.ni-snews-item__img-wrap--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b8ccd8;
}

.ni-snews-item__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .2s;
}

.ni-snews-item:hover .ni-snews-item__img { transform: scale(1.05); }

.ni-snews-item__body { flex: 1; min-width: 0; }

.ni-snews-item__title {
  font-size: 13px;
  font-weight: 600;
  color: #191725;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 5px;
}

.ni-snews-item:hover .ni-snews-item__title { color: #00abec; }

.ni-snews-item__date {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #a0b4c4;
}

.ni-snews-item__date svg { color: #b8ccd8; }


/* ===== Register modal ===== */
.reg-modal { max-width: 480px; width: 100%; }

.reg-modal__head {
  text-align: center;
  margin-bottom: 20px;
}

.reg-modal__sub {
  font-size: 13px;
  color: #a0b4c4;
  margin-top: 4px;
}

.reg-modal__sub a {
  color: #00abec;
  text-decoration: none;
  font-weight: 600;
}

.reg-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}

.reg-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 14px;
}

.reg-row .reg-field { margin-bottom: 0; }

.reg-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: #758ca3;
}

.reg-optional {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: #b8ccd8;
  font-size: 11px;
}

.reg-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.reg-input-wrap > svg {
  position: absolute;
  left: 11px;
  color: #a0b4c4;
  pointer-events: none;
  z-index: 1;
}

.reg-input {
  width: 100%;
  height: 42px;
  background: #f4f8fb;
  border: 1.5px solid #d5e8f0;
  border-radius: 10px;
  padding: 0 12px;
  font-size: 13px;
  color: #2d4a5e;
  outline: none;
  transition: border-color .15s, background .15s;
  box-sizing: border-box;
}

.reg-input:focus { border-color: #00abec; background: #fff; }
.reg-input::placeholder { color: #b8ccd8; }
.reg-input--icon { padding-left: 32px; }
.reg-input--eye { padding-right: 36px; }

.reg-eye {
  position: absolute;
  right: 8px;
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: #a0b4c4;
  display: flex;
  align-items: center;
  transition: color .15s;
}

.reg-eye:hover { color: #00abec; }

.reg-captcha {
  margin: 4px 0 14px;
  display: flex;
  justify-content: center;
}

.reg-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 100px;
  margin-bottom: 16px;
}

.reg-social { margin-bottom: 8px; }

.reg-social__divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.reg-social__divider::before,
.reg-social__divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #f0f5f9;
}

.reg-social__divider span {
  font-size: 12px;
  color: #a0b4c4;
  white-space: nowrap;
}

.reg-social__btns {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.reg-support {
  text-align: center;
  font-size: 12px;
  color: #a0b4c4;
  margin-top: 8px;
}

.reg-support a {
  color: #00abec;
  text-decoration: none;
}

@media (max-width: 480px) {
  .reg-row { grid-template-columns: 1fr; }
}


/* ===== Modal forms override fix ===== */
.reg-modal { width: 460px; max-width: 96vw; }
.reg-modal form { width: 100%; }

/* Убираем конфликт со старыми стилями modal-login */
.reg-modal .modal-login { all: unset; display: block; }

.reg-recover {
  text-align: right;
  margin-top: 4px;
}

.reg-recover a {
  font-size: 12px;
  color: #a0b4c4;
  text-decoration: none;
  transition: color .15s;
}

.reg-recover a:hover { color: #00abec; }


/* ===== Register/Login modal full override ===== */
.reg-modal.container-modal {
  width: 460px !important;
  max-width: 96vw !important;
  padding: 24px 28px 28px !important;
  box-sizing: border-box;
}

.reg-modal .modal-title {
  padding-bottom: 4px !important;
  font-size: 22px !important;
}

.reg-modal form {
  width: 100% !important;
  display: block !important;
}

.reg-input {
  width: 100% !important;
  height: 42px !important;
  background: #f4f8fb !important;
  border: 1.5px solid #d5e8f0 !important;
  border-radius: 10px !important;
  padding: 0 12px !important;
  font-size: 13px !important;
  color: #2d4a5e !important;
  outline: none !important;
  box-sizing: border-box !important;
  transition: border-color .15s, background .15s !important;
}

.reg-input.reg-input--icon { padding-left: 32px !important; }
.reg-input.reg-input--eye  { padding-right: 36px !important; }
.reg-input:focus { border-color: #00abec !important; background: #fff !important; }
.reg-input::placeholder { color: #b8ccd8 !important; }

.reg-input-wrap {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
}

.reg-input-wrap > svg {
  position: absolute !important;
  left: 11px !important;
  color: #a0b4c4 !important;
  pointer-events: none !important;
  z-index: 1 !important;
}

.reg-label {
  display: block !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: .5px !important;
  color: #758ca3 !important;
  margin-bottom: 5px !important;
}

.reg-field {
  margin-bottom: 14px !important;
}

.reg-captcha {
  margin: 4px 0 14px !important;
  display: flex !important;
  justify-content: center !important;
}

.reg-submit {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  height: 46px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  margin-bottom: 16px !important;
}


/* ===== Container modal padding fix ===== */
.reg-modal.container-modal {
  padding: 28px 32px 32px !important;
  width: 460px !important;
  max-width: 96vw !important;
  box-sizing: border-box !important;
  overflow: visible !important;
}

/* Принудительно показываем все дочерние элементы */
.reg-modal.container-modal * {
  max-width: 100%;
  box-sizing: border-box;
}

/* Поля на всю ширину контейнера */
.reg-modal .reg-input-wrap,
.reg-modal .reg-input,
.reg-modal .reg-field,
.reg-modal .reg-row,
.reg-modal form {
  width: 100% !important;
  max-width: 100% !important;
}

.reg-modal .reg-input {
  display: block !important;
  width: 100% !important;
  height: 44px !important;
  background: #f0f8fb !important;
  border: 1.5px solid #c8e0ec !important;
  border-radius: 10px !important;
  font-size: 14px !important;
  color: #2d4a5e !important;
}

.reg-modal .reg-input.reg-input--icon { padding-left: 34px !important; }
.reg-modal .reg-input.reg-input--eye  { padding-right: 38px !important; }
.reg-modal .reg-input:focus { border-color: #00abec !important; background: #fff !important; box-shadow: 0 0 0 3px rgba(0,171,236,.1) !important; }


/* ===== Modal forms improvement (keep original structure) ===== */

/* Убираем мусор из предыдущих попыток */
.reg-modal.container-modal,
.reg-modal form,
.reg-modal .reg-input-wrap,
.reg-modal .reg-input,
.reg-modal .reg-field,
.reg-modal .reg-row { all: unset; }

/* Улучшаем form-modal */
.form-modal {
  border-radius: 10px !important;
  width: 320px !important;
  height: 46px !important;
  background: #f4f8fb !important;
  border: 1.5px solid #d5e8f0 !important;
  padding: 0 14px !important;
  font-size: 14px !important;
  color: #2d4a5e !important;
  outline: none !important;
  transition: border-color .15s, background .15s !important;
  display: block !important;
}

.form-modal:focus {
  border-color: #00abec !important;
  background: #fff !important;
  box-shadow: 0 0 0 3px rgba(0,171,236,.08) !important;
}

.form-modal::placeholder { color: #b8ccd8 !important; }

/* Поле с кнопкой глаза */
.fm-pass { padding-right: 44px !important; }

.fm-pass-wrap {
  position: relative;
  display: inline-block;
}

.fm-eye-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: #a0b4c4;
  display: flex;
  align-items: center;
  transition: color .15s;
}

.fm-eye-btn:hover { color: #00abec; }

/* Лейблы */
.fm-field {
  margin-bottom: 16px;
}

.fm-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .4px;
  color: #758ca3;
  margin-bottom: 6px;
}

/* Ссылка "Забыли пароль" */
.fm-recover {
  margin-top: 6px;
  text-align: right;
}

.fm-recover a {
  font-size: 12px;
  color: #a0b4c4;
  text-decoration: none;
}

.fm-recover a:hover { color: #00abec; }


/* ===== Form modal fields ===== */
.fm-input {
  width: 100% !important;
  height: 46px !important;
  background: #f4f8fb !important;
  border: 1.5px solid #d5e8f0 !important;
  border-radius: 10px !important;
  padding: 0 14px !important;
  font-size: 14px !important;
  color: #2d4a5e !important;
  box-sizing: border-box !important;
  display: block !important;
  outline: none !important;
}

.fm-input:focus {
  border-color: #00abec !important;
  background: #fff !important;
  box-shadow: 0 0 0 3px rgba(0,171,236,.08) !important;
}

.fm-input::placeholder { color: #b8ccd8 !important; }
.fm-input-pass { padding-right: 44px !important; }

.fm-label {
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: .5px !important;
  color: #758ca3 !important;
  margin-bottom: 6px !important;
}

.fm-eye-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: #a0b4c4;
  line-height: 0;
}

.fm-eye-btn:hover { color: #00abec; }
.fm-link-small { font-size: 12px; color: #a0b4c4; text-decoration: none; }
.fm-link-small:hover { color: #00abec; }


/* ===== Modal form fields via container-modal ===== */
.container-modal .form-modal {
  width: 100%;
  height: 46px;
  background: #f4f8fb;
  border: 1.5px solid #d5e8f0;
  border-radius: 10px;
  padding: 0 14px;
  font-size: 14px;
  color: #2d4a5e;
  box-sizing: border-box;
  display: block;
  outline: none;
  transition: border-color .15s, background .15s;
}

.container-modal .form-modal:focus {
  border-color: #00abec;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0,171,236,.08);
}

.container-modal .form-modal::placeholder { color: #b8ccd8; }

.container-modal .modal-login {
  width: 100%;
}

.container-modal form {
  width: 100%;
}

.container-modal .form-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: #758ca3;
  margin-bottom: 6px;
}


/* ===== Modal forms beautiful override ===== */
.container-modal .form-modal {
  background: #fff !important;
  border: 1.5px solid #d5e8f0 !important;
  border-radius: 12px !important;
  height: 48px !important;
  padding: 0 16px !important;
  font-size: 14px !important;
  color: #2d4a5e !important;
  width: 100% !important;
  box-sizing: border-box !important;
  box-shadow: 0 2px 8px rgba(0,176,191,.06) !important;
  transition: border-color .15s, box-shadow .15s !important;
}

.container-modal .form-modal:focus {
  border-color: #00abec !important;
  box-shadow: 0 0 0 3px rgba(0,171,236,.12) !important;
  outline: none !important;
}

.container-modal .form-modal::placeholder {
  color: #b0c8d8 !important;
  font-size: 14px !important;
}

.container-modal .modal-login {
  width: 100% !important;
  padding: 0 !important;
}

.container-modal form {
  width: 100% !important;
}

.container-modal .form-label,
.container-modal .fm-label {
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #5a7a8a !important;
  margin-bottom: 6px !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

.container-modal .mb-3 {
  margin-bottom: 16px !important;
}

/* Кнопка глаза — поверх поля */
.container-modal .fm-eye-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 3px;
  cursor: pointer;
  color: #90b4c4;
  line-height: 0;
  z-index: 2;
}
.container-modal .fm-eye-btn:hover { color: #00abec; }

/* Recover link */
.container-modal .fm-link-small,
.container-modal .recover a {
  font-size: 12px !important;
  color: #00abec !important;
  text-decoration: none !important;
}

/* Кнопка входа/регистрации */
.container-modal .btn-blue {
  border-radius: 100px !important;
  height: 48px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: .3px !important;
}

/* Ссылки под кнопкой */
.container-modal .registration a,
.container-modal .reg-modal__sub a {
  color: #00abec !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}


/* ===== cm- modal components ===== */
.container-modal {
  border-radius: 20px !important;
  width: 460px !important;
  padding: 0 !important;
  overflow: hidden;
}

.cm-logo {
  display: flex;
  justify-content: center;
  padding: 28px 32px 20px;
  border-bottom: 1px solid #f0f5f9;
}

.cm-logo img {
  height: auto;
  width: 160px;
}

.cm-title {
  font-size: 22px !important;
  font-weight: 700 !important;
  color: #191725 !important;
  text-align: center;
  padding: 20px 32px 4px !important;
}

.cm-subtitle {
  font-size: 13px;
  color: #a0b4c4;
  text-align: center;
  padding: 0 32px 20px;
}

.cm-subtitle a {
  color: #00abec;
  font-weight: 600;
  text-decoration: none;
}

.cm-form {
  padding: 0 32px 24px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.cm-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.cm-field {
  margin-bottom: 14px;
}

.cm-label {
  display: block;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: .5px !important;
  color: #758ca3 !important;
  margin-bottom: 6px !important;
}

.cm-optional {
  font-weight: 400;
  text-transform: none;
  font-size: 11px;
  color: #b8ccd8;
  letter-spacing: 0;
}

.cm-input-wrap {
  position: relative;
}

.cm-input-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #a0b4c4;
  pointer-events: none;
  z-index: 1;
}

.cm-input {
  width: 100% !important;
  height: 46px !important;
  background: #f4f8fb !important;
  border: 1.5px solid #dceaf2 !important;
  border-radius: 12px !important;
  padding: 0 14px 0 40px !important;
  font-size: 14px !important;
  color: #2d4a5e !important;
  box-sizing: border-box !important;
  outline: none !important;
  transition: border-color .15s, background .15s, box-shadow .15s !important;
  display: block !important;
}

.cm-input:focus {
  border-color: #00abec !important;
  background: #fff !important;
  box-shadow: 0 0 0 3px rgba(0,171,236,.1) !important;
}

.cm-input::placeholder { color: #b8ccd8 !important; }
.cm-input-pass { padding-right: 44px !important; }

.cm-eye {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: #a0b4c4;
  line-height: 0;
  z-index: 2;
}
.cm-eye:hover { color: #00abec; }

.cm-recover {
  text-align: right;
  margin-top: 5px;
}
.cm-recover a {
  font-size: 12px;
  color: #00abec;
  text-decoration: none;
}

.cm-captcha {
  display: flex;
  justify-content: center;
  margin: 6px 0 16px;
}

.cm-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 50px;
  background: linear-gradient(122deg, #008fcc 0%, #00bbc7 100%);
  border: none;
  border-radius: 100px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity .15s;
  letter-spacing: .3px;
}
.cm-btn:hover { opacity: .9; }

.cm-social {
  padding: 0 32px 16px;
}

.cm-social-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.cm-social-divider::before,
.cm-social-divider::after { content:''; flex:1; height:1px; background:#f0f5f9; }
.cm-social-divider span { font-size: 12px; color: #a0b4c4; white-space: nowrap; }

.cm-support {
  text-align: center;
  font-size: 12px;
  color: #a0b4c4;
  padding: 0 32px 20px;
}
.cm-support a { color: #00abec; text-decoration: none; }


/* ===== Social login buttons ===== */
.cm-social-divider { margin-bottom: 10px; }

.cm-social a,
.cm-social .wconnect-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 10px 20px !important;
  border-radius: 100px !important;
  border: 1.5px solid #d5e8f0 !important;
  background: #fff !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #4b5b77 !important;
  text-decoration: none !important;
  transition: border-color .15s, background .15s !important;
  margin: 0 4px !important;
}

.cm-social a:hover,
.cm-social .wconnect-btn:hover {
  border-color: #00abec !important;
  background: #f0f9fe !important;
  color: #00abec !important;
}

.cm-social img {
  width: 20px !important;
  height: 20px !important;
}
