/* Docs Layout Styles */

/* Header */
.docs-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    z-index: 1000;
    display: flex;
    align-items: center;
    padding: 0 24px;
}

.docs-logo {
    font-size: 20px;
    font-weight: 600;
    color: #1976d2;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.docs-logo:hover {
    color: #1565c0;
}

.docs-sidebar-toggle {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: #374151;
}

.docs-sidebar-toggle:hover {
    background: #f3f4f6;
    border-radius: 8px;
}

/* Wrapper */
.docs-wrapper {
    display: flex;
    padding-top: 60px;
    min-height: 100vh;
}

/* Sidebar */
.docs-sidebar {
    width: 280px;
    background: #f9fafb;
    border-right: 1px solid #e5e7eb;
    position: fixed;
    top: 60px;
    left: 0;
    bottom: 0;
    overflow-y: auto;
    padding: 24px 16px;
}

.docs-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.docs-nav-section {
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 16px 12px 8px;
    margin-top: 8px;
}

.docs-nav-section:first-child {
    margin-top: 0;
    padding-top: 0;
}

.docs-nav-item {
    margin-bottom: 2px;
}

.docs-nav-link {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    color: #374151;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.15s ease;
}

.docs-nav-link .material-symbols-outlined {
    font-size: 20px;
    margin-right: 10px;
    color: #6b7280;
}

.docs-nav-link:hover {
    background: #e5e7eb;
    color: #111827;
}

.docs-nav-link.active {
    background: #1976d2;
    color: #fff;
}

.docs-nav-link.active .material-symbols-outlined {
    color: #fff;
}

/* Main content */
.docs-content {
    flex: 1;
    margin-left: 280px;
    min-width: 0;
}

.docs-content-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 32px;
}

/* Typography */
.docs-content h1 {
    font-size: 32px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 16px;
    line-height: 1.2;
}

.docs-content h2 {
    font-size: 24px;
    font-weight: 600;
    color: #111827;
    margin-top: 48px;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e5e7eb;
}

.docs-content h2[id],
.docs-content h3[id] {
    scroll-margin-top: 80px;
}

.docs-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    margin-top: 32px;
    margin-bottom: 12px;
}

.docs-content p {
    font-size: 16px;
    line-height: 1.7;
    color: #374151;
    margin-bottom: 16px;
}

.docs-content ul,
.docs-content ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

.docs-content li {
    font-size: 16px;
    line-height: 1.7;
    color: #374151;
    margin-bottom: 8px;
}

/* Lead text */
.docs-lead {
    font-size: 18px;
    color: #6b7280;
    margin-bottom: 24px;
}

/* On-page TOC */
.docs-toc {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 32px;
    background: #f9fafb;
}

.docs-toc-title {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6b7280;
    margin-bottom: 10px;
}

.docs-toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.docs-content .docs-toc li {
    margin-bottom: 6px;
}

.docs-content .docs-toc li:last-child {
    margin-bottom: 0;
}

.docs-toc a {
    font-size: 15px;
    color: #1976d2;
    text-decoration: none;
    font-weight: 500;
}

.docs-toc a:hover {
    text-decoration: underline;
}

/* Cards */
.docs-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}

