/* Auth split layout */
.auth-split {
    display: flex;
    min-height: 100vh;
}

.auth-brand {
    flex: 0 0 45%;
    /*background: #1a1a2e;*/
    display: flex;
    align-items: center;
    justify-content: end;
    padding: 2rem;
}

.auth-logo {
    max-width: 260px;
    width: 100%;
}

.auth-form {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    padding: 2rem;
    max-width: 40ch;
    margin: 0;
}

@media (max-width: 768px) {
    .auth-split {
        flex-direction: column;
    }

    .auth-brand {
        flex: 0 0 auto;
        padding: 2rem 1rem;
    }

    .auth-logo {
        max-width: 160px;
    }

    .auth-form {
        padding: 2rem 1rem;
    }
}

/* Rendered markdown content */
.document-content h2 {
    font-size: 1.375rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.document-content h3 {
    font-size: 1.125rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.document-content p {
    margin-bottom: 1rem;
}

.document-content pre {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 0.375rem;
    overflow-x: auto;
    margin-bottom: 1rem;
}

.document-content code {
    font-size: 0.875rem;
}

.document-content ul,
.document-content ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.document-content li {
    margin-bottom: 0.5rem;
}

.document-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

.document-content th,
.document-content td {
    padding: 0.75rem;
    border: 1px solid #dee2e6;
    text-align: left;
}

.document-content th {
    background: #f8f9fa;
    font-weight: 600;
}

.document-content blockquote {
    border-left: 3px solid #dee2e6;
    padding-left: 1rem;
    color: #6c757d;
    margin-bottom: 1rem;
}

/* Document card hover */
.card-title a:hover {
    color: #0d6efd !important;
}

/* Dashboard tile cards */
.tile-card {
    min-height: 160px;
}

.tile-preview {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

 /*Dashboard list rows*/
.list-row {
    position: relative;
    border-bottom: solid 1px var(--bs-gray-400);
    transition: background-color 0.15s;
}

.list-row:hover {
    background-color: rgba(0, 0, 0, 0.04);
}

/* View toggle active state */
.view-toggle.active {
    background-color: #6c757d;
    color: #fff;
    border-color: #6c757d;
}
