:root {
    --horeko-blue: #0047ba;
    --horeko-border: #dce3ef;
}

@font-face {
    font-family: "Metropolis";
    src: url("/Content/fonts/metropolis/Metropolis-Regular.otf") format("opentype");
}

@font-face {
    font-family: "Metropolis";
    font-weight: 700;
    src: url("/Content/fonts/metropolis/Metropolis-Bold.otf") format("opentype");
}

body,
.swagger-ui,
.swagger-ui .info,
.swagger-ui .info .title,
.swagger-ui .opblock-tag,
.swagger-ui .opblock .opblock-summary-description,
.swagger-ui .opblock .opblock-summary-method,
.swagger-ui .opblock .opblock-summary-path,
.swagger-ui .btn,
.swagger-ui input,
.swagger-ui select,
.swagger-ui textarea {
    font-family: "Metropolis", sans-serif;
}

.swagger-ui .topbar {
    background: #ffffff;
    border-bottom: 2px solid var(--horeko-blue);
}

.swagger-ui .topbar .topbar-wrapper {
    align-items: center;
    gap: 16px;
}

.swagger-ui .topbar .link img {
    height: auto;
    width: 150px;
}

#horeko-auth {
    align-items: center;
    display: flex;
    flex: 0 1 auto;
    gap: 8px;
}

#horeko-auth input,
#horeko-auth button {
    border: 1px solid var(--horeko-border);
    box-sizing: border-box;
    font: 14px "Metropolis", sans-serif;
    height: 34px;
}

#horeko-auth input {
    min-width: 112px;
    padding: 0 9px;
}

#horeko-auth button {
    background: #ffffff;
    border-color: var(--horeko-blue);
    color: var(--horeko-blue);
    cursor: pointer;
    padding: 0 16px;
}

#horeko-auth button:hover,
#horeko-auth button:focus-visible {
    background: var(--horeko-blue);
    color: #ffffff;
}

#horeko-auth-message {
    color: #202735;
    font-size: 12px;
    max-width: 220px;
}

.swagger-ui .auth-wrapper {
    display: none;
}

#horeko-privacy {
    color: var(--horeko-blue);
    display: block;
    margin: 32px auto;
    text-align: center;
    text-decoration: underline;
}

@media (max-width: 900px) {
    .swagger-ui .topbar .topbar-wrapper,
    #horeko-auth {
        align-items: stretch;
        flex-wrap: wrap;
    }

    #horeko-auth {
        flex-basis: 100%;
    }
}