.main > div {
    display: grid;
    grid-auto-flow: row;
    grid-template-rows: 1fr 30px;
    width: 100%; height: 100%;
    overflow: hidden;
}

.main > div > div:first-child {
    display: grid;
    grid-auto-flow: column;
    grid-template-columns: 150px 1fr;
    width: 100%; height: 100%;
    overflow: hidden;
}

.main > div > div:first-child > div:first-child,
.main > div > div:first-child > div:last-child{
    display: block;
    width: 100%; height: 100%;
    padding: 5px;
    overflow: hidden;
}
.main > div > div:first-child > div:last-child { padding-left: 0; }

.main > div > div:first-child > div:first-child { position: relative; }

.main > div > div:first-child > div:last-child > div {
    position: relative;
    display: block;
    width: 100%; height: 100%;
    background: var(--c12);
    overflow: hidden;
}
.main > div > div:first-child > div:last-child > div > div {
    position: absolute;
    display: block;
    top: 0; left: 0;
    width: 100%; height: 100%;
    visibility: hidden;
    padding: 5px;
    user-select: none;
    z-index: 1;
}
.main > div > div:first-child > div:last-child > div > div > p {
    margin-top: 0; margin-bottom: 10px;
    color: white;
    font-size: 10pt;
    user-select: none;
    font-weight: 300;
}
.main > div > div:first-child > div:last-child > div > div > p:last-child {
    margin-bottom: 0;
}
.main > div > div:first-child > div:last-child > div > div.show {
    visibility: visible;
}
.main > div > div:first-child > div:last-child > div > div.scroll {
    overflow-y: auto;
    overflow-x: hidden;
}

.main > div > div:first-child > div:last-child > div > div > .centered {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 20px);
}

.main > div > div:first-child > div:last-child > div > div > .inputs {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 20px);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(6, 30px);
    gap: 10px;
    z-index: 1;   
}

.main > div > div:first-child > div:last-child > div > div > .inputs > input[type='text'] {
    border: 0;
    outline: 0;
    width: 100%; height: 100%;
    background-color: var(--c0);
    text-align: center;
    font-size: 10pt;
    font-weight: 300;
    color: black;
}

.main > div > div:first-child > div:last-child > div > div > .countdown {
    position: absolute;
    bottom: 10px; right: 10px;
    color: white;
    font-size: 12pt;
    font-weight: 500;
    z-index: 1;
}

.main > div > div:first-child > div:first-child > button {
    display: block;
    border: 0;
    outline: none;
    background: var(--c12);
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.1);
    width: 100%; height: 35px;
    font-size: 12pt;
    font-weight: 500;
    color: white;
    transition: all 0.1s ease-in-out;
    margin-bottom: 5px;
}

.main > div > div:first-child > div:first-child > button.disabled {
    cursor: none !important;
    opacity: 0.1;
}

.main > div > div:first-child > div:first-child > button:hover {
    cursor: pointer;
}

.main > div > div:first-child > div:first-child > button:active,
.main > div > div:first-child > div:first-child > button.selected {
    box-shadow: none;
    
    box-shadow: inset 4px 4px 6px rgba(0, 0, 0, 0.6), 
                inset -4px -4px 6px rgba(255, 255, 255, 0.1);
}

.main > div > div:first-child > div:first-child > .wallet-info {
    position: absolute;
    bottom: 5px; left: 5px;
    display: none;
    width: calc(100% - 10px);
    border: 1px solid var(--c6);
    overflow: hidden;
}
.main > div > div:first-child > div:first-child > .wallet-info.show { display: block; }

.main > div > div:first-child > div:first-child > .wallet-info > .main-label,
.main > div > div:first-child > div:first-child > .wallet-info > .label {
    display: block;
    width: 100%;
    font-size: 8pt;
    color: white;
    font-weight: 700;
    text-align: center;
}
.main > div > div:first-child > div:first-child > .wallet-info > .main-label {     
    border-bottom: 1px solid var(--c6); margin-bottom: 5px; padding-top: 5px; padding-bottom: 5px;
}
.main > div > div:first-child > div:first-child > .wallet-info > .info {
    display: block;
    width: 100%;
    font-size: 8pt;
    color: white;
    font-weight: 300;
    text-align: center;
    margin-bottom: 5px;
}

.main > div > div:last-child {
    display: grid;
    grid-auto-flow: column;
    grid-template-columns: 150px 1fr 150px;
    background-color: var(--c10);
    width: 100%; height: 100%;
    box-shadow: 0px -10px 20px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.main > div > div:last-child > div:first-child {
    padding: 5px;
}

.main > div > div:last-child > div:first-child > .progressbar {
    position: relative;
    display: block;
    width: 100%; height: 100%;
    background-color: var(--c0);
    z-index: 0;
}

.main > div > div:last-child > div:first-child > .progressbar > .progress {
    position: absolute;
    display: block;
    width: 0%; height: 100%;
    background-image: linear-gradient(to bottom, limegreen, green);
    transition: background-image 0.1s ease-in-out, width 0.1s ease-in-out;
    z-index: 1;
}

.main > div > div:last-child > div:nth-child(2),
.main > div > div:last-child > div:last-child {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 5px;
    color: white;
    font-size: 10pt;
    font-weight: 300;
}
.main > div > div:last-child > div:last-child {
    border-left: 1px solid var(--c7);
    font-size: 8pt;
}

.main > div > div:first-child > div:last-child > div > div[data-id="Support"] {
    display: grid;
    grid-auto-flow: row;
    grid-template-rows: 35px 1fr 35px;
    width: 100%; height: 100%;
    overflow: hidden;
}

.main > div > div:first-child > div:last-child > div > div[data-id="Support"] > div:first-child {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--c16);
    font-size: 10pt;
    font-weight: 300;
    color: white;
}

