/* Custom CSS for Easy RAG Documentation */

/* Custom styling for code blocks */
.highlight {
    border-radius: 4px;
    padding: 1em;
    margin: 1em 0;
}

/* Custom styling for API endpoints */
.endpoint {
    background-color: #f5f5f5;
    border-left: 4px solid #007bff;
    padding: 1em;
    margin: 1em 0;
}

/* Custom badge styling */
.badge {
    display: inline-block;
    padding: 0.25em 0.6em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25rem;
}

.badge-primary {
    color: #fff;
    background-color: #007bff;
}

.badge-success {
    color: #fff;
    background-color: #28a745;
}

/* Custom styling for note boxes */
.note-box {
    background-color: #e7f3ff;
    border-left: 4px solid #2196F3;
    padding: 1em;
    margin: 1em 0;
}

.note-box::before {
    content: "ℹ️ Note: ";
    font-weight: bold;
}

/* Custom styling for warning boxes */
.warning-box {
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 1em;
    margin: 1em 0;
}

.warning-box::before {
    content: "⚠️ Warning: ";
    font-weight: bold;
}

/* Improve table styling */
table.docutils {
    border-collapse: collapse;
    width: 100%;
    margin: 1em 0;
}

table.docutils th {
    background-color: #007bff;
    color: white;
    padding: 0.75em;
    text-align: left;
}

table.docutils td {
    padding: 0.75em;
    border-bottom: 1px solid #ddd;
}

table.docutils tr:hover {
    background-color: #f5f5f5;
}

/* Custom logo styling */
.logo {
    max-width: 200px;
    height: auto;
}

/* Responsive improvements */
@media (max-width: 768px) {
    .highlight {
        font-size: 0.9em;
    }
    
    table.docutils {
        font-size: 0.9em;
    }
}

