.table {
    width: 100%;
    border-collapse: collapse;
    background: var(--panel);
    border: 1px solid var(--bordercopy);
    border-radius: 0px;
    overflow: hidden;
    margin-bottom: 0;
}
.table th,
.table td {
    padding: 10px;
    border-bottom: 1px solid var(--bordercopy);
    text-align: left;
}
.compact td,
.compact th {
    padding: 7px;
}
.pagination {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin: 22px 0;
}
.pagination a {
    padding: 8px 10px;
    border: 1px solid var(--bordercopy);
    border-radius: 0px;
    text-decoration: none;
    color: var(--muted);
}
.pagination .active {
    background: var(--accent);
    color: #06111f;
}
.upload {
    display: grid;
    gap: 15px;

}
.back {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--muted);
}

.chart-panel {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 0px;
    padding: 18px;
    margin-bottom: 18px;
}
.chart-panel #historyChart {
    width: 100%;
    min-height: 420px;
}
.accordion {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 0px;
    margin-bottom: 24px;
    overflow: hidden;
}
.accordion summary {
    cursor: pointer;
    list-style: none;
    padding: 16px 18px;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.accordion summary::-webkit-details-marker {
    display: none;
}
.accordion summary:after {
    content: "+";
    font-size: 22px;
    color: var(--accent);
}
.accordion[open] summary:after {
    content: "−";
}
.accordion summary span {
    font-weight: 400;
    color: var(--muted);
    font-size: 14px;
}
.accordion-body {
    padding: 0 18px 18px;
}
.history-table {
    margin-bottom: 0;
}


.currency-switcher {
    display: inline-flex;
    align-items: center;
    margin-left: 18px;
    vertical-align: middle;
}
.currency-switcher label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 14px;
}
.currency-switcher select {
    min-width: 86px;
    padding: 7px 9px;
}
@media (max-width: 700px) {
    .currency-switcher {
        display: flex;
        margin: 12px 0 0;
    }
    .currency-switcher label {
        align-items: flex-start;
        flex-direction: column;
    }
    .currency-switcher select {
        min-width: 120px;
    }
}

.auth-box { background: var(--panel); border: 1px solid var(--border); padding: 18px; margin-bottom: 18px; max-width: 760px; }
.notice.error { border-color: #ef4444; }
.checkbox { flex-direction: row !important; align-items: center; }
.checkbox input { min-width: auto; }
.profile-preview img { width: 100%; height: auto; object-fit: cover; border: 1px solid var(--bordercopy); }
.modal { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.75); z-index: 20; align-items: center; justify-content: center; }
.modal.open { display: flex; }
.modal-card { background: var(--panel); border: 1px solid var(--border); padding: 18px; width: min(92vw, 520px); }
#cropArea { width: 100%; min-height: 360px; }
.table input, .table select { min-width: 120px; width: 100%; }




.compact-pagination {
    align-items: center;
}
.compact-pagination a,
.compact-pagination .disabled,
.compact-pagination .page-status {
    padding: 8px 12px;
    border: 1px solid var(--border);
}
.compact-pagination .disabled {
    color: #64748b;
    opacity: .6;
}
.compact-pagination .page-status {
    color: var(--muted);
    background: var(--panel);
}
.profile-box {
    max-width: none;
}
.profile-form {
    max-width: none;

}
.profile-form label input,
.profile-form label select {
    width: 100%;
}
.profile-image-panel {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 20px;
   
}
.profile-image-panel > label {
    grid-column: 2;
}
.profile-preview {
    grid-row: 1 / span 2;
}
.profile-preview span {
    display: flex;
    width: 120px;
    height: 120px;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    border: 1px solid var(--border);
}
.dropzone {
  grid-column: 2;
  min-height: 120px;
  border: 2px dashed var(--bordercopy);
  background: var(--inpbg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  color: var(--white);
}

.dropzone strong {
    color: var(--white);
}
.dropzone.dragover {
    border-color: var(--sidenav);
}
.file-hidden {
    display: none;
}
.profile-form button {
    align-self: end;
}
@media (max-width: 800px) {
    .profile-form,
    .profile-image-panel {
        grid-template-columns: 1fr;
    }
    .profile-image-panel > label,
    .dropzone,
    .profile-preview {
        grid-column: auto;
        grid-row: auto;
    }
}

.edp-card-item {
  display: block;
  background: var(--darkbg);
  position: relative;
  border: 1px solid var(--bordercopy);
  margin: 0 0 20px 0;
}


.edp-card-head {
  border-bottom: 1px solid var(--bordercopy);
  padding: 15px 20px;
}

.edp-card-content h5 {
  font: 15px 'Figtree', Helvetica, Arial, sans-serif;
  margin: 0 0 8px 0;
  padding: 0;
  color: var(--textlight);
  display: block;
}

.edp-card-content .inp-txt {
display: block;
width:100%;
margin: 0 0 20px 0;
}

.edp-card-content small {
  color: var(--textlight);
  font-size: 13px;
  display: block;
  margin: -10px 0 15px 0;
}

#profileDropzone small {
    display: none;
}

#profileDropzone span {
  color: var(--textlight);
  font-size: 13px;
}
