/* navbar */
#dashboard nav {
    display: flex;
    align-items: center;
    background-color: lightblue;
    border-bottom: 1px solid black;
}

#dashboard nav div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

#dashboard nav div h1 {
    font-family: "Archivo Black", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 20px;
    margin-left: 10px;
}

#dashboard nav div h1 sub {
    font-family: "Archivo Black", sans-serif;
    font-weight: 400;
    font-style: normal;
}

#dashboard nav div button {
    font-family: "Archivo Black", sans-serif;
    font-weight: 400;
    font-style: normal;
    height: 40px;
    margin: 10px;
    border: 1px solid black;
    border-radius: 10px;
}

#dashboard nav div button:active {
    background-color: rgb(221, 220, 220);
}

/* main */
.main {
    padding-top: 3dvh;
    margin: 10px;
}

.main h3 {
    font-family: "Archivo Black", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.sold {
    border: 1px solid black;
    border-radius: 10px;
    padding: 10px;
    background-color: rgb(223, 245, 252);

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sold h4 {
    margin: 10px;
    font-family: "Archivo Black", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.main button {
    padding: 10px;
    font-family: "Archivo Black", sans-serif;
    font-weight: 400;
    font-style: normal;
    border: 1px solid black;
    border-radius: 10px;
}

.main button:active {
    background-color: rgb(221, 220, 220);
}

.button_group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* recent_tr */

.recent_tr {
    border: 1px solid black;
    border-radius: 10px;
    padding: 10px;
    margin: 10px;
    background-color: rgb(223, 245, 252);
    font-family: Arial, sans-serif;
}

.recent_tr h4 {
    font-family: "Archivo Black", sans-serif;
    font-weight: 400;
    font-style: normal;
}

/* Istoric Tranzactii */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}


.modal-content {
    background-color: #e0f2fe;
    border: 2px solid #000;
    border-radius: 12px;
    width: 85%;
    max-width: 350px;
    max-height: 70vh;
    padding: 15px;
    display: flex;
    flex-direction: column;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #000;
    padding-bottom: 8px;
    margin-bottom: 12px;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.1rem;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
}

.modal-body {
    overflow-y: auto;
}

#full-history-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

#full-history-list li {
    padding: 8px 0;
    border-bottom: 1px dashed #ccc;
    font-size: 0.9rem;
}

/* Top 10 Leaderboard */
.leaderboard-box {
    margin-top: 15px;
}

.top-list {
    margin: 10px 0 0 20px;
    padding: 0;
    font-family: Arial, sans-serif;
    font-size: 0.95rem;
}

.top-list li {
    padding: 6px 0;
    border-bottom: 1px dashed black;
    font-weight: bold;
}

.top-list li:last-child {
    border-bottom: none;
}

.top-list .amount {
    color: #0b6bcb;
}