/* ==================================================
   Custom Swagger UI Styles - Ready to Use
   ================================================== */

/* --- Topbar / Header --- */
.swagger-ui .topbar {
    background-color: #004aad;  /* Brand color */
    border-bottom: 3px solid #002d6d;
}

/* Hide default Swagger text logo */
.swagger-ui .topbar-wrapper .link span {
    display: none !important;
}

/* Add custom logo */
.swagger-ui .topbar-wrapper .link:before {
    content: "";
    display: inline-block;
    width: 140px;       /* adjust as needed */
    height: 40px;
    background: url("a10logo.png") no-repeat center center;
    background-size: contain;
    margin-right: 10px;
}

/* --- API Titles / Opblock Summary --- */
.swagger-ui .opblock-summary-path {
    font-size: 16px;
    font-weight: 600;
    color: #004aad;
}

.swagger-ui .opblock-summary-description {
    font-size: 14px;
    color: #333333;
}

/* --- Section Headers (Tags) --- */
.swagger-ui .opblock-tag {
    font-size: 18px;
    font-weight: bold;
    background-color: #f0f4ff;
    border-radius: 6px;
    padding: 6px 12px;
}

/* --- Buttons --- */
.swagger-ui .btn {
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
}

/* Try it out button */
.swagger-ui .btn.try-out__btn {
    background-color: #004aad;
    color: #fff;
    border: none;
}

.swagger-ui .btn.try-out__btn:hover {
    background-color: #002d6d;
}

/* Execute button */
.swagger-ui .btn.execute.opblock-control__btn {
    background-color: #007acc;
    color: #fff;
}

.swagger-ui .btn.execute.opblock-control__btn:hover {
    background-color: #005999;
}

/* --- Responses / Code Blocks --- */
.swagger-ui .response-col_description pre {
    background-color: #f8f9fa;
    border-radius: 6px;
    padding: 10px;
    font-size: 13px;
    overflow-x: auto;
}

/* --- General Font / Body --- */
.swagger-ui {
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 14px;
    color: #222;
}

/* Optional: Link hover effect */
.swagger-ui a {
    color: #007acc;
    text-decoration: none;
    transition: color 0.2s;
}

.swagger-ui a:hover {
    color: #005999;
}
