/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
}

/* Layout */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #3b82f6 100%);
    color: white;
    padding: 2rem 0;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
}

.nav-header {
    padding: 0 2rem 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    margin-bottom: 1.5rem;
}

.nav-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.nav-header p {
    opacity: 0.8;
    font-size: 0.9rem;
}

.search-container {
    padding: 0 2rem 1.5rem;
    margin-bottom: 1rem;
}

.search-input {
    width: 100%;
    padding: 0.75rem;
    border: none;
    border-radius: 6px;
    background: rgba(255,255,255,0.1);
    color: white;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

.search-input::placeholder {
    color: rgba(255,255,255,0.7);
}

.search-input:focus {
    outline: none;
    background: rgba(255,255,255,0.15);
    box-shadow: 0 0 0 2px rgba(255,255,255,0.3);
}

.nav-menu {
    list-style: none;
}

.nav-menu li {
    margin-bottom: 0.5rem;
}

.nav-link {
    display: block;
    padding: 0.75rem 2rem;
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.nav-link:hover {
    background: rgba(255,255,255,0.1);
    color: white;
    border-left-color: rgba(255,255,255,0.5);
}

.nav-link.active {
    background: rgba(255,255,255,0.15);
    color: white;
    border-left-color: white;
    font-weight: 600;
}

.content {
    margin-left: 280px;
    padding: 3rem;
    max-width: 1200px;
}

.section {
    margin-bottom: 4rem;
    scroll-margin-top: 2rem;
}

.section h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e40af;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #1e40af;
    margin-bottom: 1.5rem;
    margin-top: 2rem;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 0.5rem;
}

.section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.section h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #4b5563;
    margin-bottom: 0.75rem;
    margin-top: 1.5rem;
}