.docs-card-title {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.docs-card-title .material-symbols-outlined {
    font-size: 20px;
    margin-right: 8px;
    color: #1976d2;
}

/* Info boxes */
.docs-info {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 24px;
}

.docs-info-title {
    font-size: 14px;
    font-weight: 600;
    color: #1e40af;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.docs-info-title .material-symbols-outlined {
    font-size: 18px;
    margin-right: 6px;
}

.docs-info p {
    font-size: 14px;
    color: #1e40af;
    margin-bottom: 0;
}

.docs-warning {
    background: #fef3c7;
    border: 1px solid #fcd34d;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 24px;
}

.docs-warning-title {
    font-size: 14px;
    font-weight: 600;
    color: #92400e;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.docs-warning-title .material-symbols-outlined {
    font-size: 18px;
    margin-right: 6px;
}

.docs-warning p {
    font-size: 14px;
    color: #92400e;
    margin-bottom: 0;
}

/* Screenshots */
.docs-screenshot {
    margin: 24px 0;
    text-align: center;
}

.docs-screenshot--in-step {
    margin-top: 20px;
    margin-bottom: 0;
}

.docs-screenshot img {
    max-width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.docs-screenshot-caption {
    font-size: 14px;
    color: #6b7280;
    margin-top: 12px;
}

/* App UI preview (static pseudo-screenshots in docs) */
.docs-app-preview {
    max-width: 400px;
    margin: 0 auto;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    background: #fff;
    text-align: left;
    overflow: hidden;
}

.docs-app-preview-header {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    border-bottom: 1px solid #e5e7eb;
    font-size: 18px;
    font-weight: 500;
    color: #111827;
}

.docs-app-preview-body {
    padding: 16px;
}

.docs-app-preview-hero {
    text-align: center;
    margin-bottom: 24px;
}

.docs-app-preview-icon {
    width: 64px;
    height: 64px;
    background: #1976d2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
}

.docs-app-preview-icon .material-symbols-outlined {
    font-size: 32px;
    color: #fff;
}

.docs-app-preview-icon--sm {
    width: 48px;
    height: 48px;
    margin-bottom: 0;
}

.docs-app-preview-icon--sm .material-symbols-outlined {
    font-size: 24px;
}

.docs-app-preview-subtitle {
    margin: 0;
    font-size: 14px;
    color: #6b7280;
}

.docs-app-preview-field {
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.42);
    border-radius: 4px;
    padding: 14px 12px 10px;
    margin-bottom: 12px;
}

.docs-app-preview-label {
    position: absolute;
    top: -0.55rem;
    left: 10px;
    padding: 0 4px;
    background: #fff;
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
}

.docs-app-preview-input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 16px;
    padding: 0;
    background: transparent;
    color: #111827;
}

.docs-app-preview-hint {
    font-size: 14px;
    color: #6b7280;
    text-align: center;
    padding: 8px;
    margin: 0 0 24px;
}

.docs-app-preview .docs-app-preview-submit {
    width: 100%;
    height: 44px;
    font-weight: 500;
    background-color: #1976d2;
    border-color: #1976d2;
}

.docs-app-preview .docs-app-preview-submit:disabled {
    opacity: 1;
    cursor: default;
}

.docs-app-preview-header--with-back {
    gap: 4px;
    padding-left: 8px;
}

.docs-app-preview-back {
    font-size: 24px;
    color: #5f6368;
    font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

.docs-app-preview-pin-title {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    text-align: center;
}

.docs-app-preview-pin-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0 24px;
}

.docs-app-preview-pin-cell {
    width: 40px;
    height: 48px;
    border: 1px solid rgba(0, 0, 0, 0.42);
    border-radius: 4px;
    background: #fff;
    box-sizing: border-box;
}

.docs-app-preview .docs-app-preview-btn-secondary {
    width: 100%;
    height: 44px;
    margin-top: 12px;
    font-weight: 500;
    border: 1px solid #e0e0e0;
    color: #374151;
}

.docs-app-preview .docs-app-preview-btn-secondary:disabled {
    opacity: 1;
    cursor: default;
}

/* Company setup choice cards (CompanySetup.razor) */
.docs-app-preview-body--cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.docs-app-preview-choice-card {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 16px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    text-align: left;
    background: #fff;
}

.docs-app-preview-role-badge {
    display: inline-block;
    background: #e3f2fd;
    color: #1976d2;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 10px;
}

.docs-app-preview-choice-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 8px;
}

.docs-app-preview-choice-title .material-symbols-outlined {
    font-size: 26px;
    color: #1976d2;
}

.docs-app-preview-choice-desc {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #6b7280;
}

/* Main shell + bottom nav (AppMainFooter) */
.docs-app-preview--with-bottom-nav {
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
}

.docs-app-preview--with-bottom-nav .docs-app-preview-main {
    flex: 1;
    min-height: 0;
}

.docs-app-preview--with-bottom-nav .docs-app-preview-header {
    border-bottom: 1px solid #e5e7eb;
}

.docs-app-preview-fake-content {
    padding: 16px;
    min-height: 120px;
    background: #fafafa;
}

