﻿/* Documents Styles - Main CSS File */
:root {
    /* --primary-color: #B06F1A;
    --primary-dark: #8B5515;
    --primary-light: #D4941F;*/
    --primary-color: #B06F1A;
    --primary-dark: #8D5A15;
    --primary-light: #D9A566;
    --accent-color: #F4F4F4;
    --text-dark: #2C3E50;
    --shadow-light: rgba(176, 111, 26, 0.1);
    --shadow-medium: rgba(176, 111, 26, 0.2);
}

.page-title {
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* Main Content Styles */
.main-content {
    background: #F8F9FA;
    min-height: 100vh;
    padding: 3rem 0;
}

/* Category Card Styles */
.category-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 8px 25px var(--shadow-light);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    overflow: hidden;
}

    .category-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px var(--shadow-medium);
    }

.category-header {
    background: var(--primary-light);
    padding: 1.5rem;
    border: none;
    position: relative;
}

    .category-header::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: var(--primary-dark);
    }

.category-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
}

.category-icon {
    font-size: 1.6rem;
    margin-right: 0.75rem;
    opacity: 0.9;
}

/* Table Styles */
.documents-table {
    margin: 0;
    background: white;
}

.table-header {
    background: var(--accent-color);
    font-weight: 600;
    color: var(--text-dark);
    border: none;
}

    .table-header th {
        padding: 1rem;
        border: none;
        font-size: 0.95rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

.document-row {
    transition: all 0.2s ease;
    border: none;
}

    .document-row:hover {
        background: rgba(176, 111, 26, 0.05);
        transform: scale(1.01);
    }

    .document-row td {
        padding: 1.2rem 1rem;
        border: none;
        border-bottom: 1px solid #E9ECEF;
        vertical-align: middle;
    }

/* Document Name Styles */
.document-name {
    font-weight: 500;
    color: var(--text-dark);
    display: flex;
    align-items: center;
}

.pdf-icon {
    font-size: 1.2rem;
    margin-right: 0.75rem;
    color: #DC3545;
}

.file-size {
    font-weight: 500;
    color: #6C757D;
    font-size: 0.9rem;
}

/* Button Styles */
.action-buttons {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.btn-custom {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-view {
    background: white;
    color: var(--primary-light);
    border-color: var(--primary-light);
}

    .btn-view:hover {
        background: var(--primary-color);
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px var(--shadow-medium);
    }

.btn-download {
    background: var(--primary-light);
    color: white;
    border-color: var(--primary-light);
}

    .btn-download:hover {
        background: var(--primary-color);
        border-color: var(--primary-color);
        transform: translateY(-2px);
        box-shadow: 0 5px 15px var(--shadow-medium);
        color: white;
    }

/* Empty State Styles */
.empty-state {
    text-align: center;
    padding: 3rem;
    color: #6C757D;
}

    .empty-state i {
        font-size: 3rem;
        margin-bottom: 1rem;
        opacity: 0.5;
    }

/* Responsive Design */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }

    .action-buttons {
        flex-direction: column;
    }

    .category-title {
        font-size: 1.2rem;
    }
}
