.docs-header {
    background: #9D2053 url(assets/img/blured.jpg) center center repeat;
    background-size: cover;
    color: #fff;
    padding: 40px 20px;
    text-align: center;
    position: relative;
}
.docs-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
}
.docs-header h1 {
    color: #fff;
    font-size: 2.5em;
    margin-bottom: 10px;
    text-shadow: 0 1px 4px #000000;
    position: relative;
    z-index: 1;
}
.docs-header p {
    font-size: 1.1em;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

.docs-wrapper {
    background: #f5f5f5;
    padding: 40px 0;
}

.docs-container {
    background: #fff;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.docs-sidebar {
    background: #f8f9fa;
    padding: 30px 20px;
    border-right: 1px solid #e0e0e0;
}
.docs-sidebar h2 {
    font-size: 1.3em;
    margin-bottom: 20px;
    color: #9D2053;
    border-bottom: 2px solid #9D2053;
    padding-bottom: 10px;
}
.docs-sidebar ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.docs-sidebar ul li {
    margin-bottom: 8px;
}
.docs-sidebar a {
    color: #333;
    text-decoration: none;
    display: block;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.2s;
    font-size: 0.95em;
}
.docs-sidebar a:hover {
    background: #e0e0e0;
    color: #9D2053;
}
.docs-sidebar a.active {
    background: #9D2053;
    color: #fff;
}
.docs-sidebar ul ul {
    margin-left: 15px;
    margin-top: 5px;
}
.docs-sidebar ul ul a {
    font-size: 0.9em;
    color: #666;
    padding: 5px 12px;
}
.docs-sidebar ul ul a:hover {
    color: #9D2053;
}

.docs-content {
    padding: 40px;
}

.docs-content h2 {
    color: #9D2053;
    font-size: 2em;
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #9D2053;
}
.docs-content h3 {
    color: #9D2053;
    font-size: 1.5em;
    margin-top: 30px;
    margin-bottom: 15px;
}
.docs-content h4 {
    color: #333;
    font-size: 1.2em;
    margin-top: 25px;
    margin-bottom: 12px;
}

.docs-content p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.docs-content ul, .docs-content ol {
    margin-left: 30px;
    margin-bottom: 20px;
}
.docs-content li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.docs-content code {
    background: #f4f4f4;
    padding: 3px 8px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: #9D2053;
}

.docs-content pre {
    background: #f4f4f4;
    padding: 20px;
    border-radius: 5px;
    overflow-x: auto;
    margin-bottom: 20px;
    border-left: 4px solid #9D2053;
}
.docs-content pre code {
    background: none;
    padding: 0;
    color: #333;
}

.note, .warning, .tip {
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 5px;
    border-left: 4px solid;
}
.note {
    background: #e3f2fd;
    border-left-color: #2196F3;
}
.warning {
    background: #fff3e0;
    border-left-color: #ff9800;
}
.tip {
    background: #e8f5e9;
    border-left-color: #4caf50;
}
.note strong, .warning strong, .tip strong {
    display: block;
    margin-bottom: 8px;
}

.docs-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
.docs-content th, .docs-content td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}
.docs-content th {
    background: #9D2053;
    color: white;
}
.docs-content tr:nth-child(even) {
    background: #f9f9f9;
}

.toc-box {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 5px;
    margin-bottom: 30px;
    border-left: 4px solid #9D2053;
}
.toc-box h2 {
    margin-top: 0;
    border-bottom: none;
}
.toc-box ul {
    list-style: none;
    margin-left: 0;
}
.toc-box a {
    color: #9D2053;
    text-decoration: none;
}
.toc-box a:hover {
    text-decoration: underline;
}

.docs-footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 30px 20px;
    margin-top: 50px;
}
.docs-footer a {
    color: #9D2053;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #9D2053;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: transform 0.2s;
    z-index: 1000;
}
.back-to-top:hover {
    transform: scale(1.1);
    color: white;
    text-decoration: none;
}

@media (max-width: 768px) {
    .docs-sidebar {
        position: relative;
        height: auto;
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
    }
    .docs-content {
        padding: 20px;
    }
    .docs-header h1 {
        font-size: 1.8em;
    }
}