.docs-app-preview-skeleton-lines {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.docs-app-preview-skeleton-line {
    height: 10px;
    border-radius: 4px;
    background: #e8eaed;
}

.docs-app-preview-skeleton-line--short {
    width: 65%;
}

.docs-app-preview-bottom-nav {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    gap: 4px;
    padding: 8px 8px 10px;
    border-top: 1px solid #e5e7eb;
    background: #fff;
}

.docs-app-preview-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 6px 2px;
    font-size: 11px;
    font-weight: 500;
    color: #374151;
    text-align: center;
    line-height: 1.2;
}

.docs-app-preview-nav-item .material-symbols-outlined {
    font-size: 22px;
    color: #5f6368;
}

.docs-app-preview-nav-item--active {
    color: #1976d2;
    font-weight: 600;
}

.docs-app-preview-nav-item--active .material-symbols-outlined {
    color: #1976d2;
}

/* Employee form preview (switch + role dropdown) */
.docs-app-preview-form-stack {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.docs-app-preview-switch-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 4px;
}

.docs-app-preview-switch {
    width: 38px;
    height: 22px;
    border-radius: 11px;
    background: #1976d2;
    position: relative;
    flex-shrink: 0;
}

.docs-app-preview-switch::after {
    content: "";
    position: absolute;
    right: 3px;
    top: 3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.docs-app-preview-switch--off {
    background: #bdbdbd;
}

.docs-app-preview-switch--off::after {
    right: auto;
    left: 3px;
}

.docs-app-preview-switch-label {
    font-size: 15px;
    color: #374151;
}

.docs-app-preview-select-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid rgba(0, 0, 0, 0.42);
    border-radius: 4px;
    font-size: 16px;
    color: #111827;
    background: #fff;
}

.docs-app-preview-select-box .material-symbols-outlined {
    font-size: 22px;
    color: #5f6368;
}

.docs-app-preview-inline-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 6px;
}

/* Client list row preview */
.docs-app-preview-list {
    padding: 4px 0 8px;
}

.docs-app-preview-list-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid #e8eaed;
}

.docs-app-preview-list-row:last-child {
    border-bottom: none;
}

.docs-app-preview-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #1976d2;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    flex-shrink: 0;
}

.docs-app-preview-list-text {
    flex: 1;
    min-width: 0;
    text-align: left;
}

.docs-app-preview-list-title {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    line-height: 1.3;
}

.docs-app-preview-list-sub {
    font-size: 14px;
    color: #6b7280;
    margin-top: 2px;
}

.docs-app-preview-list-amount {
    font-size: 16px;
    font-weight: 600;
    flex-shrink: 0;
}

.docs-app-preview-list-amount--debt {
    color: #c62828;
}

.docs-app-preview-list-amount--balance {
    color: #2e7d32;
}

.docs-app-preview-svc-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #5c6bc0;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.docs-app-preview-svc-icon .material-symbols-outlined {
    font-size: 22px;
}

.docs-app-preview-section-title {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6b7280;
    margin: 8px 0 4px;
    text-align: left;
}

.docs-app-preview-finance-card {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 14px 16px;
    text-align: left;
    background: #fafafa;
}

.docs-app-preview-finance-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    margin-bottom: 6px;
}

.docs-app-preview-finance-row:last-of-type {
    margin-bottom: 0;
}

.docs-app-preview-finance-label {
    color: #6b7280;
}

.docs-app-preview-finance-value {
    font-weight: 600;
    color: #111827;
}

.docs-app-preview-finance-value--debt {
    color: #c62828;
}

/* Finance: summary grid «Касса / Приход / Расход» (TransactionList) */
.docs-app-preview-finance-kassa {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    font-size: 13px;
    margin-top: 4px;
}

.docs-app-preview-finance-kassa-head,
.docs-app-preview-finance-kassa-row {
    display: grid;
    grid-template-columns: 1fr minmax(72px, auto) minmax(72px, auto);
    gap: 8px;
    padding: 10px 12px;
    align-items: center;
}

.docs-app-preview-finance-kassa-head {
    background: #f9fafb;
    font-weight: 600;
    color: #374151;
    border-bottom: 1px solid #e5e7eb;
}

