﻿.page-breadcrumb {
    margin: 0;
    padding: 15px 0;
    list-style: none;
    font-size: 14px;
}

    .page-breadcrumb li {
        display: inline-block;
        color: #666;
    }

        .page-breadcrumb li:not(:last-child)::after {
            content: ' / ';
            margin: 0 8px;
            color: #999;
        }

        .page-breadcrumb li a {
            color: #9D4547;
            text-decoration: none;
            transition: color 0.2s ease;
        }

            .page-breadcrumb li a:hover {
                color: #7a3537;
                text-decoration: underline;
            }

        .page-breadcrumb li span {
            color: #333;
            font-weight: 500;
        }
.documents-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.document-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: #f8f8f8;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    transition: all 0.3s ease;
    gap: 15px;
}

    .document-item:hover {
        background: #fff;
        border-color: #9D4547;
        box-shadow: 0 2px 8px rgba(157, 69, 71, 0.15);
        transform: translateY(-2px);
    }

.document-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #9D4547;
    border-radius: 6px;
    color: #fff;
    font-size: 20px;
}

.document-info {
    flex: 1;
    min-width: 0;
}

.document-title {
    font-size: 15px;
    font-weight: 500;
    color: #333;
    margin-bottom: 4px;
    word-wrap: break-word;
}

.document-meta {
    font-size: 12px;
    color: #666;
    display: flex;
    gap: 12px;
}

    .document-meta span {
        display: inline-block;
    }

.document-action {
    flex-shrink: 0;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #9D4547;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

    .btn-download:hover {
        background: #7a3537;
        color: #fff;
        text-decoration: none;
        transform: translateY(-1px);
        box-shadow: 0 4px 8px rgba(157, 69, 71, 0.3);
    }

    .btn-download i {
        font-size: 16px;
    }

@media (max-width: 768px) {
    .document-item {
        flex-wrap: wrap;
        padding: 12px 15px;
    }

    .document-action {
        width: 100%;
    }

    .btn-download {
        width: 100%;
        justify-content: center;
    }
    
    /* Increase margin-top for breadcrumb container on mobile to account for fixed header */
    .breadcrumb-container {
        margin-top: 130px !important;
        padding-top: 15px !important;
    }
}

@media (max-width: 568px) {
    /* Further increase margin-top for very small screens */
    .breadcrumb-container {
        margin-top: 150px !important;
        padding-top: 15px !important;
    }
}

.sidebar .media {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.sidebar .media-left {
    flex-shrink: 0;
    margin-right: 12px;
    display: block;
}

    .sidebar .media-left a {
        display: block;
        line-height: 0;
    }

    .sidebar .media-left img {
        display: block !important;
        width: 100px !important;
        height: 75px !important;
        object-fit: cover;
        border-radius: 4px;
        max-width: 100%;
        visibility: visible !important;
        opacity: 1 !important;
    }

.sidebar .media-body {
    flex: 1;
    min-width: 0;
}