/* RxIntra Admin Portal - Custom Styles (Stylish Portfolio theme extension) */

body {
    padding-top: 56px; /* offset for fixed navbar */
}

.admin-page-content {
    min-height: calc(100vh - 56px - 72px);
    padding-bottom: 2rem;
}

/* Dashboard stat cards */
.stat-card {
    border: none;
    border-radius: 0.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,.15);
}

.stat-card .stat-icon {
    font-size: 2.5rem;
    opacity: 0.8;
}

/* File status badges */
.badge-pending   { background-color: var(--bs-warning); color: #212529; }
.badge-approved  { background-color: var(--bs-success); }
.badge-rejected  { background-color: var(--bs-danger); }
.badge-deleted   { background-color: var(--bs-secondary); }

/* File table */
.file-table th { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; color: #6c757d; }

/* Comment thread */
.comment-card {
    border-left: 3px solid var(--bs-primary);
    background: #f8f9fa;
    border-radius: 0 0.375rem 0.375rem 0;
}

.comment-card .comment-author { font-weight: 600; color: #1D809F; }
.comment-card .comment-meta   { font-size: 0.8rem; color: #6c757d; }

/* Page hero strips (stylish-portfolio style) */
.page-hero {
    background: linear-gradient(to right, #1D809F, #17667f);
    color: #fff;
    padding: 2.5rem 0;
}

.page-hero h1 { font-weight: 700; margin: 0; }
.page-hero .breadcrumb-item, .page-hero .breadcrumb-item a { color: rgba(255,255,255,0.75); }
.page-hero .breadcrumb-item.active { color: #fff; }

/* Azure upload indicator */
.azure-badge { font-size: 0.7rem; }

/* Action buttons strip on file detail */
.file-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }

/* Responsive table scroll */
@media (max-width: 768px) {
    .table-responsive-admin { overflow-x: auto; }
}
