/* Override Swagger UI font and font size to match sitewide style */
.swagger-ui, .swagger-ui * {
    font-family: 'Lato', Arial, sans-serif !important;
    font-size: 16px !important;
}

/* Highlight the Authorize button with a red border, background, and add a big red arrow and text above it */

.swagger-ui .auth-wrapper .highlight-auth {
    color: #fff;
    background: #d32f2f;
    border: 3px solid #b71c1c;
    border-radius: 6px;
    font-size: 1.2em;
    font-weight: bold;
    padding: 3px 16px;
    display: flex; /* Use flex to align text and arrow on the same line */
    align-items: center;
    box-shadow: 0 0 10px #b71c1c;
    z-index: 10;
    justify-content: center;
    gap: 0.5em;
    min-height: 28px; /* Set a minimum height for reference */
}

.swagger-ui .auth-wrapper .highlight-arrow {
    display: inline-block;
    text-align: center;
    font-size: 1.5em;
    color: white;
    margin-bottom: 0;
    margin-top: 0;
    animation: bounce-arrow 1s infinite alternate;
    position: relative;
}

.swagger-ui .auth-wrapper .highlight-auth {
    margin-bottom: 0.2em;
}

@keyframes bounce-arrow {
    0% { transform: translateX(0); }
    100% { transform: translateX(10px); }
}

/* Keep the swagger ui title larger */
.swagger-ui hgroup > h2 {
    font-size: 32px !important; 
    font-weight: bold !important;
} 

/* Style the section headers in the Swagger UI */
.swagger-ui section span > div > h3 > a > span{
    font-size: 24px !important;
    font-weight: bold !important;
}

.swagger-ui .model > tbody > tr > td {
    font-family: monospace !important;
}

.swagger-ui section span > div > div.no-margin > div.opblock-body > div.opblock-section > div.parameters-container > div.table-container > table.parameters > tbody > tr > td > div.parameter__type {
    font-family: monospace !important
}

.swagger-ui code > span {
    font-family: Consolas, monaco, monospace !important;
}