/* Haupt-CSS für PMT Army */

:root {
    --primary-color: #2c5530;
    --secondary-color: #5c7c5f;
    --accent-color: #d4af37;
    --danger-color: #c0392b;
    --warning-color: #f39c12;
    --success-color: #27ae60;
    --info-color: #3498db;
    
    --bg-dark: #1a1a1a;
    --bg-light: #f5f5f5;
    --bg-card: #ffffff;
    --border-color: #ddd;
    
    --text-primary: #333;
    --text-secondary: #666;
    --text-light: #999;
    
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.15);
}

/* Dark Mode */
body.dark-mode {
    --bg-light: #1a1a1a;
    --bg-card: #2d2d2d;
    --border-color: #444;
    
    --text-primary: #e0e0e0;
    --text-secondary: #b0b0b0;
    --text-light: #808080;
    
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.3);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.4);
}

/* Removed global stat-card dark mode styling - modules handle their own colors */

body.dark-mode table {
    background: var(--bg-card);
}

body.dark-mode table thead {
    background: #3a3a3a;
}

body.dark-mode table tbody tr {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
}

body.dark-mode table tbody tr:hover {
    background: #3a3a3a;
}

body.dark-mode .card {
    background: var(--bg-card);
    color: var(--text-primary);
}

body.dark-mode .modal-content {
    background: var(--bg-card);
    color: var(--text-primary);
}

body.dark-mode input,
body.dark-mode select,
body.dark-mode textarea {
    background: #3a3a3a;
    color: var(--text-primary);
    border-color: var(--border-color);
}

body.dark-mode .admin-link {
    background: var(--bg-card);
    color: var(--text-primary);
}

body.dark-mode .admin-link:hover {
    background: var(--primary-color);
    color: white;
}

/* Dashboard Karten und Diagramme */
body.dark-mode .dashboard-card {
    background: var(--bg-card);
    color: var(--text-primary);
}

body.dark-mode canvas {
    filter: brightness(0.9);
}

/* Einheiten Karten */
body.dark-mode .org-unit-card,
body.dark-mode .subunit-card,
body.dark-mode .unit-card {
    background: var(--bg-card);
    color: var(--text-primary);
    border-color: var(--border-color);
}

body.dark-mode .org-unit-name,
body.dark-mode .unit-name {
    color: var(--text-primary);
}

body.dark-mode .org-unit-info,
body.dark-mode .unit-info {
    color: var(--text-secondary);
}

/* Training Karten */
body.dark-mode .training-card {
    background: var(--bg-card);
    color: var(--text-primary);
    border-color: var(--border-color);
}

body.dark-mode .training-header h5 {
    color: var(--primary-color);
}

body.dark-mode .training-info {
    color: var(--text-secondary);
}

/* Aktivitätspunkt-Berechnung */
body.dark-mode .activity-bar {
    background: #3a3a3a;
}

body.dark-mode .activity-section,
body.dark-mode .dienst-section {
    background: var(--bg-card);
    color: var(--text-primary);
}

body.dark-mode .info-row .label {
    color: var(--text-secondary);
}

body.dark-mode .info-row .value {
    color: var(--text-primary);
}

/* Dashboard Moderne Stat-Karten */
body.dark-mode .stats-grid-modern {
    background: transparent;
}

