* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: MarkPro, sans-serif;
    background-color: #ffffff;
    color: #333333;
    line-height: 1.6;
    text-align: left;
}

.container {
    display: flex;
    min-height: 100vh;
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 1001;
    background: #075976;
    border: none;
    border-radius: 4px;
    padding: 0.5rem;
    cursor: pointer;
    flex-direction: column;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
}

.mobile-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: #ffffff;
    margin: 2px 0;
    transition: 0.3s;
}

/* Sidebar Navigation */
.sidebar {
    width: 280px;
    background-color: #f8f9fa;
    border-right: 1px solid #e0e0e0;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 1000;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.sidebar-header {
    padding: 2rem 1.5rem 1rem;
    border-bottom: 1px solid #e0e0e0;
}

.sidebar-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #075976;
    margin-bottom: 0.5rem;
    font-family: "Montserrat", sans-serif;
}

.sidebar-subtitle {
    font-size: 0.9rem;
    color: #666666;
    font-family: "Montserrat", sans-serif;
}

.nav-menu {
    padding: 1.5rem 0;
    flex: 1;
    font-family: "Montserrat", sans-serif;
}

.nav-item {
    margin-bottom: 0.5rem;
}

.nav-link {
    display: block;
    padding: 0.75rem 1.5rem;
    color: #555555;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.nav-link:hover,
.nav-link.active {
    color: #333333;
    background-color: #ffffff;
    border-left-color: #075976;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Sidebar Footer */
.sidebar-footer {
    padding: 1.5rem;
    border-top: 1px solid #e0e0e0;
    margin-top: auto;
}

.access-button {
    display: block;
    background-color: #075976;
    color: #ffffff;
    text-decoration: none;
    padding: 0.875rem 1rem;
    border-radius: 6px;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(240, 0, 91, 0.2);
}

.access-button:hover {
    background-color: #d1004f;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(240, 0, 91, 0.3);
    text-decoration: none;
    color: #ffffff;
}

/* Main Content */
.main-content {
    margin-left: 280px;
    flex: 1;
    padding: 3rem 4rem;
    max-width: calc(100% - 280px);
}

.header {
    margin-bottom: 3rem;
}

.main-title {
    font-size: 3rem;
    font-weight: 700;
    color: #333333;
    margin-bottom: 1rem;
    font-family: "Montserrat", sans-serif;
}

.main-subtitle {
    font-size: 1.2rem;
    color: #666666;
    margin-bottom: 2rem;
    font-family: "Montserrat", sans-serif;
}

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

.section-title {
    font-size: 2rem;
    font-weight: 600;
    color: #333333;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e0e0e0;
    font-family: "Montserrat", sans-serif;
}

.subsection-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333333;
    margin: 2rem 0 1rem;
    font-family: "Montserrat", sans-serif;
}

.sub-subsection-title {
    font-size: 1.25rem;
    font-weight: 500;
    color: #333333;
    margin: 1.5rem 0 1rem;
    font-family: "Montserrat", sans-serif;
}

.content {
    font-size: 1rem;
    color: #555555;
    margin-bottom: 1.5rem;
}

/* Feature Lists */
.feature-list {
    list-style: none;
    margin: 1rem 0;
    padding: 0;
}

.feature-list li {
    margin-bottom: 1rem;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 6px;
    border-left: 4px solid #075976;
}

.feature-title {
    font-weight: 600;
    color: #333333;
    margin-bottom: 0.5rem;
    font-family: "Montserrat", sans-serif;
}

.feature-description {
    color: #555555;
    margin-bottom: 0.5rem;
}

/* Custom Bullets */
.bullet-list {
    list-style: none;
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.bullet-list li {
    position: relative;
    margin-bottom: 0.75rem;
    color: #555555;
}

.bullet-list li::before {
    content: "+";
    color: #075976;
    font-weight: bold;
    font-size: 1.1rem;
    position: absolute;
    left: -1.5rem;
    top: 0;
}

/* Accordion Styles */
.accordion {
    margin: 1.5rem 0;
}

.accordion-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.accordion-header {
    background-color: #075976;
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    position: relative;
    user-select: none;
    font-family: "Montserrat", sans-serif;
}

.accordion-header:hover {
    background-color: #065a6c;
}

.accordion-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    padding-right: 2rem;
    font-family: "Montserrat", sans-serif;
    transition: transform 0.2s ease;
}

.accordion-header:hover .accordion-title {
    transform: translateX(6px);
}

.accordion-icon {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
    color: #ffffff;
    font-size: 2rem;
    font-weight: bold;
    line-height: 1;
}

.accordion-item.active .accordion-icon {
    transform: translateY(-50%) rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
    max-height: 5000px;
}

.accordion-body {
    padding: 1.5rem;
    background-color: #ffffff;
}

/* Special formatting */
.format-note {
    background-color: #fdf2f8;
    border-left: 4px solid #075976;
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 4px;
    font-family: "Montserrat", sans-serif;
}

.critical-note {
    background-color: #fef2f2;
    border-left: 4px solid #ff6b6b;
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 4px;
    font-family: "Montserrat", sans-serif;
}

.important-note {
    background-color: #f0fdfa;
    border-left: 4px solid #27b6e8;
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 4px;
    font-family: "Montserrat", sans-serif;
}

.note-icon {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Field reference */
.field-reference {
    margin: 1.5rem 0;
}

.field-item {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 6px;
    border-left: 3px solid #27b6e8;
}

.field-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333333;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    font-family: "Montserrat", sans-serif;
}

.field-description {
    color: #555555;
}

/* Required / Optional badges */
.required-badge {
    font-size: 0.75rem;
    font-weight: 600;
    color: #ffffff;
    background-color: #d1004f;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    letter-spacing: 0.03em;
    vertical-align: middle;
    font-family: "Montserrat", sans-serif;
}

.optional-badge {
    font-size: 0.75rem;
    font-weight: 600;
    color: #555555;
    background-color: #e0e0e0;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    letter-spacing: 0.03em;
    vertical-align: middle;
    font-family: "Montserrat", sans-serif;
}

/* Code / monospace */
code {
    font-family: "Courier New", Courier, monospace;
    font-size: 0.9em;
    background-color: #f0f0f0;
    border: 1px solid #d0d0d0;
    border-radius: 3px;
    padding: 0.1em 0.4em;
    color: #333333;
    word-break: break-all;
}

.code-block {
    background-color: #f0f0f0;
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    padding: 1.25rem 1.5rem;
    margin: 1.25rem 0;
    overflow-x: auto;
}

.code-block pre {
    font-family: "Courier New", Courier, monospace;
    font-size: 0.9rem;
    color: #333333;
    line-height: 1.7;
    margin: 0;
    white-space: pre;
}

/* Link styles */
a {
    color: #075976;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Placeholder Images */
.placeholder-image {
    text-align: center;
    margin: 1.5rem 0;
}

.placeholder-image img {
    max-width: 100%;
    height: auto;
    padding: 15px;
    border: 2px solid #075976;
    border-radius: 8px;
    background-color: #f8f9fa;
}

/* Image Placeholder Box */
.image-placeholder {
    display: block;
    width: 50%;
    margin: 1rem 0;
    background-color: #f8f9fa;
    border: 2px solid #075976;
    border-radius: 8px;
    overflow: hidden;
}

.image-placeholder img {
    display: block;
    width: 100%;
    height: auto;
}

/* Clear floats */
.clear-float {
    clear: both;
}

/* Scrollbar Styling */
.sidebar::-webkit-scrollbar {
    width: 6px;
}

.sidebar::-webkit-scrollbar-track {
    background: #f8f9fa;
}

.sidebar::-webkit-scrollbar-thumb {
    background: #d0d0d0;
    border-radius: 3px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background: #b0b0b0;
}

/* Focus states for accessibility */
.nav-link:focus,
.accordion-header:focus {
    outline: 2px solid #075976;
    outline-offset: 2px;
}

.mobile-toggle:focus {
    outline: 2px solid #333333;
    outline-offset: 2px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }

    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
        max-width: 100%;
        padding: 2rem 1.5rem;
        padding-top: 4rem;
    }

    .main-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .subsection-title {
        font-size: 1.25rem;
    }

    .sub-subsection-title {
        font-size: 1.1rem;
    }

    .accordion-header {
        padding: 0.75rem 1rem;
    }

    .accordion-body {
        padding: 1rem;
    }

    .sidebar-footer {
        padding: 1rem;
    }

    .access-button {
        font-size: 0.9rem;
        padding: 0.75rem 0.875rem;
    }

    .code-block {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 1.5rem 1rem;
        padding-top: 4rem;
    }

    .main-title {
        font-size: 1.75rem;
    }

    .bullet-list {
        padding-left: 1rem;
    }

    .bullet-list li::before {
        left: -1rem;
    }
}
