/* ============================================
   PRODUCTION MODE - READ-ONLY SWAGGER UI
   This file hides interactive features in production
   ============================================ */

/* Hide "Try it out" buttons to prevent live API execution */
.try-out,
.btn.try-out__btn,
button.btn.try-out__btn {
    display: none !important;
}

/* Hide the "Execute" button */
.btn.execute {
    display: none !important;
}

/* Hide authorization button since it won't work without Try it out */
.btn.authorize {
    display: none !important;
}

/* Hide the "Authorize" section in the top bar */
.swagger-ui .auth-wrapper {
    display: none !important;
}

/* ============================================
   INFORMATION BANNER
   ============================================ */
.swagger-ui .information-container::before {
    content: "?? Documentation Mode - API execution is disabled in production" !important;
    display: block !important;
    font-weight: bold !important;
    color: #ff9800 !important;
    font-size: 1.1rem !important;
    margin-bottom: 0.5rem !important;
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.1) 0%, rgba(156, 39, 176, 0.1) 100%) !important;
    border-left: 4px solid #ff9800 !important;
    padding: 1.5rem !important;
    border-radius: 8px !important;
}

/* Optional: Add "(Read-Only)" to the title */
.swagger-ui .info .title::after {
    content: " (Read-Only)" !important;
    font-size: 0.7em !important;
    color: #ff9800 !important;
    font-weight: normal !important;
}