.lead {
    font-size: 1.125rem;
    color: #4b5563;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.last-updated {
    font-style: italic;
    color: #6b7280;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

/* Tables */
.table-container {
    overflow-x: auto;
    margin: 2rem 0;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.reference-table,
.troubleshooting-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    font-size: 0.9rem;
}

.reference-table th,
.troubleshooting-table th {
    background: #f8fafc;
    color: #374151;
    font-weight: 600;
    padding: 1rem;
    text-align: left;
    border-bottom: 2px solid #e5e7eb;
}

.reference-table td,
.troubleshooting-table td {
    padding: 1rem;
    border-bottom: 1px solid #e5e7eb;
    vertical-align: top;
}

.reference-table tr:hover,
.troubleshooting-table tr:hover {
    background: #f8fafc;
}

/* Enhanced Lists */
ol, ul {
    margin: 1.5rem 0;
    padding-left: 0;
}

/* Ordered Lists - Professional numbering */
ol {
    counter-reset: list-counter;
    list-style: none;
}

ol li {
    counter-increment: list-counter;
    position: relative;
    padding: 0.75rem 0 0.75rem 3rem;
    margin-bottom: 0.5rem;
    line-height: 1.6;
    color: #374151;
    border-left: 2px solid #e5e7eb;
    padding-left: 3rem;
    margin-left: 1rem;
}

ol li::before {
    content: counter(list-counter);
    position: absolute;
    left: -1.5rem;
    top: 0.75rem;
    background: #1e40af;
    color: white;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(30, 64, 175, 0.2);
}

/* Nested ordered lists */
ol ol {
    margin: 0.75rem 0;
    counter-reset: nested-counter;
}

ol ol li {
    counter-increment: nested-counter;
    border-left: 2px solid #d1d5db;
    margin-left: 0.5rem;
    padding-left: 2.5rem;
}

ol ol li::before {
    content: counter(list-counter) "." counter(nested-counter);
    background: #6b7280;
    width: 2rem;
    height: 1.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    left: -1.25rem;
    top: 0.875rem;
}

/* Unordered Lists - Enhanced bullets */
ul {
    list-style: none;
}

/* Exclude navigation menu from enhanced bullet styling */
ul:not(.nav-menu) li {
    position: relative;
    padding: 0.5rem 0 0.5rem 2rem;
    margin-bottom: 0.5rem;
    line-height: 1.6;
    color: #374151;
}

ul:not(.nav-menu) li::before {
    content: '';
    position: absolute;
    left: 0.5rem;
    top: 1rem;
    width: 0.5rem;
    height: 0.5rem;
    background: #3b82f6;
    border-radius: 50%;
    box-shadow: 0 1px 2px rgba(59, 130, 246, 0.3);
}

/* Nested unordered lists */
ul:not(.nav-menu) ul li::before {
    background: #6b7280;
    width: 0.375rem;
    height: 0.375rem;
    top: 1.0625rem;
}

ul:not(.nav-menu) ul ul li::before {
    background: #9ca3af;
    width: 0.25rem;
    height: 0.25rem;
    border-radius: 2px;
    top: 1.125rem;
}

/* Special list classes */
.requirements-list,
.inputs-list {
    list-style: none;
    margin: 1.5rem 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    overflow: hidden;
}

.requirements-list li,
.inputs-list li {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    position: relative;
    background: white;
    transition: background-color 0.2s ease;
}

.requirements-list li:hover,
.inputs-list li:hover {
    background: #f8fafc;
}

.requirements-list li:last-child,
.inputs-list li:last-child {
    border-bottom: none;
}

.inputs-list li::before {
    content: '→';
    color: #1e40af;
    font-weight: bold;
    margin-right: 0.75rem;
    font-size: 1.1rem;
}

/* Notes and callouts */
.note {
    background: #eff6ff;
    border-left: 4px solid #3b82f6;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 6px 6px 0;
}

.input-note {
    background: #f0fdf4;
    border-left: 4px solid #22c55e;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 6px 6px 0;
}

.method-container {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.config-section {
    background: #f8fafc;
    border-radius: 6px;
    padding: 1.25rem;
    margin: 1rem 0;
    border-left: 3px solid #6b7280;
}

.sccm-config {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

/* Code blocks */
.code-block {
    background: #1f2937;
    color: #f9fafb;
    padding: 1rem 1.5rem;
    border-radius: 6px;
    margin: 1rem 0;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9rem;
    overflow-x: auto;
}

.code-block code {
    background: none;
    color: inherit;
    padding: 0;
}

code {
    background: #f1f5f9;
    color: #e11d48;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.85rem;
}

/* Verification items */
.verification-list {
    display: grid;
    gap: 1rem;
    margin: 1.5rem 0;
}

.verification-item {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 1.25rem;
}

.verification-item h4 {
    color: #1e40af;
    margin-bottom: 0.5rem;
    margin-top: 0;
}

/* GPO paths */
.gpo-paths {
    display: grid;
    gap: 1rem;
    margin: 1.5rem 0;
}

.gpo-item {
    background: #f8fafc;
    border-radius: 6px;
    padding: 1.25rem;
    border-left: 3px solid #3b82f6;
}

.gpo-item h4 {
    color: #1e40af;
    margin-bottom: 0.5rem;
    margin-top: 0;
}

.gpo-item p {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.85rem;
    color: #4b5563;
}

/* Glossary */
.glossary {
    display: grid;
    gap: 1rem;
    margin: 1.5rem 0;
}

.glossary-item {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 1.25rem;
}

.glossary-item h4 {
    color: #1e40af;
    margin-bottom: 0.5rem;
    margin-top: 0;
}

/* Copyright */
.copyright {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
    color: #6b7280;
    font-size: 0.9rem;
}

/* Responsive design */
@media (max-width: 1024px) {
    .sidebar {
        width: 260px;
    }
    
    .content {
        margin-left: 260px;
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .sidebar.open {
        transform: translateX(0);
    }
    
    .content {
        margin-left: 0;
        padding: 1.5rem;
    }
    
    /* Mobile list adjustments */
    ol li {
        padding-left: 2.5rem;
        margin-left: 0.5rem;
    }
    
    ol li::before {
        width: 1.5rem;
        height: 1.5rem;
        font-size: 0.75rem;
        left: -1.25rem;
    }
    
    ul li {
        padding-left: 1.5rem;
    }
    
    .requirements-list li,
    .inputs-list li {
        padding: 0.75rem 1rem;
    }
    
    .section h1 {
        font-size: 2rem;
    }
    
    .section h2 {
        font-size: 1.5rem;
    }
    
    .table-container {
        font-size: 0.8rem;
    }
    
    .reference-table th,
    .troubleshooting-table th,
    .reference-table td,
    .troubleshooting-table td {
        padding: 0.75rem 0.5rem;
    }
}

@media (max-width: 480px) {
    .content {
        padding: 1rem;
    }
    
    .section h1 {
        font-size: 1.75rem;
    }
    
    .section h2 {
        font-size: 1.25rem;
    }
    
    .method-container,
    .sccm-config {
        padding: 1rem;
    }
}

/* Print styles */
@media print {
    .sidebar {
        display: none;
    }
    
    .content {
        margin-left: 0;
        padding: 0;
    }
    
    .section {
        page-break-inside: avoid;
        margin-bottom: 2rem;
    }
    
    .code-block {
        background: #f8f9fa !important;
        color: #333 !important;
        border: 1px solid #dee2e6;
    }
}

/* Info box styling for silent installation section */
.info-box {
    background-color: #f0f9ff;
    border: 1px solid #0ea5e9;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1rem 0;
}

.info-box p {
    margin-bottom: 1rem;
    color: #0c4a6e;
}

.info-box ul {
    margin: 0;
    padding-left: 1.5rem;
}

.info-box li {
    margin-bottom: 0.5rem;
    color: #0c4a6e;
}

.info-box code {
    background-color: #e0f2fe;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    color: #0c4a6e;
}
