
/* Header styling */
.swagger-section #header {
    background-color: #eb592d !important; /* HonestBox orange */
    padding: 9px 14px 19px 14px;
    height: 23px;
    min-width: 775px;
}

    .swagger-section #header #logo {
        font-size: 1.5em;
        font-weight: bold;
        text-decoration: none;
        color: white;
        display: none;
    }

/* Main container */
.swagger-section .swagger-ui-wrap {
    line-height: 1;
    font-family: 'Open Sans', sans-serif !important;
    min-width: 760px;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    background: #faf9f9 !important;
}

    /* Endpoints container */
    .swagger-section .swagger-ui-wrap ul#resources li.resource {
        border-bottom: 1px solid #e0e0e0 !important;
        background: #ffffff !important;
        margin-bottom: 10px !important;
        border-radius: 8px !important;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
    }

/* Endpoint titles */
.endpoints {
    font-size: 24px !important; /* Reduced from 59px */
    color: #eb592d !important;
    font-weight: 700 !important;
    padding: 15px !important;
}

/* Operations list */
.swagger-section .swagger-ui-wrap ul.operations {
    background: #ffffff !important;
    border-radius: 8px !important;
    margin: 10px !important;
}

/* Individual operation */
.swagger-section .swagger-ui-wrap li.operation {
    border: 1px solid #e0e0e0 !important;
    border-radius: 8px !important;
    margin-bottom: 15px !important;
    background: #ffffff !important;
}

/* Operation heading */
.swagger-section .swagger-ui-wrap .operation .heading {
    background: #f8f9fa !important;
    padding: 15px !important;
    border-radius: 8px 8px 0 0 !important;
}

/* HTTP method links */
.swagger-section .swagger-ui-wrap .http_method a {
    background: #eb592d !important;
    color: #ffffff !important;
    padding: 5px 10px !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 12px !important;
}

    .swagger-section .swagger-ui-wrap .http_method a:hover {
        background: #d44a1f !important;
    }

/* Path links */
.swagger-section .swagger-ui-wrap .path a {
    color: #333333 !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

    .swagger-section .swagger-ui-wrap .path a:hover {
        color: #eb592d !important;
    }

/* Operation content */
.swagger-section .swagger-ui-wrap .operation .content {
    padding: 20px !important;
    background: #ffffff !important;
}

/* Submit button */
.swagger-section .swagger-ui-wrap .submit {
    background: #eb592d !important;
    border: 1px solid #eb592d !important;
    color: #ffffff !important;
    padding: 10px 20px !important;
    border-radius: 4px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
}

    .swagger-section .swagger-ui-wrap .submit:hover {
        background: #d44a1f !important;
        border-color: #d44a1f !important;
    }

/* Parameters table */
.swagger-section .swagger-ui-wrap .parameters {
    background: #f8f9fa !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 8px !important;
    margin: 15px 0 !important;
}

    .swagger-section .swagger-ui-wrap .parameters th {
        background: #eb592d !important;
        color: #ffffff !important;
        font-weight: 600 !important;
        padding: 10px !important;
    }

    .swagger-section .swagger-ui-wrap .parameters td {
        padding: 10px !important;
        border-bottom: 1px solid #e0e0e0 !important;
    }

/* Input fields */
.swagger-section .swagger-ui-wrap .parameter {
    border: 1px solid #e0e0e0 !important;
    border-radius: 4px !important;
    padding: 8px !important;
    font-family: 'Open Sans', sans-serif !important;
}

/* Response sections */
.swagger-section .swagger-ui-wrap .response-class {
    background: #f8f9fa !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 8px !important;
    padding: 15px !important;
    margin: 15px 0 !important;
}

    .swagger-section .swagger-ui-wrap .response-class h4 {
        color: #eb592d !important;
        font-weight: 600 !important;
        margin-bottom: 10px !important;
    }

/* Code blocks */
.swagger-section .swagger-ui-wrap pre {
    background: #f3f2f2 !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 8px !important;
    padding: 15px !important;
    font-family: 'Courier New', monospace !important;
}

/* Footer */
.swagger-section .swagger-ui-wrap .footer {
    margin-top: 20px;
    margin-bottom: 20px;
    text-align: center !important;
    color: #666666 !important;
    padding: 20px !important;
    background: #f8f9fa !important;
    border-radius: 8px !important;
}

/* Table */
.sandbox {
    overflow-x: scroll;
}