:root {
    --primary-color: #0056b3;
    --bg-color: #f4f7f6;
    --card-bg: #ffffff;
    --text-main: #333;
    --text-muted: #666;
    --border-radius: 8px;
}

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    margin: 0;
    line-height: 1.6;
}

header {
    background: #fff;
    padding: 20px 0;
    border-bottom: 1px solid #ddd;
    text-align: center;
}

header h1 {
    margin: 0;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1px;
}

main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

.breadcrumbs {
    margin-bottom: 20px;
    font-size: 14px;
}

.breadcrumbs ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumbs li {
    display: flex;
    align-items: center;
    color: #666;
}

.breadcrumbs li:not(:last-child)::after {
    content: "/";
    margin: 0 10px;
    color: #ccc;
    font-weight: 300;
}

.breadcrumbs a {
    color: #0056b3;
    text-decoration: none;
    transition: border-bottom 0.2s;
}

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

.breadcrumbs li span {
    color: #333;
    font-weight: 500;
}

.content {
    display: grid;
    grid-template-columns: 3fr 1fr;
    grid-gap: 1em;
}

.docs_list {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    border: 1px solid #e0e0e0;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.card__header {
    background: #f8f9fa;
    padding: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    border-bottom: 1px solid #eee;
}

.card__content {
    padding: 25px;
    text-align: center;
    display: flex;
    justify-content: space-between;
}

.card__content h3 {
    font-size: 2.5rem;
    margin: 0;
    color: var(--primary-color);
}

.card__content a {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background 0.2s;
    align-content: center;
}

.card__content a:hover {
    background-color: #004494;
}

.sidebar-nav {
    width: 280px;
    flex-shrink: 0;
}

.sidebar-nav h3 {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: #888;
    letter-spacing: 0.8px;
    margin: 0 0 12px 5px;
}

.sidebar-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

.sidebar-nav li {
    border-bottom: 1px solid #f0f0f0;
}

.sidebar-nav li:last-child {
    border-bottom: none;
}

.sidebar-nav li a {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    color: #444;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.sidebar-nav li a:hover {
    background-color: #fcfcfc;
    color: #0056b3;
    padding-left: 25px;
}

.sidebar-nav li a::before {
    content: '';
    width: 6px;
    height: 6px;
    background-color: #ccc;
    border-radius: 50%;
    margin-right: 12px;
    transition: background-color 0.2s, transform 0.2s;
}

.sidebar-nav li a:hover::before {
    background-color: #0056b3;
    transform: scale(1.3);
}

.close-btn {
    display: none;
}

.burger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.burger-btn span {
    width: 100%;
    height: 3px;
    background-color: #333;
    border-radius: 10px;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
}

@media (max-width: 768px) {
    .burger-btn {
        display: flex;
    }

    header div {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 20px;
    }

    .sidebar-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100%;
        background: white;
        z-index: 999;
        transition: right 0.3s ease;
        padding: 20px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }

    .sidebar-nav.is-open {
        right: 0;
    }

    .sidebar-nav.is-open+.overlay {
        display: block;
    }

    .close-btn {
        display: block;
        background: none;
        border: none;
        font-size: 30px;
        position: absolute;
        top: 10px;
        right: 15px;
        cursor: pointer;
    }

    .content {
        grid-template-columns: 1fr;
    }

    .card__content {
        gap: 2em;
    }

    nav {
        width: 100%;
        order: -1;
    }
}
