body {
    
    line-height: 1.6;
}

header {
    color: black;
    padding: 20px 0;
    text-align: center;
}

header h1 {
    margin: 0;
    font-size: 2.5rem;
}

header p {
    margin: 5px 0 0;
}

.content-section {
    padding: 40px 20px;
    margin-bottom: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.content-section h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.content-section p {
    font-size: 1rem;
    margin-bottom: 15px;
}

pre {
    background-color: #333;
    color: #f5f5f5;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    position: relative;
}

[data-bs-theme="dark"] header {
    background-color: #0d1117;
    color: #c9d1d9;
}

[data-bs-theme="dark"] .container {
    padding: 20px;
    border-radius: 8px;
}

[data-bs-theme="dark"] .content-section {
    background-color: #21262d;
    color: #e6edf3;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(240, 246, 252, 0.1);
}

[data-bs-theme="dark"] a {
    color: #58a6ff;
}

[data-bs-theme="dark"] a:hover {
    color: #1f6feb;
}

[data-bs-theme="dark"] pre {
    background-color: #161b22;
    color: #e6edf3;
    padding: 10px;
    border-radius: 5px;
}

[data-bs-theme="dark"] code {
    background-color: #2d333b;
    color: #ffcc66;
    padding: 3px 6px;
    border-radius: 4px;
}

[data-bs-theme="dark"] ul,
[data-bs-theme="dark"] ol {
    color: #e6edf3;
}

[data-bs-theme="dark"] h1,
[data-bs-theme="dark"] h2,
[data-bs-theme="dark"] h3 {
    color: #e6edf3;
}

.devdocs-navbar {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 20px 30px !important;
    border-radius: 12px !important;
    border-bottom: none !important;
    box-shadow: none !important;
    background-color: white !important;
}

[data-bs-theme="dark"] .devdocs-navbar {
    background-color: #0d1117 !important;
}

.devdocs-navbar .navbar-nav .nav-link {
    font-size: 1rem;
    padding: 14px 18px !important;
    border-radius: 8px !important;
    white-space: nowrap;
    margin: 0 10px !important;
}

@media (max-width: 991px) {
    .devdocs-navbar .navbar-nav {
        flex-direction: column;
        text-align: center;
    }

    .devdocs-navbar .navbar-nav .nav-link {
        width: 100%;
        margin: 5px 0;
    }
}

[data-bs-theme="dark"] .devdocs-navbar .nav-link:hover {
    color: #58a6ff !important;
    background-color: rgba(88, 166, 255, 0.1) !important;
}

.devdocs-navbar .nav-link:hover {
    color: #58a6ff !important;
    background-color: rgba(88, 166, 255, 0.1) !important;
}

[data-bs-theme="dark"] .devdocs-navbar .navbar-nav .nav-link {
    color: white;
    padding: 10px 15px !important;
    margin: 0 8px !important;
}

.devdocs-navbar .navbar-nav .nav-link {
    font-size: 1rem;
    padding: 12px 16px;
    border-radius: 6px;
    white-space: nowrap;
    transition: all 0.3s ease;
}

[data-bs-theme="dark"] .table {
    background-color: #161b22;
    color: #c9d1d9;
}

[data-bs-theme="dark"] .table-dark {
    background-color: #1f6feb;
    color: #fff;
}

[data-bs-theme="dark"] .table-bordered {
    border-color: #30363d;
}

.copy-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    z-index: 10;
}

.copy-icon {
    width: 24px;
    height: 24px;
    fill: #007bff;
    transition: fill 0.3s ease;
}

.copy-button.copied .copy-icon {
    animation: copied-animation 0.6s ease;
}

@keyframes copied-animation {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.copied-message {
    position: absolute;
    top: 5px;
    right: 50px;
    background-color: #000;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9rem;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

.copied-message.fade-out {
    opacity: 0;
}

.checkmark-box {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    background-color: #333;
    border-radius: 6px;
    color: #f0f6fc;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 4px rgba(255, 255, 255, 0.08);
    animation: scale-check 0.25s ease-in-out;
}

[data-bs-theme="dark"] .checkmark-box {
    background-color: #161b22;
}