/* Custom styles for DDI Toolkit documentation */

.rst-content .section > h1 {
    border-bottom: 3px solid #2980b9;
    padding-bottom: 10px;
}

.rst-content .section > h2 {
    border-bottom: 1px solid #bdc3c7;
    padding-bottom: 5px;
}

/* Code block styling */
.rst-content pre {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
}

/* API documentation styling */
.rst-content dl.class > dt {
    background-color: #e8f4fd;
    border-left: 4px solid #2980b9;
    padding-left: 10px;
}

.rst-content dl.method > dt {
    background-color: #f0f8f0;
    border-left: 4px solid #27ae60;
    padding-left: 10px;
}

.rst-content dl.function > dt {
    background-color: #fff4e6;
    border-left: 4px solid #f39c12;
    padding-left: 10px;
}

/* Navigation improvements */
.wy-nav-side {
    background: linear-gradient(180deg, #2c3e50 0%, #34495e 100%);
}

.wy-menu-vertical li.current {
    background: #2980b9;
}

.wy-menu-vertical li.current a {
    color: white;
    border-right: none;
}

/* Content area improvements */
.rst-content {
    max-width: none;
}

/* Table styling */
.rst-content table.docutils {
    border-collapse: collapse;
    margin: 1em 0;
}

.rst-content table.docutils th,
.rst-content table.docutils td {
    border: 1px solid #ddd;
    padding: 8px;
}

.rst-content table.docutils th {
    background-color: #f2f2f2;
    font-weight: bold;
}

/* Note and warning boxes */
.rst-content .note {
    background-color: #e7f3ff;
    border-left: 4px solid #2196f3;
}

.rst-content .warning {
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
}

/* Code highlighting in text */
.rst-content code.literal {
    background-color: #f8f8f8;
    border: 1px solid #e1e4e5;
    padding: 2px 4px;
    border-radius: 3px;
}

/* Improve readability */
.rst-content {
    line-height: 1.6;
}

.rst-content p {
    margin-bottom: 1em;
}
