:root {
    --blue100: #dde6fc;
    --blue200: #c3d4fa;
    --blue300: #9abaf6;
    --blue400: #6a95f0;
    --blue500: #4771ea;
    --blue600: #3555df;
    --blue700: #2940cc;
    --blue800: #2735a6;
    --blue900: #253183;
    --blue950: #1b2050;
    --darkBlueBg: #00020d;
    --slate50: #f7f7f8;
    --slate100: #eeeef0;
    --slate200: #d9d9de;
    --slate300: #b8b9c1;
    --slate400: #92939e;
    --slate500: #747583;
    --slate600: #5e5f6b;
    --slate700: #4d4e57;
    --slate800: #42424a;
    --slate900: #3a3a40;
    --slate950: #26262b;
}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-family: "Outfit", sans-serif;
}

html,
body {
    max-width: 100vw;
    overflow-x: hidden;
    height: 100vh;
}

body {
    background-color: var(--darkBlueBg);
    color: var(--slate200);
}

p {
    line-height: 1.5rem;
    font-weight: 300;
    overflow-wrap: break-word;
    font-size: 1rem;
}

b {
    font-weight: 600;
}

.key-wrapper {
    padding-bottom: 1.5rem;
    padding-left: 0.5rem;
}

.container {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-width: 40vw;
    min-width: 35rem;
    margin: auto;
    padding: 1rem;
    height: calc(100vh - 7rem - 1px);
    padding-bottom: 5rem;
    min-height: calc(100vh - 3.5rem);
}

.container #body {
    margin-top: 3rem;
}

.text-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.25rem;
    font-weight: 500;
    margin-bottom: 1rem;
    line-height: 1.2;
}

h3 {
    font-size: 1.15rem;
    font-weight: 500;
}

.divider {
    opacity: 0.6;
    border: 0;
    border-style: solid;
    border-bottom-width: 1px;
    width: 100%;
    border-color: var(--slate400);
    margin: 2rem 0;
}

.stepper {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

a {
    color: var(--blue400);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
    text-decoration-color: var(--blue400);
}

.button {
    border-radius: 100px;
    font-weight: 400;
    transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform;
    transition-duration: 200ms;
    padding-left: 18px !important;
    padding-right: 18px !important;
    height: 2.5rem;
    min-width: 2.5rem;
    font-size: 1rem;
    -webkit-padding-start: 1rem;
    padding-inline-start: 1rem;
    -webkit-padding-end: 1rem;
    padding-inline-end: 1rem;
    background: var(--blue500);
    color: white;
    background-image: linear-gradient(to right, var(--blue500), var(--blue800));
    transition-timing-function: linear;
    width: 100%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.button:hover {
    background-color: var(--blue800);
    background-image: none;
    cursor: pointer;
}

.button:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.button:disabled:hover {
    background-color: var(--blue800);
    background-image: none;
}

.button-stepper {
    cursor: pointer;
    color: var(--blue500);
    font-size: 1.1rem;
    border: none;
    background: none;
    width: 4rem;
    margin: 0 1rem;
    display: flex;
    justify-content: center;
}

.button-stepper:hover {
    text-decoration: underline;
}

.refresh-wrapper {
    color: var(--slate400);
    display: flex;
    align-items: center;
}

.refresh-wrapper:hover {
    text-decoration: underline;
}

.refresh-button {
    cursor: pointer;
    color: var(--slate300);
    font-size: 1.1rem;
    border: none;
    background: none;
    padding-right: 1rem;
    display: flex;
    align-items: center;
}

.refresh-button:hover {
    text-decoration: underline;
}

.refresh-span {
    width: 1.5em;
    height: 1em;
    display: inline-block;
    line-height: 1em;
    -webkit-flex-shrink: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    color: currentColor;
    vertical-align: middle;
}

.refresh-icon {
    margin-inline-end: 0.5rem;
}

.stepper-icon {
    display: inline-flex;
    align-self: center;
    -webkit-flex-shrink: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

.left-pad {
    margin-inline-end: 0.5rem;
}

.right-pad {
    margin-inline-start: 0.5rem;
}

.stepper-icon svg {
    width: 1em;
    height: 1em;
    display: inline-block;
    line-height: 1em;
    -webkit-flex-shrink: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    color: currentColor;
    vertical-align: super;
}

.box {
    border-bottom: 1px solid white;
    padding: 0.8rem 0;
    max-height: 50px;
}

.box-text {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    font-size: 1rem;
}

.header {
    display: flex;
    justify-content: space-between;
    padding: 0 1.5rem;
    height: 3.5rem;
}

.header-left {
    font-size: 1.125rem;
    font-weight: 500;
    text-decoration: none !important;
    display: flex;
    align-items: center;
}

.header-right {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.footer {
    background-color: var(--darkBlueBg);
    padding: 1rem 0;
    height: 3.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 500;
}

.divider-footer {
    height: 1px;
    background: var(--slate500);
}

.users-wrapper,
.feedback-wrapper {
    max-height: 300px;
    overflow-y: scroll;
}

.keys-header {
    margin-bottom: 1.5rem;
}

.users-header {
    font-weight: 700;
    font-size: 1.125rem;
    font-family: "DM Sans", sans-serif;
}

.join-group-button,
.send-feedback-button {
    margin-top: 1.5rem;
}

.github-icon {
    width: 1.5rem;
    height: 1.5rem;
    display: inline-block;
    line-height: 1em;
    -webkit-flex-shrink: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    color: currentColor;
}

.github-button {
    cursor: pointer;
    color: var(--slate100);
    font-size: 1.1rem;
    border: none;
    background: none;
    padding-right: 1rem;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    display: inline-block;
    overflow: visible !important;
    fill: currentColor;
    color: #f0f6fc !important;
    vertical-align: middle !important;
    width: 2rem;
    height: 2rem;
}

.loader {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    border-top: 2px solid var(--slate100);
    border-right: 2px solid transparent;
    animation: spin 1s linear infinite;
    z-index: 20;
    margin-left: 0.5rem;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
