/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.05;
    color: #333;
    background-color: #f9f9f9;
    margin: 0;
    padding: 20px;
}

#documenter_content {
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
    padding: 30px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    border-radius: 5px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: #2c3e50;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 15px;
}

h1 {
    font-size: 2.2em;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

h2 {
    font-size: 1.8em;
}

h3 {
    font-size: 1.5em;
}

h4 {
    font-size: 1.3em;
}

p {
    margin-bottom: 15px;
}

/* Links */
a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* Lists */
ul, ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

li {
    margin-bottom: 8px;
}

/* Well/Special Boxes */
.well {
    background: #f5f5f5;
    border-left: 4px solid #3498db;
    padding: 20px;
    margin: 20px 0;
    border-radius: 0 4px 4px 0;
}

.well h1, .well h2 {
    margin-top: 0;
}

/* Page Header */
.page-header {
    margin-bottom: 20px;
}

.page-header h3, .page-header h4 {
    margin-bottom: 10px;
}

hr.notop {
    margin-top: 0;
    border-color: #eee;
}

/* Images */
img.center {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 20px auto;
    border: 1px solid #ddd;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* Code */
code {
    background: #f5f5f5;
    padding: 2px 5px;
    border-radius: 3px;
    font-family: 'Courier New', Courier, monospace;
    color: #c7254e;
}

/* Iframes */
iframe {
    display: block;
    margin: 30px auto;
    border: 1px solid #ddd;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* Small Text */
.small {
    font-size: 0.85em;
    color: #7f8c8d;
}

/* Lead Paragraph */
.lead {
    font-size: 1.1em;
    font-weight: 300;
    line-height: 1.4;
}

/* Responsive Design */
@media (max-width: 768px) {
    #documenter_content {
        padding: 15px;
    }
    
    h1 {
        font-size: 1.8em;
    }
    
    h2 {
        font-size: 1.5em;
    }
    
    iframe {
        width: 100%;
        height: auto;
        min-height: 300px;
    }
}

/* Highlight */
strong {
    color: #2c3e50;
    font-weight: 600;
}

/* Section Spacing */
section {
    margin-bottom: 40px;
}

/* Table of Contents Styles */
#instlxn ul {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    list-style-type: none;
}

#instlxn ul li {
    margin-bottom: 5px;
    padding-left: 15px;
    position: relative;
}

#instlxn ul li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #3498db;
}