﻿/* General styling for the Swagger UI */
.swagger-ui .topbar {
    background-color: #333; /* Keeps the top bar dark for contrast */
}

    .swagger-ui .topbar .link span {
        color: #F87D24; /* Brand color for Swagger link */
    }

/* Borders and Outlines */
.swagger-ui .opblock-summary {
    border-left: 4px solid #F87D24; /* Orange border for opblock summaries */
    background-color: #F8F9FA;
}

.swagger-ui .opblock-summary-control {
    border-color: #F2F3F5;
}

/* Method Labels */
.swagger-ui .opblock-summary-method {
    background-color: #F87D24 !important; /* Color for HTTP method labels (e.g., GET, POST) */
    color: #fff; /* White text for readability */
}

.swagger-ui .opblock-section-header {
    background-color: #F8F9FA;
}

.swagger-ui .opblock-body {
    background-color: #feecde;
}

/* Success Responses */
.swagger-ui .response-col_status.success {
    background-color: #56AE92; /* Background for success status (2xx responses) */
    color: #333; /* Darker text color for contrast */
}

/* Headers and Titles */
.swagger-ui .info .title {
    font-family: Arial, sans-serif;
    color: #F87D24; /* Primary color for main titles */
}

.swagger-ui .info .description {
    font-family: Arial, sans-serif;
    color: #666; /* Secondary text color */
}

/* Code Samples */
.swagger-ui .microlight {
    background-color: #f5f5f5; /* Light background for code samples */
    border-left: 4px solid #F87D24; /* Border color for code samples */
    padding: 10px;
}

/* Response Headers */
.swagger-ui .response .headers {
    background-color: #b3dace; /* Success color for headers in response section */
    padding: 5px;
    border-radius: 10px;
}

/* Expand/Collapse Buttons */
.swagger-ui .expand-methods {
    background-color: #F87D24; /* Background color for expand/collapse buttons */
    color: #fff;
}

    .swagger-ui .expand-methods:hover {
        background-color: #fcc49c; /* Hover effect for expand/collapse buttons */
    }

.swagger-ui .btn.authorize {
    background-color: transparent;
    border-color: #F06908;
    color: #F06908;
    display: inline;
    line-height: 1;
}

    .swagger-ui .btn.authorize svg {
        fill: #F06908;
    }

    /* Footer Links */
    .swagger-ui .swagger-ui .footer a {
        color: #F87D24;
    }

input {
    border-color: #F87D24 !important;
}

/* Hide the default Swagger logo */
.swagger-ui .topbar-wrapper .link img {
    display: none;
}

/* Add your custom logo */
.swagger-ui .topbar-wrapper .link:before {
    content: "";
    display: inline-block;
    background-image: url('/swagger-ui/boyum_it_logo.svg'); /* Path to your logo */
    background-size: contain;
    background-repeat: no-repeat;
    width: 200px; /* Adjust width as needed */
    height: 40px; /* Adjust height as needed */
    vertical-align: middle;
    margin-right: 10px;
}
