/* Hero & Quickstart styling */
.api-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #f8fafc;
    border-radius: 1rem;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.2);
}
.badge-api {
    font-size: 0.8rem;
    padding: 0.35rem 0.75rem;
    border-radius: 2rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.quickstart-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.quickstart-card .nav-tabs .nav-link {
    color: #64748b;
    font-weight: 500;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 0.75rem 1.25rem;
}
.quickstart-card .nav-tabs .nav-link.active {
    color: #0d6efd;
    border-bottom-color: #0d6efd;
    background: transparent;
}
.code-box {
    background: #0f172a;
    color: #f1f5f9;
    border-radius: 0.5rem;
    padding: 1rem 1.25rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.85rem;
    position: relative;
    overflow-x: auto;
}
.btn-copy {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    font-size: 0.75rem;
    padding: 0.25rem 0.6rem;
}

/* Swagger UI customizations to match SoilWorker */
#swagger-ui {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.swagger-ui .topbar {
    display: none !important;
}
.swagger-ui .wrapper {
    max-width: 100% !important;
    padding: 0 !important;
}
.swagger-ui .information-container {
    padding-top: 0 !important;
}
.swagger-ui .info {
    margin: 10px 0 20px 0 !important;
}
.swagger-ui .info .title {
    font-family: inherit !important;
    color: #0f172a !important;
    font-size: 2rem !important;
}
.swagger-ui .scheme-container {
    background: #f8fafc !important;
    box-shadow: none !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 0.5rem !important;
    padding: 1rem !important;
    margin-bottom: 1.5rem !important;
}
.swagger-ui .opblock {
    border-radius: 0.5rem !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05) !important;
}
.swagger-ui .btn.authorize {
    background-color: #198754 !important;
    border-color: #198754 !important;
    color: #fff !important;
    border-radius: 0.375rem !important;
}
.swagger-ui .btn.authorize svg {
    fill: #fff !important;
}