body.dark-mode .stat-card-modern {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

body.dark-mode .stat-icon-modern {
    opacity: 0.9;
}

body.dark-mode .stat-value {
    color: var(--text-primary);
}

body.dark-mode .stat-label {
    color: var(--text-secondary);
}

body.dark-mode .stat-change {
    color: var(--text-secondary);
}

/* View Toggle (Einheiten) */
body.dark-mode .view-toggle {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
}

body.dark-mode .toggle-btn {
    background: transparent;
    color: var(--text-secondary);
}

body.dark-mode .toggle-btn:hover {
    background: #3a3a3a;
    color: var(--text-primary);
}

body.dark-mode .toggle-btn.active {
    background: var(--primary-color);
    color: white;
}

/* Training Voraussetzungen */
body.dark-mode .training-requirements {
    background: #3a3a3a;
    border-color: var(--warning-color);
}

body.dark-mode .training-requirements strong {
    color: var(--warning-color);
}

body.dark-mode .training-requirements p {
    color: var(--text-secondary);
}

/* Einsätze Aktivitätserklärung */
body.dark-mode .activity-explanation {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

body.dark-mode .activity-explanation h4 {
    color: var(--primary-color);
}

body.dark-mode .activity-explanation li {
    border-bottom-color: var(--border-color);
    color: var(--text-primary);
}

/* Dashboard Chart Karten */
body.dark-mode .chart-card {
    background: var(--bg-card);
    color: var(--text-primary);
}

body.dark-mode .chart-header h3 {
    color: var(--text-primary);
}

body.dark-mode .chart-select {
    background: #3a3a3a;
    color: var(--text-primary);
    border-color: var(--border-color);
}

/* Dashboard Profile Card */
body.dark-mode .profile-card-modern {
    background: var(--bg-card);
    color: var(--text-primary);
}

body.dark-mode .profile-info h4,
body.dark-mode .detail-value {
    color: var(--text-primary);
}

body.dark-mode .detail-label {
    color: var(--text-secondary);
}

/* Dashboard Quick Links */
body.dark-mode .quick-links-modern {
    background: var(--bg-card);
    color: var(--text-primary);
}

body.dark-mode .quick-links-modern h4 {
    color: var(--text-primary);
}

body.dark-mode .quick-link {
    background: #3a3a3a;
    color: var(--text-primary);
}

body.dark-mode .quick-link:hover {
    background: #454545;
}

/* Dashboard Activity Feed */
body.dark-mode .activity-feed-modern {
    background: var(--bg-card);
    color: var(--text-primary);
}

body.dark-mode .activity-feed-modern h4 {
    color: var(--text-primary);
}

body.dark-mode .activity-content-modern strong {
    color: var(--text-primary);
}

body.dark-mode .activity-content-modern span {
    color: var(--text-secondary);
}

body.dark-mode .activity-content-modern small {
    color: var(--text-light);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-light);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.main-header {
    background: var(--primary-color);
    color: white;
    padding: 0;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    width: 100%;
    padding: 0 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-logo img {
    height: 60px;
    width: auto;
}

.header-logo h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.main-nav {
    display: flex;
    gap: 0.5rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.25rem;
    border-radius: 6px;
    transition: background 0.3s;
    font-weight: 500;
}

.nav-link:hover {
    background: rgba(255,255,255,0.15);
}

.header-user {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-dark-toggle {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.btn-dark-toggle:hover {
    background: rgba(255,255,255,0.2);
    transform: scale(1.1);
}

.logout-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, rgba(192, 57, 43, 0.9), rgba(231, 76, 60, 0.9));
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(192, 57, 43, 0.3);
}

.logout-btn:hover {
    background: linear-gradient(135deg, rgba(231, 76, 60, 1), rgba(192, 57, 43, 1));
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(192, 57, 43, 0.5);
}

.logout-btn svg {
    width: 16px;
    height: 16px;
}

body.dark-mode .logout-btn {
    background: linear-gradient(135deg, rgba(192, 57, 43, 1), rgba(231, 76, 60, 1));
    border-color: rgba(255,255,255,0.2);
}

body.dark-mode .logout-btn:hover {
    background: linear-gradient(135deg, rgba(231, 76, 60, 1.2), rgba(192, 57, 43, 1.2));
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.6);
}

/* Container */
.container {
    width: 100%;
    padding: 2rem 3rem;
    flex: 1;
}

.container-narrow {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    flex: 1;
}

/* Page Header */
.page-header {
    margin-bottom: 2rem;
}

.page-header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.page-header p {
    color: var(--text-secondary);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
    text-align: center;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background: var(--primary-color);
}

.btn-success {
    background: var(--success-color);
    color: white;
}

.btn-danger {
    background: var(--danger-color);
    color: white;
}

.btn-warning {
    background: var(--warning-color);
    color: white;
}

.btn-info {
    background: var(--info-color);
    color: white;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn-block {
    width: 100%;
    display: block;
}

/* Cards */
.card {
    background: var(--bg-card);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.5rem;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* Tables */
.table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.table th {
    background: var(--primary-color);
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.table tbody tr:hover {
    background: var(--bg-light);
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.badge-success {
    background: var(--success-color);
    color: white;
}

.badge-danger {
    background: var(--danger-color);
    color: white;
}

.badge-warning {
    background: var(--warning-color);
    color: white;
}

.badge-info {
    background: var(--info-color);
    color: white;
}

.badge-secondary {
    background: var(--text-secondary);
    color: white;
}

/* Alerts */
.alert {
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Footer */
.main-footer {
    background: var(--bg-dark);
    color: white;
    padding: 2rem;
    text-align: center;
    margin-top: auto;
}

.footer-container p {
    margin: 0.5rem 0;
    opacity: 0.8;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* Loading Spinner */
.spinner {
    border: 4px solid var(--border-color);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 2rem auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
        height: auto;
        padding: 1rem;
    }
    
    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .container {
        padding: 1rem;
    }
    
    .table {
        font-size: 0.9rem;
    }
    
    .table th,
    .table td {
        padding: 0.5rem;
    }
}

/* =================== */
/* MODULE-SPECIFIC CSS */
/* =================== */

/* Dashboard Container */
.dashboard-container {
    width: 100%;
    max-width: 100%;
    padding: 2rem 3rem;
    background: var(--bg-light);
}

.module-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.module-header h1 {
    font-size: 2rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.module-header h1 i {
    font-size: 1.75rem;
}

.header-actions {
    display: flex;
    gap: 1rem;
}

.module-content {
    background: transparent;
}

/* Data Tables */
.table-responsive {
    overflow-x: auto;
    margin-bottom: 1.5rem;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.data-table thead {
    background: var(--primary-color);
}

.data-table thead th {
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.data-table tbody tr {
    border-bottom: 1px solid var(--border-color);
    transition: background 0.2s;
}

.data-table tbody tr:hover {
    background: var(--bg-light);
}

.data-table tbody td {
    padding: 1rem;
    color: var(--text-primary);
}

.data-table .actions {
    display: flex;
    gap: 0.5rem;
}

/* Status Badge */
.status-badge {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-approved,
.status-active {
    background: var(--success-color);
    color: white;
}

.status-pending {
    background: var(--warning-color);
    color: white;
}

.status-rejected,
.status-inactive {
    background: var(--danger-color);
    color: white;
}

/* Text Utilities */
.text-muted {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Grid Layouts */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-card h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.stat-card p {
    font-size: 1rem;
    opacity: 0.9;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h2 {
    color: var(--primary-color);
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-secondary);
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: var(--danger-color);
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

/* Tabs */
.tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
}

.tab {
    padding: 0.75rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-secondary);
    font-weight: 500;
    transition: all 0.3s;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
}

.tab:hover {
    color: var(--primary-color);
}

.tab.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.pagination a,
.pagination span {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s;
}

.pagination a:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.pagination .active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem;
    color: var(--text-secondary);
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state h3 {
    margin-bottom: 0.5rem;
}

/* Info Box */
.info-box {
    background: var(--bg-card);
    border-left: 4px solid var(--info-color);
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.info-box.warning {
    border-left-color: var(--warning-color);
}

.info-box.success {
    border-left-color: var(--success-color);
}

.info-box.danger {
    border-left-color: var(--danger-color);
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    padding-bottom: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.5rem;
    top: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 2px solid var(--bg-card);
}

.timeline-content {
    background: var(--bg-card);
    padding: 1rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.timeline-date {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

/* Progress Bar */
.progress {
    height: 20px;
    background: var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Search Box */
.search-box {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-box input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
}

.search-box i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}

/* Filter Bar */
.filter-bar {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--bg-card);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.filter-bar select,
.filter-bar input {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 0.9rem;
}

/* Notification Dot */
.notification-dot {
    position: relative;
}

.notification-dot::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 8px;
    height: 8px;
    background: var(--danger-color);
    border-radius: 50%;
    border: 2px solid var(--bg-card);
}

/* Tooltip */
.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 200px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 10px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -100px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 0.875rem;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

/* Avatar */
.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
}

.avatar-lg {
    width: 80px;
    height: 80px;
    font-size: 2rem;
}

.avatar-sm {
    width: 30px;
    height: 30px;
    font-size: 0.875rem;
}

/* Breadcrumbs */
.breadcrumbs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.breadcrumbs a {
    color: var(--text-secondary);
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: var(--primary-color);
}

.breadcrumbs span {
    color: var(--text-light);
}

/* Skeleton Loader */
.skeleton {
    background: linear-gradient(90deg, var(--border-color) 25%, #e0e0e0 50%, var(--border-color) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 4px;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton-text {
    height: 1rem;
    margin-bottom: 0.5rem;
}

.skeleton-title {
    height: 1.5rem;
    width: 60%;
    margin-bottom: 1rem;
}

/* Print Styles */
@media print {
    .main-header,
    .header-actions,
    .btn,
    button,
    .nav-link,
    .filter-bar,
    .search-box {
        display: none !important;
    }
    
    body {
        background: white;
    }
    
    .dashboard-container,
    .module-content {
        padding: 0;
    }
    
    .card,
    .data-table {
        box-shadow: none;
        page-break-inside: avoid;
    }
}
