@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,100..700;1,100..700&display=swap');

:root {
    --c100: #161616;
    --c50: #262626;
    --c40: #6f6f6f;
    --c0: white;
    --c25: #f4f4f4;
    --action: #0043ce;
    --action-dark: #003eb8;
    --th: #e0e0e0;
    --td-hover: #e6e5e5;
    --body-bg: var(--c25);
    --component-bg: var(--c0);
    --gutter: 1.6rem;
}

html,
body {
    margin: 0;
    font-size: 14px;
    font-family: "IBM Plex Sans", sans-serif;
    background: var(--body-bg);
    line-height: 1.4;
}

h1,
h2,
h3,
h4 {
    margin: 0;
}

ul {
    list-style: none;
    padding: 0;
}

.main-header {
    padding: 0 var(--gutter);
    display: flex;
    justify-content: space-between;
    background: var(--c100);
    color: var(--c0);
}

.main-header .brand {
    background: var(--c50);
    padding: 1rem;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
    margin-left: calc(var(--gutter) * -1);
    font-weight: 600;
}

.main-header>* {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.main-header a:link,
.main-header a:visited {
    color: var(--c0);
    text-decoration: none;
}

.main-header a:hover {
    text-decoration: underline;
}

main {
    padding: 0 var(--gutter);
}


button,
input[type="submit"],
.button {
    background: var(--action);
    padding: 8px 12px;
    color: var(--c0);
    text-decoration: none;
    border: none;
    outline: none;
    line-height: 1.5;
    font-family: "IBM Plex Sans", sans-serif;
    cursor: pointer;
}

button:hover,
input[type="submit"]:hover,
.button:hover {
    background: var(--action-dark);
}

/** ASIDE **/

main.has-aside {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 1rem;
}

aside ul {
    margin: 0;
}


aside ul li::before {
    content: attr(data-title);
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}

aside ul li.copied::after {
    content: "Copied!";
    position: absolute;
    right: var(--inset);
    color: green;
    font-size: 0.8em;
    font-weight: 600;
    padding-left: 0.5em;
    user-select: none;
}

section div:not([class]) {
  padding: var(--inset)
}




/** SECTIONS AND ASIDES AND TITLES **/

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem var(--gutter);
}

header h1 {
    font-size: 22px;
}

.asides {
    --gap: 1rem;
    --inset: 1rem;
    --bg: var(--c0);
    --border: var(--c100);
    display: flex;
    flex-direction: column;
    gap: var(--gap)
}

.sections {
    --gap: 1rem;
    --inset: 1rem;
    --bg: var(--c0);
    --border: var(--c100);
    display: flex;
    flex-direction: column;
    gap: var(--gap)
}

section,
aside {
    background: var(--bg);
}

main .title {
    border-bottom: 1px solid var(--c25);
    padding: var(--inset);
}

main .title h1,
main .title h2,
main .title h3 {
    font-size: 1.125rem;
    font-weight: 700;
}

aside ul li {
    cursor: pointer;
    position: relative;
    border-bottom: 1px solid var(--c25);
    margin: 0;
    padding: 12px var(--inset);
}

aside code {
    white-space: break-spaces;
    word-break: break-all;
    overflow-wrap: break-word;
}


main .title+* p {
    padding: 4px var(--inset);
}


/** TABLES **/


table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

table th,
table td {
    padding: 14px 8px;
    text-align: left;
    border-bottom: 1px solid #f3f4f6;
}


table th {
    background-color: var(--th);
    font-weight: 500;
}


table tr:hover {
    background-color: var(--td-hover);
}


.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-form-component {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    width: 100%;
    max-width: 400px;
    padding: 40px;
}

.login-header {
    text-align: center;
    margin-bottom: 32px;
}

.login-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.form-label {
    font-size: 12px;
    font-weight: 500;
    color: #374151;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-input {
    font-family: inherit;
    font-size: 13px;
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    background-color: #ffffff;
    transition: border-color 0.1s ease;
}