/* YardPro API — Custom Swagger UI Theme */

/* Top bar */
.topbar {
    background-color: #1e293b !important;
    padding: 10px 0;
}

.topbar-wrapper img {
    display: none;
}

.topbar-wrapper::before {
    content: "YardPro API";
    font-size: 1.4rem;
    font-weight: 700;
    color: #38bdf8;
    letter-spacing: 0.5px;
}

.topbar-wrapper a {
    display: flex;
    align-items: center;
}

/* Info section */
.swagger-ui .info .title {
    color: #0f172a;
    font-size: 2rem;
}

.swagger-ui .info .description p {
    color: #475569;
}

/* Operations */
.swagger-ui .opblock.opblock-get .opblock-summary-method {
    background: #0ea5e9;
}

.swagger-ui .opblock.opblock-post .opblock-summary-method {
    background: #22c55e;
}

.swagger-ui .opblock.opblock-put .opblock-summary-method {
    background: #f59e0b;
}

.swagger-ui .opblock.opblock-delete .opblock-summary-method {
    background: #ef4444;
}

.swagger-ui .opblock .opblock-summary-method {
    border-radius: 4px;
    min-width: 80px;
    text-align: center;
    font-weight: 700;
}

/* Tag groups - cleaner look */
.swagger-ui .opblock-tag {
    border-bottom: 1px solid #e2e8f0;
    font-size: 1.1rem;
}

.swagger-ui .opblock-tag:hover {
    background: #f8fafc;
}

/* Authorize button */
.swagger-ui .btn.authorize {
    color: #0ea5e9;
    border-color: #0ea5e9;
    font-weight: 600;
}

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

/* Response section */
.swagger-ui .responses-inner h4,
.swagger-ui .responses-inner h5 {
    font-size: 0.85rem;
}

/* Try it out button */
.swagger-ui .btn.try-out__btn {
    border-color: #0ea5e9;
    color: #0ea5e9;
}

.swagger-ui .btn.try-out__btn:hover {
    background: #0ea5e9;
    color: #fff;
}

/* Execute button */
.swagger-ui .btn.execute {
    background: #0ea5e9;
    border-color: #0ea5e9;
    color: #fff;
}

/* Scheme container */
.swagger-ui .scheme-container {
    background: #f8fafc;
    box-shadow: none;
    border-bottom: 1px solid #e2e8f0;
}

/* Models section hidden by default */
.swagger-ui section.models {
    display: none;
}