.docs-app-preview-finance-kassa-row {
    border-bottom: 1px solid #f3f4f6;
    background: #fff;
}

.docs-app-preview-finance-kassa-row:last-child {
    border-bottom: none;
}

.docs-app-preview-finance-kassa-link {
    color: #1976d2;
    text-decoration: underline;
    cursor: default;
    font-weight: 500;
}

.docs-app-preview-finance-kassa-num {
    text-align: right;
    font-weight: 600;
}

.docs-app-preview-finance-kassa-num--income {
    color: #2e7d32;
    text-decoration: underline;
}

.docs-app-preview-finance-kassa-num--refund {
    color: #c62828;
    text-decoration: underline;
}

.docs-app-preview-header--toolbar {
    justify-content: space-between;
    gap: 8px;
}

.docs-app-preview-header--toolbar .docs-app-preview-header-title {
    flex: 1;
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    color: #111827;
}

.docs-app-preview-header-spacer {
    width: 24px;
    flex-shrink: 0;
}

.docs-app-preview-header-icon {
    font-size: 22px;
    color: #5f6368;
    flex-shrink: 0;
}

.docs-app-preview-ops-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f3f4f6;
}

.docs-app-preview-ops-row:last-child {
    border-bottom: none;
}

.docs-app-preview-ops-main {
    flex: 1;
    min-width: 0;
}

.docs-app-preview-ops-title {
    font-size: 15px;
    font-weight: 500;
    color: #111827;
}

.docs-app-preview-ops-sub {
    font-size: 13px;
    color: #6b7280;
    margin-top: 2px;
}

.docs-app-preview-ops-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}

.docs-app-preview-ops-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
}

.docs-app-preview-ops-badge--topup {
    background: #e8f5e9;
    color: #2e7d32;
}

.docs-app-preview-ops-amount {
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

.docs-app-preview-fab {
    position: absolute;
    right: 16px;
    bottom: 16px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #1976d2;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

.docs-app-preview-fab .material-symbols-outlined {
    font-size: 28px;
}

.docs-app-preview-body--relative {
    position: relative;
    min-height: 200px;
    padding-bottom: 72px;
}

/* Task list row (colored icon + badge) */
.docs-app-preview-task-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f3f4f6;
}

.docs-app-preview-task-row:last-child {
    border-bottom: none;
}

.docs-app-preview-task-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
}

.docs-app-preview-task-icon .material-symbols-outlined {
    font-size: 22px;
}

.docs-app-preview-task-body {
    flex: 1;
    min-width: 0;
}

.docs-app-preview-task-date {
    font-size: 15px;
    font-weight: 500;
    color: #111827;
}

.docs-app-preview-task-name {
    font-size: 14px;
    color: #6b7280;
    margin-top: 2px;
}

.docs-app-preview-task-client {
    font-size: 14px;
    color: #6b7280;
}

.docs-app-preview-pill {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 12px;
    white-space: nowrap;
    flex-shrink: 0;
    align-self: flex-start;
}

.docs-app-preview-pill--info {
    background: #e3f2fd;
    color: #1565c0;
}

.docs-app-preview-pill--success {
    background: #e8f5e9;
    color: #2e7d32;
}

.docs-app-preview-pill--danger {
    background: #ffebee;
    color: #c62828;
}

/* Analytics: fake column chart */
.docs-app-preview-chart-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 6px;
    height: 120px;
    padding: 8px 4px 0;
    margin-bottom: 12px;
}

.docs-app-preview-chart-bar {
    flex: 1;
    min-height: 24px;
    background: linear-gradient(to top, #1976d2, #64b5f6);
    border-radius: 4px 4px 0 0;
    opacity: 0.85;
}

.docs-app-preview-metric-card {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 10px;
    text-align: left;
    background: #fff;
}

.docs-app-preview-metric-card:last-child {
    margin-bottom: 0;
}

.docs-app-preview-metric-label {
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 8px;
}

.docs-app-preview-metric-value {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin-top: 6px;
}

/* Settings: tappable row */
.docs-app-preview-settings-section {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6b7280;
    margin: 16px 0 8px;
}

.docs-app-preview-settings-section:first-child {
    margin-top: 0;
}

.docs-app-preview-settings-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    margin-bottom: 8px;
    background: #fafafa;
}

