:root {
    --dashboard-border-bottom-radius-desktop: 20px;
    --dashboard-border-top-radius-desktop: 400px;
    --dashboard-padding: 10px;

    --panel-border-color: rgba(255, 255, 255, 0.3);
}

.dashboard-panel {
    height: 100%;
    padding: 5px;
    background-color: var(--panel-background-color);

    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);

    border-style: solid;
    border-color: var(--panel-border-color);
    border-width: 2px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
}

.dashboard-top-section {
    height: 30%;
    width: 100%;
    background-color: transparent;
    padding: 5px;
    padding-top: 10px;
    padding-bottom: 5px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: end;
}

.did-copy {
    background-image: url("../../assets/did_eclipse.png");
    color: transparent;
}

.name-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
}

.csv-download {
    width: 50px;
    height: 50px;

    background-image: url("../../assets/dashboard/csv2.svg");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.csv-download:hover {
    transform: scale(110%);
}

.json-download {
    width: 50px;
    height: 50px;

    background-image: url("../../assets/dashboard/json2.svg");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.json-download:hover {
    transform: scale(110%);
}

.dashboard-nickname {
    color: white;
    height: fit-content;
    width: fit-content;
    font-size: 30px;
    font-weight: bolder;
    margin-top: 10px;
    margin-bottom: 10px;
}

.dashboard-address {
    width: 80%;
    height: fit-content;
    word-wrap: break-word;
    text-align: center;
    font-size: 10px;
    font-weight: bold;
    color: white;
}

.dashboard-menu-bar {
    height: fit-content;
    width: 60%;
    margin-top: 10px;

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
}

.menu-container {
    height: 100%;
    width: 100%;

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;

    color: white;
}

.dashboard-back-button {
    background-image: url("../../assets/dashboard/Back.svg");
    color: transparent;
}

.create-room-button {
    background-image: url("../../assets/dashboard/icon_add.svg");
    color: transparent;
}

.dashboard-bottom-section {
    width: 100%;
    height: 70%;

    overflow-x: hidden;
    overflow-y: auto;
}

.contact-nickname {
    display: none;
}

.contact_address {
    display: none;
}

.download-csv-button {
    background-image: url("../../assets/dashboard/download_csv_1.svg");
}

/*for desktop*/
@media (min-width:600px) {
    .dashboard-panel {
        width: 500px;
        margin: 5px;
        border-top-left-radius: var(--dashboard-border-top-radius-desktop);
        border-top-right-radius: var(--dashboard-border-top-radius-desktop);
        border-bottom-left-radius: var(--dashboard-border-bottom-radius-desktop);
        border-bottom-right-radius: var(--dashboard-border-bottom-radius-desktop);
    }

    .name-container {
        width: 100%;
        height: 60px;
        margin-bottom:20px;
    }

    .did-copy {
        width: 90px;
        height: 90px;
    }

    .csv-download{
        position:relative;
        top:100%;
    }

    .json-download{
        position:relative;
        top:100%;
    }

    .create-room-button {
        height: 40px;
        width: 40px;
        margin-right: 10px;
    }

    .dashboard-back-button {
        height: 40px;
        width: 50px;
        margin-right: 10px;
    }

    .download-csv-button:hover {
        transform: scale(110%);
    }

    .dashboard-back-button:hover {
        transform: scale(110%);
    }

    .create-room-button:hover {
        transform: scale(110%);
    }

    .did-copy:hover {
        transform: scale(110%);
    }
}

/*for mobile*/
@media (max-width:600px) {
    .dashboard-panel {
        width: 100%;
        margin: 0px;
        border-top-left-radius: var(--dashboard-border-top-radius-desktop);
        border-top-right-radius: var(--dashboard-border-top-radius-desktop);
        border-bottom-left-radius: var(--corner-radius-mobile);
        border-bottom-right-radius: var(--corner-radius-mobile);
    }

    .name-container{
        width: 100%;
        height: 40px;
    }

    .did-copy {
        width: 70px;
        height: 70px;
    }

    .create-room-button {
        height: 40px;
        width: 40px;
    }

    .csv-download{
        position:relative;
        top:100%;
    }

    .json-download{
        position:relative;
        top:100%;
    }

    .dashboard-back-button {
        height: 30px;
        width: 40px;
    }
}