﻿.documentview-page {
    overflow: hidden;
}

.pt-navbar-offset {
    padding-top: 56px;
}


.doc-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    grid-template-rows: auto 1fr;
    height: calc(100vh - 96px); /* navbar + footer approx */
    overflow: hidden;
}




/* LEFT SIDEBAR */
.doc-sidebar {
    grid-row: 1 / span 2;
    grid-column: 1;
    overflow-y: auto;
    border-right: 1px solid #ddd;
    padding: 15px;
    background-color: #f8f9fa;
}

/* RIGHT SIDE */
.doc-content {
    grid-column: 2;
    display: grid;
    grid-template-rows: auto 1fr;
    overflow: hidden;
}

/* Sticky search row */
.doc-header {
    background: white;
    z-index: 5;
    padding: 15px;
    border-bottom: 1px solid #ddd;
}

/* ONLY this scrolls */
.doc-filelist {
    overflow-y: auto;
    padding: 15px;
}

.footer {
    height: 40px;
    display: flex;
    justify-content: center; /* Centers content horizontally */
    align-items: center; /* Centers content vertically */
}
/* for categories */
.category-badge {
    background-color: #007bff;
    color: white;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 12px;
    margin-left: 8px;
}
/* for Admin Pages */
.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-bottom: 15px;
}

.admin-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    text-decoration: none;
    color: #333;
    font-size: 18px;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.2s ease;
}

.admin-card i {
    font-size: 36px;
    margin-bottom: 15px;
    color: #007bff;
}

.admin-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.12);
    background: #f8f9fa;
}

/* for Assigned Users */
.user-chip {
    display: inline-flex;
    align-items: center;
    background-color: #d1e7dd; /* light green */
    border-radius: 16px;
    padding: 4px 8px;
    margin: 3px;
    font-size: 0.85rem;
}

.user-remove {
    background: none;
    border: none;
    margin-left: 6px;
    font-weight: bold;
    cursor: pointer;
    color: #555;
}

.user-remove:hover {
    color: red;
}

/* Generic tag/chip style used across the entire app */
.tag-chip {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 16px;
    font-size: 13px;
    font-weight: normal;
    color: black;
    margin-right: 6px;
}

/* removable chip button */
.tag-remove {
    border: none;
    background: none;
    color: white;
    font-size: 14px;
    margin-left: 6px;
    cursor: pointer;
}
/* for toggle in UserDashboard */
.filter-bar {
    display: flex;
    gap: 8px;
}

.filter-chip {
    padding: 5px 12px;
    border-radius: 20px;
    background-color: #f1f3f5;
    color: #333;
    text-decoration: none;
    font-size: 0.85rem;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

    .filter-chip:hover {
        background-color: #e2e6ea;
    }

    .filter-chip.active {
        background-color: #007bff;
        color: white;
    }