.table-wrap{
  margin-top:20px;
  background:#fff;
  border-radius:25px;
  padding:22px;
  box-shadow:var(--shadow-soft);
  border:1px solid var(--line);
}

.accounts-report-top{
  justify-content:flex-start;
}

.accounts-report-title{
  margin-right:auto;
  margin-left:0;
}

.accounts-report-title h1{
  font-size:20px;
  margin:0;
}

.search-bar{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin-bottom:18px;
  max-width:760px;
}

.search-input{
  width:100%;
  height:42px;
  border:1px solid var(--line);
  border-radius:12px;
  padding:0 12px;
  background:#fff;
  box-sizing:border-box;
}

.type-filter{
  color:var(--blue);
  font-weight:800;
}

.btn{
  width:100%;
  min-height:42px;
  padding:9px 16px;
  border:none;
  border-radius:12px;
  font-weight:800;
  cursor:pointer;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  box-sizing:border-box;
}

.btn-search{
  background:#facc15;
  color:#713f12;
}

.btn-back{
  background:#6b7280;
  color:#fff;
}

.btn-edit{
  min-height:34px;
  background:#f59e0b;
  color:#fff;
  padding:7px 12px;
}

.table-box{
  overflow:auto;
}

table{
  width:100%;
  border-collapse:collapse;
  min-width:1200px;
}

th, td{
  border:1px solid var(--line);
  padding:10px 8px;
  text-align:center;
  font-size:14px;
}

th{
  background:#edf3fb;
  color:var(--blue);
}

.account-row td{
  background:#fff;
}

.cashbox-row td{
  background:#fff8d6;
}

.inactive-row td{
  background:#fee2e2;
  color:#991b1b;
}

.amount-zero{
  background:#fff;
  color:transparent;
}

.amount-value{
  background:#fff;
  color:inherit;
  font-weight:800;
}

.cashbox-row .amount-zero,
.cashbox-row .amount-value{
  background:#fff8d6;
}

.inactive-row .amount-zero,
.inactive-row .amount-value{
  background:#fee2e2;
  color:#991b1b;
}

.type-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:72px;
  min-height:28px;
  padding:4px 10px;
  border-radius:999px;
  background:#eef3fb;
  color:var(--blue);
  font-weight:900;
}

.type-cashbox{
  background:#dcfce7;
  color:#166534;
  border:1px solid #86efac;
  box-shadow:0 0 0 3px rgba(34,197,94,.12);
}

.pagination{
  display:flex;
  gap:8px;
  justify-content:center;
  margin-top:18px;
  flex-wrap:wrap;
}

.page-link{
  padding:8px 14px;
  border-radius:10px;
  background:#edf3fb;
  color:var(--blue);
  text-decoration:none;
  font-weight:700;
}

.page-link.active{
  background:#2d7fe0;
  color:#fff;
}

.page-info{
  margin-top:12px;
  text-align:center;
  color:var(--soft);
  font-weight:700;
}

@media(max-width:900px){
  .accounts-report-top{
    justify-content:flex-end;
  }

  .accounts-report-title{
    margin-right:0;
    margin-left:auto;
  }

  .accounts-report-title h1{
    font-size:18px;
  }
}

@media(min-width:901px){
  .accounts-report-title h1{
    font-size:22px;
  }

  .search-input{
    height:48px;
    font-size:16px;
    font-weight:700;
  }

  .btn{
    font-size:16px;
    padding:12px 20px;
  }

  .btn-edit{
    width:auto;
    min-height:36px;
    padding:8px 14px;
    font-size:15px;
  }

  th, td{
    font-size:16px;
    padding:13px 10px;
  }

  .page-link{
    font-size:16px;
    padding:10px 16px;
  }

  .page-info{
    font-size:16px;
  }
}