﻿/* Hide default Swagger logo */
.swagger-ui .topbar .link svg {
    display: none;
}

/*.swagger-ui .topbar {
    background-color: #00326D;
}*/

/* Hide client_id / client_secret rows in the OAuth modal */
.auth-container input[id="client_id_password"],
.auth-container input[id="client_secret_password"] {
    display: none !important;
}

/* Hide their labels/rows (covers different swagger-ui versions) */
.auth-container label[for="client_id_password"],
.auth-container label[for="client_secret_password"] {
    display: none !important;
}

/* Hide dropdown */
.auth-container label[for="password_type"],
.auth-container select[id="password_type"] {
    display: none !important;
}

/* Add custom logo */
.swagger-ui .topbar .link {
    background: url('../images/cropped-Eyelit-Technologies-Blue-Favicon-32x32.png') no-repeat left center;
    background-size: contain;
    width: 200px; /* adjust width */
    height: 40px; /* adjust height */
}

/* Security: Ensure password text in curl/code blocks is not selectable when displayed */
.swagger-ui .responses-inner .microlight,
.swagger-ui .curl-command {
    user-select: text; /* Allow selection but we'll mask on copy via JS */
}

/* Highlight masked passwords so users know they're protected */
.swagger-ui .microlight:contains("password=****"),
.swagger-ui .curl-command:contains("password=****") {
    /* Optional: add visual indicator that masking is active */
}
