* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    font-size: 62.5%;

    --background-color: radial-gradient(circle, rgb(5, 7, 19) 0%, rgb(4, 5, 14) 50%, rgb(1, 1, 2) 100%);
    --ff-white1: #FFFFFF;
    --fc-white2: #E1E1E6;
    --br-blue1: #4A808C;
    --bg-button: #065E7C;
    --bg-thead: #092D38;
    --bg-input: #06181C;
    --bg-tr: #02090abd;
    --fc-action: #F75A68;
    --bs-color: rgba(255, 255, 255, 0.3);
    --ts-color: rgba(0, 0, 0, 0.25);
}

body * {
    font-family: 'Roboto', 'sans-serif';
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

body {
    font-size: 1.6rem;
    background: var(--background-color);
    color: var(--fc-white2);
}

#app {
    width: 112rem;
    padding: 2rem;
    margin: 4rem auto 0;
}

header {
    display: flex;
    align-items: center;
    margin-bottom: 6rem;
}

input {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 1.6rem;
    gap: 1rem;

    width: 46.2rem;
    height: 4.8rem;
    margin-left: 29rem;

    background: var(--bg-input);
    border-radius: 5px;
    border: none;

    color: var(--fc-white2);
}

button {
    cursor: pointer;

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: .8rem;

    background: var(--bg-button);
    border: none;
    border-radius: 5px;
    padding: 1.2rem 3.2rem;

    font-weight: 700;
    font-size: 1.4rem;
    line-height: 2.4rem;
    color: var(--ff-white1);

    width: 17rem;
    height: 4.8rem;
    margin-left: .8rem;
}

button:hover {
    filter: brightness(1.3);
    transition: 400ms;
}

main {
    overflow: auto;
    max-height: 65vh;
    height: 60rem;
}

table {
    border-collapse: collapse;

    margin: 0 auto;
    width: 100%;

    font-size: 2rem;
    line-height: 160%;
    font-weight: 700;

    box-shadow: 0 1rem 2rem -1rem var(--bs-color);
}

table thead {
    background: var(--bg-thead);
    height: 6.4rem;
    border: 1px solid var(--br-blue1);
    border-top-left-radius: 1.2rem;

    text-shadow: 0px 2px 2px var(--ts-color);
}

table thead tr {
    text-align: left;
}

table thead tr>th:nth-child(1) {
    padding-left: 4rem;
}

table tbody {
    background: var(--bg-input);
}

thead tr>th:nth-child(1),
tbody tr>td:nth-child(1) {
    width: 50rem;
}

thead tr>th:nth-child(2),
tbody tr>td:nth-child(2) {
    width: 22rem;
}

thead tr>th:nth-child(3),
tbody tr>td:nth-child(3) {
    width: 22rem;
}

thead tr>th:nth-child(4),
tbody tr>td:nth-child(4) {
    width: 18rem;
}

table tbody tr:nth-child(even) {
    background: var(--bg-input);
}

table tbody tr:nth-child(odd) {
    background: var(--bg-tr);
}

table tbody tr {
    border: 1px solid var(--br-blue1);
}

td.user {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    padding: 2.4rem 4rem;
}

td.user img {
    width: 6rem;
    height: 6rem;
    border-radius: 50%;

    object-fit: cover;
}

td.user a {
    text-decoration: none;
    color: var(--fc-white2);
}

td.user span {
    font-weight: 400;
}

table tbody tr td.action {
    color: var(--fc-action);
}

table tbody tr td.action span {
    cursor: pointer;
}

table tbody td.empty-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;

    color: var(--bs-color);
    width: 108rem;
    height: 40rem;

    position: absolute;
    background-color: var(--bg-input);

    font-size: clamp(2rem, 2rem + 0.5vw, 4rem);
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    border-radius: 6px;
}

::-webkit-scrollbar-thumb {
    background: var(--bg-button);
    border-radius: 6px;
}

@media (max-width: 767px) {
    #app {
        width: 34rem;
        padding: 0;
    }

    header {
        flex-direction: column;
        width: 34rem;
    }

    input {
        width: 25rem;
        margin: 3rem 0 1rem;
    }

    button {
        width: 25rem;
        margin-left: 0;
    }

    table {
        width: 34rem;
        font-size: 1rem;
    }

    table thead tr>th:nth-child(1) {
        padding-left: 1rem;
    }

    thead tr>th:nth-child(1),
    tbody tr>td:nth-child(1) {
        width: 15rem;
    }

    thead tr>th:nth-child(2),
    tbody tr>td:nth-child(2) {
        width: 5rem;
    }

    thead tr>th:nth-child(3),
    tbody tr>td:nth-child(3) {
        width: 5rem;
    }

    thead tr>th:nth-child(4),
    tbody tr>td:nth-child(4) {
        width: 5rem;
    }

    td.user {
        display: flex;
        align-items: center;
        gap: 1.6rem;
        padding: 2.4rem 1rem;
    }

    td.user img {
        width: 4rem;
        height: 4rem;
    }

    table tbody td.empty-row {
        width: 34rem;
        height: 32rem;
    }

    main {
        height: 30rem;
    }
}