:root {
    --primary: #1c4e89;
    --primary-light: #2c6eb5;
    --secondary: #f6a623;
    --teal: #0093d0;
    --lime: #7dc242;
    --dark-text: #1e293b;
    --light-text: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border: #e2e8f0;
    --hover-bg: #eff6ff;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--dark-text);
    background-color: var(--bg-light);
    line-height: 1.6;
}

header {
    background-color: var(--bg-white);
    color: var(--dark-text);
    padding: 0.75rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    height: 64px;
    width: auto;
}

.logo-text {
    display: none;
}

.header-links a {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.45rem 1rem;
    border-radius: 6px;
    border: 1px solid var(--primary);
    transition: all 0.2s;
}

.header-links a:hover {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

.layout-wrapper {
    display: flex;
    min-height: calc(100vh - 67px);
}

/* Sidebar navigation */
aside {
    width: 320px;
    background-color: var(--bg-white);
    border-right: 1px solid var(--border);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: sticky;
    top: 67px;
    height: calc(100vh - 67px);
    overflow-y: auto;
}

.search-box {
    position: relative;
    margin-bottom: 0.5rem;
}

.search-box input {
    width: 100%;
    padding: 0.6rem 0.8rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s;
}

.search-box input:focus {
    border-color: var(--primary);
}

.nav-menu {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.nav-category {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.nav-category h4 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--light-text);
    margin-bottom: 0.2rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.2rem;
}

.nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.nav-links a {
    display: block;
    padding: 0.4rem 0.6rem;
    color: var(--dark-text);
    text-decoration: none;
    font-size: 0.85rem;
    border-radius: 6px;
    transition: all 0.15s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-links a:hover {
    background-color: var(--hover-bg);
    color: var(--primary);
    padding-left: 0.8rem;
}

.nav-links li.active a {
    background-color: var(--primary);
    color: white;
    font-weight: 600;
}

/* Main Content Area */
main {
    flex: 1;
    padding: 2.5rem;
    max-width: 900px;
}

.breadcrumb {
    font-size: 0.85rem;
    color: var(--light-text);
    margin-bottom: 1rem;
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

h1 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.route-badge {
    display: inline-block;
    background-color: #f1f5f9;
    color: #475569;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border);
}

.audience-badge {
    display: inline-block;
    background-color: #eff6ff;
    color: var(--primary);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: 0.5rem;
    border: 1px solid #bfdbfe;
}

.overview-text {
    font-size: 1.1rem;
    color: var(--light-text);
    margin-bottom: 2rem;
}

.section-block {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.section-block h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--border);
    padding-bottom: 0.5rem;
}

/* Steps checklist styling */
.steps-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.steps-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.step-num {
    background-color: var(--secondary);
    color: white;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.85rem;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.step-text {
    font-size: 0.95rem;
}

/* Feature bullets */
.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-list li {
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.95rem;
}

.feature-list li::before {
    content: "✦";
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
}

/* Alerts box */
.alert-box {
    background-color: #fffbeb;
    border-left: 4px solid var(--secondary);
    padding: 1.25rem;
    border-radius: 0 8px 8px 0;
    margin-bottom: 1.5rem;
}

.alert-title {
    font-weight: bold;
    color: #92400e;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.alert-body {
    font-size: 0.9rem;
    color: #78350f;
}

.alert-box.security {
    background-color: #f0fdf4;
    border-left-color: var(--lime);
}

.alert-box.security .alert-title {
    color: #166534;
}

.alert-box.security .alert-body {
    color: #14532d;
}

/* Quick links cards */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.grid-card {
    background-color: var(--bg-light);
    border: 1px solid var(--border);
    padding: 1.25rem;
    border-radius: 8px;
    text-decoration: none;
    color: var(--dark-text);
    transition: all 0.2s;
}

.grid-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    border-color: var(--primary);
}

.grid-card h4 {
    color: var(--primary);
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
}

.grid-card p {
    font-size: 0.8rem;
    color: var(--light-text);
}

footer {
    text-align: center;
    padding: 2rem;
    font-size: 0.85rem;
    color: var(--light-text);
    border-top: 1px solid var(--border);
    margin-top: 3rem;
    width: 100%;
}

/* Responsive styles */
@media (max-width: 900px) {
    .layout-wrapper {
        flex-direction: column;
    }
    aside {
        width: 100%;
        height: auto;
        position: relative;
        top: 0;
    }
    main {
        padding: 1.5rem;
    }
}