/* Custom CSS for GeoLift Documentation */

/* Improve readability and spacing */
.rst-content {
    font-size: 16px;
    line-height: 1.6;
}

/* Style business value section */
.rst-content h3 {
    color: #2980b9;
    border-bottom: 2px solid #e1e4e5;
    padding-bottom: 6px;
    margin-top: 24px;
}

/* Enhance code blocks */
.rst-content pre {
    background: #f8f9fa;
    border: 1px solid #e1e4e5;
    border-radius: 4px;
    padding: 12px;
    margin: 16px 0;
}

/* Style navigation items */
.wy-menu-vertical li.toctree-l1 > a {
    font-weight: bold;
    color: #2c3e50 !important;
}

.wy-menu-vertical li.toctree-l2 > a {
    color: #34495e !important;
}

.wy-menu-vertical a {
    color: #2c3e50 !important;
}

.wy-menu-vertical a:hover {
    color: #2980b9 !important;
    background-color: #ecf0f1 !important;
}

/* Improve sidebar background contrast */
.wy-nav-side {
    background: #f8f9fa !important;
}

.wy-menu-vertical {
    background: #f8f9fa !important;
}

/* Improve table styling */
.rst-content table.docutils {
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.rst-content table.docutils th {
    background-color: #f8f9fa;
    color: #2c3e50;
    font-weight: bold;
    border-bottom: 2px solid #2980b9;
}

/* Style admonitions */
.rst-content .admonition {
    margin: 16px 0;
    padding: 12px;
    border-radius: 4px;
    border-left: 4px solid #2980b9;
}

.rst-content .admonition.note {
    background-color: #e8f4fd;
    border-left-color: #2980b9;
}

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

.rst-content .admonition.tip {
    background-color: #d1ecf1;
    border-left-color: #17a2b8;
}

/* Enhance emoji support */
.emoji {
    font-size: 1.2em;
    vertical-align: middle;
}

/* Style the logo area */
.wy-side-nav-search {
    background-color: #2980b9;
}

.wy-side-nav-search .wy-dropdown > a img.logo {
    max-width: 40px;
    max-height: 40px;
    margin: 8px auto;
    display: block;
}

/* Alternative logo styling if using text logo */
.wy-side-nav-search .wy-dropdown > a {
    font-size: 1.2em;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

/* Improve mobile responsiveness */
@media screen and (max-width: 768px) {
    .rst-content {
        font-size: 14px;
    }
    
    .wy-nav-content {
        padding: 1.618em 1em;
    }
}

/* Style the main navigation sections */
.wy-menu-vertical p.caption {
    color: #2980b9;
    font-weight: bold;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 16px 0 8px 0;
    padding: 0 12px;
}

/* Enhance search box */
.wy-side-nav-search input[type=text] {
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.3);
}

/* Style version info */
.wy-side-nav-search .version {
    color: rgba(255,255,255,0.8);
    font-size: 0.85em;
}
