body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.sidebar {
    min-height: 100vh;
    background-color: #212529;
    color: white;
}

.content-area {
    padding: 20px;
    flex-grow: 1;
}

.sidebar-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    border-radius: 5px;
    transition: all 0.2s;
}

.sidebar-link:hover, .sidebar-link.active {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.sidebar-heading {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.5);
    padding: 10px 15px;
    margin-top: 15px;
}

.sidebar-logo {
    font-size: 1.5rem;
    font-weight: bold;
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.topbar {
    background-color: white;
    padding: 15px;
    border-bottom: 1px solid #e5e5e5;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.user-dropdown {
    cursor: pointer;
}

.flash-messages {
    margin: 10px 0;
}

.alert {
    padding: 15px;
    margin-bottom: 10px;
    border: 1px solid transparent;
    border-radius: 4px;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.alert-info {
    color: #0c5460;
    background-color: #d1ecf1;
    border-color: #bee5eb;
}
:root {
    --blue: #08c6c0;
}

.bg-blue {
    background-color: var(--blue);
}

.border-blue {
    border-color: var(--blue);
}
.text-blue {
    color: var(--blue);
}
.btn-blue-outline {
    border: 1px solid var(--blue);
    background-color: transparent;
}
.bg-blue:hover {
    background-color: #07b0a8;
}
/* BOOTSTRAP OVERRIDES */
.form-control:focus {
    background-color: var(--bs-body-bg);
    border-color: var(--blue);
    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(8, 198, 192, .25);
}
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.sidebar {
    min-height: 100vh;
    background-color: #212529;
    color: white;
}

.content-area {
    padding: 20px;
    flex-grow: 1;
}

.sidebar-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    border-radius: 5px;
    transition: all 0.2s;
}

.sidebar-link:hover, .sidebar-link.active {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.sidebar-heading {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.5);
    padding: 10px 15px;
    margin-top: 15px;
}

.sidebar-logo {
    font-size: 1.5rem;
    font-weight: bold;
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.topbar {
    background-color: white;
    padding: 15px;
    border-bottom: 1px solid #e5e5e5;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.user-dropdown {
    cursor: pointer;
}

.flash-messages {
    margin: 10px 0;
}

.alert {
    padding: 15px;
    margin-bottom: 10px;
    border: 1px solid transparent;
    border-radius: 4px;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.alert-info {
    color: #0c5460;
    background-color: #d1ecf1;
    border-color: #bee5eb;
}
.attachment-card {
    transition: all 0.2s ease;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 12px;
}

.attachment-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.pdf-icon-container {
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.pdf-icon {
    font-size: 2.2rem;
    color: #dc3545;
}

.attachment-info {
    font-size: 0.85rem;
    color: #6c757d;
}

.card-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 8px;
    font-size: 1rem;
}

.card-body-compact {
    padding: 12px 15px;
}

.filters-card {
    background-color: #f8f9fa;
    border-left: 4px solid #0d6efd;
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
}

.info-item i {
    width: 18px;
    margin-right: 8px;
}

.compact-footer {
    padding: 8px 15px;
    background-color: #f8f9fa;
    border-top: 1px solid #eee;
}

.btn-compact {
    padding: 4px 10px;
    font-size: 0.85rem;
}

.attachment-badge {
    position: absolute;
    top: 0;
    right: 0;
    border-bottom-left-radius: 8px;
    font-size: 0.75rem;
    padding: 4px 8px;
}
.bg-blue {
    background-color: var(--blue);
}

.border-blue {
    border-color: var(--blue);
}