/* assets/css/style.css */
body {
    padding-top: 56px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.sidebar {
    position: fixed;
    top: 56px;
    bottom: 0;
    left: 0;
    z-index: 100;
    padding: 48px 0 0;
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}

.sidebar .nav-link {
    font-weight: 500;
    color: #333;
    padding: 0.75rem 1rem;
}

.sidebar .nav-link:hover {
    background-color: #f8f9fa;
}

.sidebar .nav-link.active {
    color: #007bff;
    background-color: #e9ecef;
}

.sidebar .nav-link i {
    margin-right: 10px;
}

main {
    padding-top: 20px;
}

.card {
    margin-bottom: 20px;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    font-weight: 600;
}

.table-responsive {
    overflow-x: auto;
}

/* Dashboard cards animation */
.card {
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

/* Document viewer styles */
.document-viewer {
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    padding: 15px;
    background: #fff;
}

/* Print styles */
@media print {
    .sidebar, .navbar, .btn, .no-print {
        display: none !important;
    }
    body {
        padding-top: 0 !important;
    }
    main {
        margin-left: 0 !important;
        width: 100% !important;
    }
}

/* Responsive tables */
@media (max-width: 768px) {
    .table-responsive {
        font-size: 14px;
    }
}

/* Status badges */
.badge {
    padding: 5px 10px;
    font-weight: 500;
}

/* Form styles */
.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.required-field::after {
    content: " *";
    color: red;
}

/* Loading spinner */
.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    display: none;
}

/* Notification styles */
.notification-badge {
    position: relative;
    top: -10px;
    right: 5px;
    padding: 2px 6px;
    font-size: 10px;
}