.main > div > div:first-child > div:last-child > div > div[data-id="Support"] > div:last-child {
    display: grid;
    grid-auto-flow: column;
    grid-template-columns: 1fr 80px;
    width: 100%; height: 100%;
    column-gap: 5px;
    overflow: hidden;
}

.main > div > div:first-child > div:last-child > div > div[data-id="Support"] > div:nth-child(2) {
    display: block;
    width: 100%; height: 100%;
    background-color: var(--c15);
    padding: 10px;
    overflow-y: auto;
    overflow-x: hidden;
}

.main > div > div:first-child > div:last-child > div > div[data-id="Support"] > div:last-child > div:first-child > input[type='text'] {
    border: 0;
    outline: none;
    user-select: none;
    background-color: white;
    width: 100%; height: 100%;
    padding-left: 5px; padding-right: 5px;
    font-size: 12pt;
    color: black;
    font-weight: 300;
}

.main > div > div:first-child > div:last-child > div > div[data-id="Support"] > div:last-child > div:last-child > button {
    border: 0;
    outline: none;
    user-select: none;
    background-color: var(--c6);
    width: 100%; height: 100%;
    font-size: 10pt;
    color: black;
    opacity: 0.9;
    font-weight: 700;
}
.main > div > div:first-child > div:last-child > div > div[data-id="Support"] > div:last-child > div:last-child > button:hover {
    opacity: 0.8;
    cursor: pointer;
}

.main > div > div:first-child > div:last-child > div > div[data-id="Support"] > div:last-child > div:last-child > button:active {
    opacity: 1;
}

.main > div > div:first-child > div:last-child > div > div[data-id="Support"] > div:last-child > div:last-child > button.disabled {
    opacity: 0.7;
    cursor: none !important;
}

.form {
    display: grid;
    grid-auto-flow: column;
    grid-template-columns: 180px 1fr;
    width: 100%; height: 30px;
    margin-bottom: 5px;
}
.form > .label {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 5px; padding-right: 5px;
    font-size: 10pt;
    color: white;
    font-weight: 500;
}
.form > .input {
    display: block;
    width: 100%; height: 100%;
    background-color: var(--c0);
}
.form > .input > input[type='text'] {
    border: 0;
    outline: none;
    width: 100%; height: 100%;
    font-size: 10pt;
    color: black;
    font-weight: 300;
    padding-left: 5px; padding-right: 5px;
    user-select: none;
}
.uploads {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 30px);
    gap: 10px;
    width: 100%;
    margin-top: 10px;
}
.uploads > .upload {
    position: relative;
    display: block;
    width: 100%; height: 100%;
    overflow: hidden;
    z-index: 0;
}
.uploads > .upload > input[type='file'] {
    position: absolute;
    top: 0; left: 0;
    display: block;
    width: 100%; height: 100%;
    opacity: 0;
    z-index: 5;
}
.uploads > .upload > input[type='file']:hover {
    cursor: pointer;
}
.uploads > .upload > button {
    position: absolute;
    top: 0; left: 0;
    display: block;
    width: 100%; height: 100%;
    border: 0;
    outline: none;
    background-color: var(--c5);
    color: black;
    font-size: 10pt;
    font-weight: 500;
    transition: all 0.3s ease-in-out;
    user-select: none;
    z-index: 4;
}
.uploads > .upload > button.hover {
    background-color: var(--c3);
    cursor: pointer;
}
.uploads > .upload > button.active {
    background-color: var(--c5);
}
.uploads > .upload > button.hasFile {
    background-color: limegreen;
}
.uploads > .upload > button.disabled {
    opacity: 0.1;
}
.bottom-right-buttons {
    position: absolute;
    bottom: 10px; right: 10px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    z-index: 1;
}
.bottom-right-buttons > button {
    border: 0;
    outline: none;
    user-select: none;
    background: var(--c3);
    min-width: 100px; height: 28px;
    font-size: 12pt;
    font-weight: 700;
    opacity: 0.9;
    color: black;
    transition: all 0.1s ease-in-out;
    margin-left: 5px;
}
.bottom-right-buttons > button:hover {
    opacity: 0.8;
    cursor: pointer;
}
.bottom-right-buttons > button:active {
    opacity: 1;
}
.bottom-right-buttons > button.disabled {
    opacity: 0.1;
    cursor: none !important;
}
.fields {
    display: grid;
    grid-auto-flow: column;
    grid-template-columns: 180px 1fr;
    width: 100%; min-height: 30px;
    margin-bottom: 5px;
    background-color: var(--c10);
}
.fields > div {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-size: 12pt;
    color: white;
    font-weight: 700;
    user-select: none;
    padding-left: 5px; padding-right: 5px
}
.fields > div:last-child {
    font-weight: 300;
}

.chat-container {
    display: block;
    width: 100%;
    margin-bottom: 5px;
}

.chat-container > .chat-client {
    display: grid;
    grid-auto-flow: row;
    grid-template-rows: 1fr 20px;
    width: 70%;
    margin-left: 30%;
    background-color: var(--c3);
}

.chat-container > .chat-support {
    display: grid;
    grid-auto-flow: row;
    grid-template-rows: 1fr 20px;
    width: 70%;
    margin-right: 30%;
    background-color: var(--c0);
}

.chat-container > div > div:first-child {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 5px;
    font-size: 10pt;
    color: black;
    font-weight: 300;
}
.chat-container > div > div:last-child {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 5px;
    font-size: 8pt;
    color: black;
    font-weight: 700;
}