/* E-wenze — espace Mon compte */

body.account-body {
  background: #f5f5f5;
  color: #1a1a1a;
}
body.account-body .search-bar-premium { display: none !important; }
body.account-body header.bk-header { position: sticky; top: 0; z-index: 40; }

.acc-wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px 72px; }

.acc-hero {
  background: #003b95;
  color: #fff;
  margin: 0 -16px 24px;
  padding: 28px 16px 36px;
}
.acc-hero-inner { max-width: 1120px; margin: 0 auto; display: flex; align-items: center; gap: 16px; }
.acc-hero-avatar {
  width: 64px; height: 64px; border-radius: 50%; object-fit: cover;
  border: 2px solid rgba(255,255,255,.4); background: #1a4fa0;
}
.acc-hero-avatar.ph {
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 800; color: #fff;
}
.acc-hero h1 { font-size: 28px; font-weight: 700; margin: 0 0 4px; letter-spacing: -.02em; }
.acc-hero .acc-level {
  display: inline-block; background: #ffb700; color: #1a1a1a;
  font-size: 12px; font-weight: 800; padding: 2px 8px; border-radius: 4px;
}

.acc-grid { display: grid; grid-template-columns: 1fr 320px; gap: 20px; align-items: start; }
@media (max-width: 900px) { .acc-grid { grid-template-columns: 1fr; } }

