/* MdShare Site Styles - Consolidated from inline styles */

/* ==========================================================================
   Admin Activity Page Styles
   ========================================================================== */

/* Activity table column widths */
.activity-table th.col-time {
    width: 180px;
}

.activity-table th.col-minutes-ago {
    width: 100px;
}

.activity-table th.col-user {
    width: 250px;
}

.activity-table th.col-event-type {
    width: 150px;
}

/* ==========================================================================
   Login Page Styles
   ========================================================================== */

/* Code input styling */
.code-input {
    font-size: 24px;
    letter-spacing: 8px;
    font-family: 'Courier New', monospace;
}

/* ==========================================================================
   Admin Config Page Styles
   ========================================================================== */

/* Config table column widths */
.config-table th.col-label {
    width: 200px;
}

/* Config view containers */
.config-view {
    display: none;
}

/* Config code blocks with max height */
.config-code-block {
    max-height: 600px;
    overflow-y: auto;
}

/* ==========================================================================
   Admin Repos Page Styles
   ========================================================================== */

/* Datastar conditional display - initially hidden */
.datastar-hidden {
    display: none;
}

/* ==========================================================================
   Shares Page Styles
   ========================================================================== */

/* Viewer email styling - allow breaking long emails */
.viewer-email {
    word-break: break-all;
    overflow-wrap: anywhere;
}

/* ==========================================================================
   TOC Sidebar Styles
   ========================================================================== */

/* Sticky TOC sidebar positioning */
.toc-sidebar {
    position: sticky;
    top: 20px;
}

/* ==========================================================================
   Preview Page Styles
   ========================================================================== */

/* Preview TOC sidebar - sticky positioning */
.preview-toc-sidebar {
    position: sticky;
    top: 56px;
    height: calc(100vh - 56px);
    overflow-y: auto;
}

/* ==========================================================================
   Print Styles (in PrintBase layout)
   ========================================================================== */

@media print {
    body {
        margin: 0;
        padding: 20px;
    }
    
    .no-print {
        display: none !important;
    }
    
    .page-break {
        page-break-after: always;
    }
}

/* Print layout body styles */
.print-body {
    max-width: 100%;
    padding: 20px;
    background-color: #fff;
}

.print-header {
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #dee2e6;
}

.print-header h1 {
    margin: 0;
    font-size: 1.5rem;
}

.print-header .text-muted {
    font-size: 0.9rem;
}