.docs-app-preview-settings-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.docs-app-preview-settings-icon .material-symbols-outlined {
    font-size: 24px;
}

.docs-app-preview-settings-text {
    flex: 1;
    min-width: 0;
}

.docs-app-preview-settings-title {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
}

.docs-app-preview-settings-desc {
    font-size: 13px;
    color: #6b7280;
    margin-top: 2px;
}

.docs-app-preview-link-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-top: 10px;
    background: #fff;
    font-size: 15px;
    font-weight: 500;
    color: #111827;
    text-align: left;
}

.docs-app-preview-link-row .material-symbols-outlined:first-child {
    font-size: 20px;
    color: #5f6368;
    margin-right: 10px;
}

.docs-app-preview-link-row-inner {
    display: flex;
    align-items: center;
    flex: 1;
}

/* Screenshot placeholder */
.docs-screenshot-placeholder {
    background: #f3f4f6;
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    padding: 40px 24px;
    margin: 24px 0;
    text-align: center;
}

.docs-screenshot-placeholder .material-symbols-outlined {
    font-size: 48px;
    color: #9ca3af;
    margin-bottom: 12px;
}

.docs-screenshot-placeholder-text {
    font-size: 14px;
    color: #6b7280;
}

.docs-screenshot-placeholder-filename {
    font-size: 12px;
    color: #9ca3af;
    font-family: monospace;
    margin-top: 8px;
}

/* Access matrix icons (Site has no Radzen CSS variables) */
.docs-access-yes {
    color: #2e7d32;
    font-size: 18px;
    vertical-align: middle;
}

.docs-access-partial {
    color: #ed6c02;
    font-size: 18px;
    vertical-align: middle;
}

.docs-access-no {
    color: #9ca3af;
    font-size: 18px;
    vertical-align: middle;
}

.docs-text-success {
    color: #2e7d32;
    font-weight: 500;
}

.docs-text-danger {
    color: #c62828;
    font-weight: 500;
}

.docs-app-preview-booking-status {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Tables */
.docs-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
}

.docs-table th,
.docs-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.docs-table th {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    background: #f9fafb;
}

.docs-table td {
    font-size: 14px;
    color: #374151;
}

/* Steps */
.docs-steps {
    counter-reset: step;
    margin-bottom: 24px;
}

.docs-step {
    position: relative;
    padding-left: 48px;
    margin-bottom: 24px;
}

.docs-step::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 32px;
    height: 32px;
    background: #1976d2;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
}

.docs-step-title {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 8px;
}

.docs-step-content {
    font-size: 15px;
    color: #374151;
    line-height: 1.6;
}

/* Navigation cards (for index page) */
.docs-nav-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
    margin-top: 32px;
}

.docs-nav-card {
    display: flex;
    align-items: flex-start;
    padding: 20px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.15s ease;
}

.docs-nav-card:hover {
    border-color: #1976d2;
    box-shadow: 0 4px 6px -1px rgba(25, 118, 210, 0.1);
}

.docs-nav-card-icon {
    width: 40px;
    height: 40px;
    background: #eff6ff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    flex-shrink: 0;
}

.docs-nav-card-icon .material-symbols-outlined {
    font-size: 22px;
    color: #1976d2;
}

.docs-nav-card-title {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 4px;
}

.docs-nav-card-desc {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.4;
}

/* Responsive */
@media (max-width: 991.98px) {
    .docs-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 280px;
        transform: translateX(-100%);
        z-index: 1050;
        padding-top: 0;
    }

    .docs-sidebar.show {
        transform: translateX(0);
    }

    .docs-content {
        margin-left: 0;
    }

    .docs-content-inner {
        padding: 24px 16px;
    }
}

@media (max-width: 575.98px) {
    .docs-header {
        padding: 0 16px;
    }

    .docs-content h1 {
        font-size: 26px;
    }

    .docs-content h2 {
        font-size: 20px;
    }

    .docs-nav-cards {
        grid-template-columns: 1fr;
    }
}