.acc-card {
  background: #fff;
  border-radius: 8px;
  border: 1px solid #e7e7e7;
  padding: 22px 24px;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.acc-card h2 { font-size: 20px; margin: 0 0 6px; font-weight: 700; }
.acc-card .lead { color: #6b6b6b; font-size: 14px; margin: 0 0 18px; line-height: 1.5; }

.acc-rewards {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
}
.acc-reward {
  flex: 0 0 148px;
  border: 1px solid #e7e7e7;
  border-radius: 8px;
  padding: 16px 12px 14px;
  min-height: 148px;
  background: #fafafa;
  position: relative;
}
.acc-reward i.big { font-size: 28px; color: #003b95; display: block; margin-bottom: 10px; }
.acc-reward p { font-size: 13px; line-height: 1.35; margin: 0; color: #1a1a1a; }
.acc-reward.locked { opacity: .72; }
.acc-reward .lock {
  position: absolute; top: 10px; right: 10px; color: #6b6b6b; font-size: 12px;
}
.acc-link { color: #0071c2; font-size: 14px; font-weight: 600; text-decoration: none; }
.acc-link:hover { text-decoration: underline; }

.acc-side-card { margin-bottom: 16px; }
.acc-side-card .ico {
  width: 44px; height: 44px; border-radius: 50%; background: #e8f0fe;
  display: flex; align-items: center; justify-content: center;
  color: #003b95; font-size: 20px; margin-bottom: 10px;
}
.acc-side-card h3 { font-size: 16px; margin: 0 0 8px; }
.acc-side-card p { font-size: 14px; color: #6b6b6b; margin: 0 0 10px; line-height: 1.45; }

.acc-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
}
@media (max-width: 800px) { .acc-menu-grid { grid-template-columns: 1fr; } }
.acc-menu-box {
  background: #fff;
  border: 1px solid #e7e7e7;
  border-radius: 8px;
  padding: 18px 20px 10px;
}
.acc-menu-box h3 { font-size: 16px; margin: 0 0 10px; font-weight: 700; }
.acc-menu-box a {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; padding: 11px 0;
  border-top: 1px solid #f0f0f0;
  color: #1a1a1a; font-size: 14px; text-decoration: none;
}
.acc-menu-box a:first-of-type { border-top: 0; }
.acc-menu-box a i.fa-chevron-right { color: #6b6b6b; font-size: 12px; }
.acc-menu-box a:hover { color: #003b95; }
.acc-menu-box a span { display: flex; align-items: center; gap: 10px; }
.acc-menu-box a span i:first-child { width: 18px; color: #003b95; text-align: center; }

.acc-crumb { font-size: 13px; color: #6b6b6b; margin: 16px 0 18px; }
.acc-crumb a { color: #0071c2; text-decoration: none; }
.acc-crumb a:hover { text-decoration: underline; }

.acc-split { display: grid; grid-template-columns: 260px 1fr; gap: 28px; padding-top: 8px; }
.acc-nav-drawer { display: contents; }
.acc-nav-summary { display: none; }
@media (max-width: 800px) { .acc-split { grid-template-columns: 1fr; } }
.acc-side a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 8px;
  color: #1a1a1a; font-size: 14px; text-decoration: none; margin-bottom: 2px;
}
.acc-side a i { width: 18px; color: #6b6b6b; text-align: center; }
.acc-side a.active, .acc-side a:hover { background: #e8f0fe; color: #003b95; }
.acc-side a.active i, .acc-side a:hover i { color: #003b95; }

.acc-panel h1 { font-size: 26px; margin: 0 0 8px; }
.acc-panel .sub { color: #6b6b6b; font-size: 14px; margin: 0 0 22px; }
.acc-row {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid #e7e7e7;
}
.acc-row:last-child { border-bottom: 0; }
.acc-row dt { font-weight: 700; font-size: 14px; margin: 0 0 4px; }
.acc-row dd { margin: 0; color: #4a4a4a; font-size: 14px; line-height: 1.5; }
.acc-row .mod { color: #0071c2; font-weight: 600; font-size: 14px; text-decoration: none; white-space: nowrap; }
.acc-row .mod:hover { text-decoration: underline; }

.acc-note {
  background: #f5f5f5; border-radius: 8px; padding: 14px 16px;
  font-size: 14px; color: #4a4a4a; line-height: 1.5; margin-top: 12px;
}
.acc-ok { display: inline-flex; align-items: center; gap: 6px; color: #008234; font-weight: 700; font-size: 13px; }

.acc-form label { display: block; font-size: 13px; font-weight: 600; margin: 0 0 6px; }
.acc-form input, .acc-form select, .acc-form textarea {
  width: 100%; max-width: 420px; padding: 10px 12px; border: 1px solid #bdbdbd;
  border-radius: 4px; font: inherit; margin-bottom: 14px;
}
.acc-form .btn-acc {
  background: #0071c2; color: #fff; border: 0; border-radius: 4px;
  padding: 10px 18px; font-weight: 700; cursor: pointer; font-size: 14px;
}
.acc-form .btn-acc:hover { background: #005999; }
.acc-form .btn-ghost-acc,
.btn-ghost-acc {
  background: #fff; color: #0071c2; border: 1px solid #0071c2;
  border-radius: 4px; padding: 8px 14px; font-weight: 700; cursor: pointer;
  font-size: 14px; text-decoration: none; display: inline-block;
}
.acc-wallet-box {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  background: #fff; border: 1px solid #e7e7e7; border-radius: 8px; padding: 22px;
}
.acc-wallet-box .bag {
  width: 72px; height: 72px; border-radius: 12px; background: #e8f4ff;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; color: #003b95;
}
.acc-wallet-box h2 { margin: 0 0 4px; font-size: 18px; }
.acc-wallet-box .bal { font-size: 28px; font-weight: 800; margin: 0; }
.acc-wallet-meta { margin-left: auto; text-align: right; color: #4a4a4a; font-size: 14px; }
.acc-wallet-meta strong { display: block; font-size: 18px; color: #1a1a1a; }
.admin-host-pay-grid, .acc-host-pay-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px;
}
.admin-host-pay-kpi, .acc-host-pay-kpi {
  background: #fff; border: 1px solid #e6e6e6; border-radius: 12px; padding: 14px 16px;
}
.admin-host-pay-kpi span, .acc-host-pay-kpi span { display: block; font-size: 12px; color: #6b6b6b; }
.admin-host-pay-kpi strong, .acc-host-pay-kpi strong { display: block; margin-top: 4px; font-size: 18px; color: #003b95; }
@media (max-width: 800px) {
  .admin-host-pay-grid, .acc-host-pay-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

.acc-pay-empty { color: #6b6b6b; font-size: 14px; padding: 8px 0 16px; }
.acc-pay-item {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 12px 0; border-bottom: 1px solid #eee;
}
.acc-danger { color: #d4111e; background: none; border: 0; cursor: pointer; font-weight: 600; font-size: 14px; }
.user-dropdown .ud-head {
  padding: 12px 20px 10px; border-bottom: 1px solid #eee; margin-bottom: 4px;
}
.user-dropdown .ud-head strong { display: block; font-size: 14px; }
.user-dropdown .ud-head span { font-size: 12px; color: #6b6b6b; }
.user-dropdown .ud-earn {
  background: #e8f0fe;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #003b95 !important;
  flex-wrap: wrap;
}
.user-dropdown .ud-earn span { color: #003b95; font-size: 12px; font-weight: 600; line-height: 1.35; }

.help-hero.acc-help-hero {
  background: #003b95 !important;
  padding: 48px 0 40px !important;
}
.help-cats {
  display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0 8px;
}
.help-cats a, .help-cats button {
  background: #fff; border: 1px solid #d7d7d7; border-radius: 24px;
  padding: 8px 14px; font-size: 13px; font-weight: 600; color: #1a1a1a;
  text-decoration: none; cursor: pointer;
}
.help-cats a.active, .help-cats button.active {
  background: #003b95; color: #fff; border-color: #003b95;
}

.acc-hero-meta { margin: 8px 0 0; font-size: 14px; opacity: .9; }
.acc-h3 { font-size: 16px; margin: 28px 0 10px; font-weight: 700; }
.acc-progress { margin-top: 22px; }
.acc-progress h2 { font-size: 18px; margin: 0 0 6px; }
.acc-radio { display: flex !important; align-items: flex-start; gap: 8px; font-weight: 500 !important; max-width: none; }
.acc-radio input { width: auto !important; margin: 3px 0 0; }
.acc-fav-grid { margin-top: 8px; }
.acc-tx-list { list-style: none; padding: 0; margin: 0 0 12px; }
.acc-tx-list li {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid #eee; font-size: 14px;
}
.acc-tx-list li span { display: block; color: #6b6b6b; font-size: 13px; font-weight: 400; }
.acc-tx-list em { font-style: normal; font-weight: 700; white-space: nowrap; }
.acc-table-wrap { overflow-x: auto; margin: 8px 0 12px; }
.acc-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.acc-table th, .acc-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid #eee; vertical-align: top; }
.acc-table th { color: #6b6b6b; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; }
.acc-chat-list { list-style: none; padding: 0; margin: 0 0 14px; }
.acc-chat-list li {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 0; border-bottom: 1px solid #eee;
}
.acc-chat-list a { color: inherit; text-decoration: none; flex: 1; }
.acc-chat-list a span { display: block; color: #6b6b6b; font-size: 13px; margin-top: 2px; }
.acc-chat-list em {
  background: #003b95; color: #fff; border-radius: 999px; min-width: 22px;
  text-align: center; font-style: normal; font-size: 12px; font-weight: 700; padding: 2px 7px;
}
.acc-toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 8px 0 4px; }
.acc-toolbar form { margin: 0; }
.acc-toolbar .btn-ghost-acc.is-on {
  background: #003b95; color: #fff; border-color: #003b95;
}
.acc-chat-list li form { flex-shrink: 0; margin: 0; }
.acc-help-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 8px 0 18px; }
@media (max-width: 700px) { .acc-help-cards { grid-template-columns: 1fr; } }
.acc-help-card {
  display: flex; flex-direction: column; gap: 4px;
  border: 1px solid #e7e7e7; border-radius: 8px; padding: 16px;
  text-decoration: none; color: inherit; background: #fafafa;
}
.acc-help-card i { color: #003b95; font-size: 20px; margin-bottom: 4px; }
.acc-help-card:hover { border-color: #003b95; }
.acc-faq details { border-bottom: 1px solid #eee; padding: 10px 0; }
.acc-faq summary { cursor: pointer; font-weight: 700; font-size: 14px; }
.acc-faq p { margin: 8px 0 0; color: #4a4a4a; font-size: 14px; line-height: 1.5; }
.acc-bullets { margin: 0 0 16px; padding-left: 18px; color: #4a4a4a; font-size: 14px; line-height: 1.6; }
.acc-check-list { list-style: none; padding: 0; margin: 0 0 16px; font-size: 14px; }
.acc-check-list li { padding: 4px 0; }
.acc-form-msg { color: #d4111e; font-size: 14px; margin-top: 8px; }
.acc-side { max-height: calc(100vh - 120px); overflow-y: auto; position: sticky; top: 76px; }

@media (max-width: 800px) {
  body.account-body { overflow-x: hidden; }
  .acc-wrap { padding: 0 12px 88px; }
  .acc-hero { margin: 0 -12px 16px; padding: 20px 12px 24px; }
  .acc-hero h1 { font-size: 22px; }
  .acc-hero-avatar { width: 52px; height: 52px; }
  .acc-nav-drawer {
    display: block;
    background: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 12px;
    margin-bottom: 4px;
  }
  .acc-nav-summary {
    display: flex;
    align-items: center;
    gap: 10px;
    list-style: none;
    cursor: pointer;
    font-weight: 800;
    font-size: 15px;
    padding: 14px 14px;
    min-height: 48px;
    color: #003b95;
  }
  .acc-nav-summary::-webkit-details-marker { display: none; }
  .acc-nav-summary::marker { content: ""; }
  .acc-nav-summary i { width: 18px; text-align: center; }
  .acc-side {
    position: static !important;
    max-height: none !important;
    overflow: visible !important;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 0 10px 12px;
  }
  .acc-side a {
    margin: 0;
    min-height: 48px;
    font-size: 13px;
    font-weight: 650;
    background: #f4f6fb;
    padding: 10px 10px;
    line-height: 1.25;
  }
  .acc-side a.active { background: #e8f0fe; }
  .acc-panel {
    padding: 16px 14px 20px;
    overflow: hidden;
  }
  .acc-panel h1 { font-size: 22px; }
  .acc-row {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .acc-row .mod { white-space: normal; min-height: 40px; display: inline-flex; align-items: center; }
  .acc-form input, .acc-form select, .acc-form textarea {
    max-width: 100%;
    font-size: 16px;
  }
  .acc-form .btn-acc,
  .btn-ghost-acc,
  .acc-form .btn-ghost-acc {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .acc-wallet-box { flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px; }
  .acc-wallet-meta { margin-left: 0; text-align: left; }
  .admin-host-pay-grid, .acc-host-pay-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .admin-host-pay-kpi, .acc-host-pay-kpi { padding: 12px; }
  .admin-host-pay-kpi span, .acc-host-pay-kpi span { font-size: 11px; line-height: 1.3; }
  .admin-host-pay-kpi strong, .acc-host-pay-kpi strong { font-size: 16px; }
  .acc-toolbar { gap: 8px; }
  .acc-toolbar .btn-ghost-acc { flex: 1 1 auto; text-align: center; justify-content: center; }
  .acc-chat-list li { flex-wrap: wrap; align-items: flex-start; }
  .acc-chat-list a { flex: 1 1 100%; min-width: 0; }
  .acc-table { font-size: 12px; }
  .acc-table th, .acc-table td { padding: 10px 6px; }
  .acc-pay-item { flex-wrap: wrap; }
}
