
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: #1B76CF;
    text-decoration: none;
}

.header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 0.4rem 2rem;
    border-bottom: 1px solid #e7e7e7;
}

.logo {
    align-items: center;
    display: flex;
    flex-direction: row;
    gap: 1.2rem;
}

.logo img {
    width: 10rem;
}

.logo-text {
    font-size: 1.4rem;
    border-left: 1px solid #c7c7c7;
    padding: 0.2rem 1rem;
}

.menu-items {
    display: flex;
    flex-direction: row;
    gap: 0.6rem;
}

.menu-item {
    color: #666;
    text-decoration: none;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
}

.menu-item:hover {
    color: black;
    background-color: #f7f7f7;
}

.menu-item.active {
    background-color: #e7e7e7;
    color: black;
}

code {
    background-color: #efefef;
}

.code-block {
    display: block;
    background-color: #efefef;
    padding: 1rem;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    line-height: 140%;
}


.logo a { margin-top: 6px; }

.container {
    background: #fff;
    border-radius: 8px;
    /*box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);*/
    border: 1px solid #e7e7e7;
    max-width: 400px;
    padding: 2em;
    width: 100%;
    box-sizing: border-box;
}

.form-container h1 {
    margin-bottom: 1em;
    font-size: 1.5em;
    text-align: center;
}

.input-group {
    margin-bottom: 1em;
}

.input-group label {
    display: block;
    margin-bottom: 0.5em;
    color: #333;
}

.input-group input {
    width: 100%;
    padding: 0.75em;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 1em;
}

.input-group input:focus {
    border-color: #007BFF;
    outline: none;
}

button,
.button {
    display: inline-block;
    padding: 0.75rem 1.1rem;
    border: none;
    border-radius: 4px;
    background: #1B76CF;
    color: #fff;
    font-size: 1em;
    cursor: pointer;
    margin-top: 1em;
}

button:hover,
.button:hover {
    background: #0056b3;
}

.links {
    margin-top: 1em;
    text-align: center;
}

.links a {
    color: #007BFF;
    text-decoration: none;
    margin: 0 0.5em;
}

.links a:hover {
    text-decoration: underline;
}

.sign-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 2rem;
}

.main {
    display: flex;
    flex-direction: row;
    margin: 2rem auto;
    padding: 0 2rem;
    max-width: 60rem;
}

.toc {
    flex: 0 0 200px;

    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.toc-group {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.toc h3 {
    font-size: 85%;
    font-weight: bold;
    margin: 0;
    text-transform: uppercase;
    padding: 0;
    white-space: nowrap;
}

.toc-item.active {
    font-weight: bold;
}

.content {
    width: 100%;
}

.page {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 1.6rem;
    max-width: 60rem;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

h1, h2, h3, p {
    margin: 0;
    padding: 0;
}

.page h1 {
    font-size: 180%;
}

.large {
    font-size: 120%;
    line-height: 1.4;
    opacity: 0.7;
}

.page-header {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    border-bottom: 1px solid #e7e7e7;
    padding-bottom: 1.6rem;
}

 hr {
     height: 1px;
     margin: 0;
     padding: 0;
     border: 0;
     background-color: transparent;
     border-bottom: 1px solid #e7e7e7;
 }

.page-home {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.home-section {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    padding: 0 6rem;
}

.home-section-top {
    align-items: center;
    margin-top: 2rem;
}

.home-section > div {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.home-section h1 {
    font-size: 200%;
    line-height: 1.3;
}

.feature-content {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.home-section-features svg {
    color: #164681;
}

.feature-content p {
    opacity: 0.7;
    line-height: 1.5;
}

.home-section-community {
    align-items: center;
}

.home-section-community-image {
    flex: 0;
}

.home-section-community-content {
    flex-grow: 1;
}

footer {
    border-top: 1px solid #e7e7e7;
    margin-top: 4rem;
    padding: 1.2rem 2rem;
}

footer p {
    opacity: 0.7;
}

.hide {
    display: none !important;
}

/* ## APPS ## */


.page-apps {
    padding: 2rem 0;
}

.app-sub-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.app-add {
    display: flex;
    flex-direction: row;
    gap: 0.6rem;
    align-items: center;
    line-height: 1;
    width: 132px;
    margin-top: 0;
    padding: 0.5rem 0.5rem;
}

.app-empty {
    opacity: 0.6;
    padding: 2rem;
    background-color: #ececec;
    border-radius: 4px;
    text-align: center;
}

.app-item {
    border: 1px solid #ccc;
    padding: 1.6rem;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    background-color: #f5f4f4;
}

.field-group {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.field-group label {
    font-weight: bold;
    font-size: 80%;
    text-transform: uppercase;
}

.field-group input {
    font-size: 110%;
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.field-app-token-field {
    display: flex;
    position: relative;
}

#field-app-token {
    width: 100%;
}

.copy-token {
    position: absolute;
    right: 0.5rem;
    top: 0.1rem;
    padding: 0.6rem;
}

.app-item .button {
    margin-top: 0;
}

.app-item-closed {
    border: 1px solid #ccc;
    padding: 1.6rem;
    border-radius: 4px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 1.4rem;
    background-color: #f5f4f4;
}

.app-item-closed-title {
    font-size: 120%;
    font-weight: bold;
}

.app-item-closed-actions {
    display: flex;
    flex-direction: row;
    gap: 1.2rem;
}

.app-item-closed-delete {
    color: #c00;
}

.apps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.beta {
    padding: 0.6rem;
    background-color: #FFEED5;
    color: #746753;
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    align-items: center;
    font-size: 90%;
}

.beta-tag {
    font-size: 80%;
    text-transform: uppercase;
    font-weight: bold;
    border: 1px solid #DFC29A;
    border-radius: 2px;
    padding: 0.2rem 0.3rem;
    line-height: 1;
}

.banner {
    padding: 0.6rem;
    background-color: #E6F4FB;
    color: #20516b;
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    align-items: center;
    font-size: 90%;
    border-radius: 4px;
}

.message {
    max-width: 20rem;
    margin: 0 auto;
    padding: 0.4rem;
    border-radius: 4px;
    background-color: #c5e6ff;
    text-align: center;
    margin-top: 1.4rem;
}