/* Documents Page Styles */
.document-card {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.document-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, var(--theme-color), var(--theme-color2));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.document-card:hover::before {
    transform: scaleX(1);
}

.document-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-color: var(--theme-color);
}

.document-icon {
    margin-bottom: 20px;
    position: relative;
}

.document-icon i {
    transition: transform 0.3s ease;
}

.document-card:hover .document-icon i {
    transform: scale(1.1);
}

.document-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
    line-height: 1.4;
}

.document-description {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.5;
}

.document-meta {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.file-type, .file-size {
    background: #f8f9fa;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    color: #666;
    border: 1px solid #e9ecef;
}

.btn-downloading {
    display: inline-block;
    background: linear-gradient(45deg, var(--theme-color), var(--theme-color2));
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-downloading::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-downloading:hover::before {
    left: 100%;
}

.btn-downloading:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    color: white;
    text-decoration: none;
}

/* Page Title Styles */
.page-title {
    padding: 80px 0 40px;
    background: linear-gradient(135deg, var(--theme-color), var(--theme-color2));
    color: white;
    position: relative;
}

.page-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../img/shapes/hero-shep-1-1.svg') no-repeat center;
    opacity: 0.1;
}

.page-title .title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.breadcrumb {
    background: none;
    padding: 0;
    margin: 10px 0 0;
}

.breadcrumb-item {
    color: rgba(255,255,255,0.8);
}

.breadcrumb-item.active {
    color: white;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.6);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state i {
    color: #ccc;
    margin-bottom: 20px;
}

.empty-state h4 {
    color: #999;
    margin-bottom: 10px;
}

.empty-state p {
    color: #999;
}

/* Responsive Design */
@media (max-width: 768px) {
    .document-card {
        padding: 20px;
    }

    .document-title {
        font-size: 16px;
    }

    .document-meta {
        flex-direction: column;
        gap: 10px;
    }

    .page-title .title {
        font-size: 2rem;
    }
}

/* Admin Panel Styles */
.document-status-badge {
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
}

.document-status-active {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.document-status-inactive {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.document-file-info {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    margin-top: 15px;
}

.document-file-info p {
    margin-bottom: 8px;
    font-size: 14px;
}

.document-file-info strong {
    color: #495057;
}

/* File Type Icons */
.file-icon-pdf { color: #dc3545; }
.file-icon-doc { color: #007bff; }
.file-icon-docx { color: #007bff; }
.file-icon-xls { color: #28a745; }
.file-icon-xlsx { color: #28a745; }
.file-icon-ppt { color: #ffc107; }
.file-icon-pptx { color: #ffc107; }
