/* Documents Repository Styles */
.documents_area {
    background-color: #f9f9f9;
}

.group_title {
    font-size: 24px;
    color: #000000;
    font-weight: 700;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 3px solid #0B346B;
    display: flex;
    align-items: center;
    gap: 15px;
}

.group_title i {
    color: #0B346B;
    font-size: 28px;
}

.document_card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    height: 100%;
    display: flex;
    flex-direction: column;
    border-left: 4px solid #0B346B;
}

.document_card:hover {
    box-shadow: 0 8px 25px rgba(167, 203, 0, 0.15);
    transform: translateY(-5px);
}

.doc_header {
    padding: 25px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    border-bottom: 1px solid #f0f0f0;
}

.doc_icon {
    font-size: 48px;
    color: #0B346B;
    min-width: 60px;
    text-align: center;
    background: #e6ecf5ac;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.doc_info h4 {
    font-size: 16px;
    color: #000000;
    margin-bottom: 8px;
    font-weight: 700;
    line-height: 1.4;
}

.doc_date {
    font-size: 12px;
    color: #999999;
    margin: 0;
    font-weight: 500;
}

.doc_body {
    padding: 0 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.doc_body p {
    font-size: 14px;
    color: #666666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.doc_badge {
    display: inline-block;
    background: #0B346B;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    width: fit-content;
}

.doc_footer {
    padding: 20px 25px;
    display: flex;
    gap: 10px;
    border-top: 1px solid #f0f0f0;
    background: #f9f9f9;
}

.doc_footer .btn {
    flex: 1;
    padding: 10px 15px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 5px;
    border: none;
    text-transform: uppercase;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    text-decoration: none;
}

.btn-view {
    background: white;
    color: #0B346B;
    border: 2px solid #0B346B;
}

.btn-view:hover {
    background: #0B346B;
    color: white;
    transform: scale(1.05);
}

.btn-download {
    background: #0B346B;
    color: white;
}

.btn-download:hover {
    background: #E8F1FD;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 27, 203, 0.4);
}

@media (max-width: 768px) {
    .doc_header {
        flex-direction: column;
        text-align: center;
    }

    .doc_icon {
        width: 100%;
        margin: 0 auto;
    }

    .doc_info h4 {
        font-size: 15px;
    }

    .doc_footer {
        flex-direction: column;
    }

    .doc_footer .btn {
        width: 100%;
    }

    .group_title {
        font-size: 20px;
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}