/* Custom CSS for GeoStep Documentation */

/* Improve sidebar navigation */
.wy-nav-side {
    background: #2c3e50;
}

.wy-side-nav-search {
    background-color: #34495e;
}

.wy-side-nav-search input[type=text] {
    border-color: #3498db;
}

/* Enhance main content area */
.wy-nav-content {
    background: #ffffff;
}

/* Improve code blocks */
.highlight {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    margin: 1em 0;
}

.highlight pre {
    padding: 1em;
    overflow-x: auto;
}

/* Style admonitions */
.admonition {
    margin: 1em 0;
    padding: 0.5em 1em;
    border-left: 4px solid #3498db;
    background-color: #f8f9fa;
    border-radius: 0 4px 4px 0;
}

.admonition.note {
    border-left-color: #3498db;
}

.admonition.warning {
    border-left-color: #f39c12;
    background-color: #fef9e7;
}

.admonition.danger {
    border-left-color: #e74c3c;
    background-color: #fdf2f2;
}

/* Improve table styling */
.wy-table-responsive table td,
.wy-table-responsive table th {
    white-space: normal;
    padding: 8px 12px;
}

.wy-table-responsive table th {
    background-color: #f8f9fa;
    font-weight: 600;
}

/* Style badges and buttons */
.badge {
    display: inline-block;
    padding: 0.25em 0.4em;
    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: #3498db;
}

.badge-success {
    color: #fff;
    background-color: #27ae60;
}

.badge-warning {
    color: #212529;
    background-color: #f39c12;
}

/* Improve navigation breadcrumbs */
.wy-breadcrumbs {
    margin-bottom: 1.5em;
}

.wy-breadcrumbs li {
    display: inline-block;
}

.wy-breadcrumbs li.wy-breadcrumbs-aside {
    float: right;
}

/* Style the search box */
.wy-side-nav-search input[type="text"] {
    width: 100%;
    border-radius: 4px;
    padding: 6px 12px;
    border: 1px solid #ccc;
}

/* Improve mobile responsiveness */
@media screen and (max-width: 768px) {
    .wy-nav-side {
        left: -300px;
    }
    
    .wy-nav-side.shift {
        left: 0;
    }
    
    .wy-nav-content-wrap {
        margin-left: 0;
    }
    
    .wy-nav-content-wrap.shift {
        margin-left: 300px;
    }
}

/* Custom styling for ABACUS branding */
.abacus-header {
    text-align: center;
    padding: 2em 0;
    background: linear-gradient(135deg, #3498db, #2c3e50);
    color: white;
    margin-bottom: 2em;
    border-radius: 8px;
}

.abacus-header h1 {
    margin: 0;
    font-size: 2.5em;
    font-weight: 300;
}

.abacus-header p {
    margin: 0.5em 0 0 0;
    font-size: 1.2em;
    opacity: 0.9;
}

/* Style for feature boxes */
.feature-box {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5em;
    margin: 1em 0;
    text-align: center;
}

.feature-box h3 {
    color: #2c3e50;
    margin-top: 0;
}

.feature-box .icon {
    font-size: 2em;
    color: #3498db;
    margin-bottom: 0.5em;
}

/* Improve link styling */
a {
    color: #3498db;
    text-decoration: none;
}

a:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* Style for code inline */
code {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 3px;
    padding: 2px 4px;
    font-size: 87.5%;
    color: #e83e8c;
}

/* Improve list styling */
ul, ol {
    margin: 1em 0;
    padding-left: 2em;
}

li {
    margin: 0.5em 0;
}

/* Style for definition lists */
dl dt {
    font-weight: bold;
    margin-top: 1em;
}

dl dd {
    margin-left: 2em;
    margin-bottom: 1em;
}
