/* Full Screen Container */
.edocman-fullscreen-container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 20px;
    background: #f8fafc;
    min-height: 100vh;
}

/* Header */
.edocman-header {
    background: white;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.edocman-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.edocman-page-title {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
}

/* Filters */
.edocman-filters {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.edocman-filter-group {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.edocman-filter-group label {
    font-weight: 600;
    color: #374151;
    white-space: nowrap;
}

.edocman-select {
    min-width: 200px;
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: white;
}

/* Results Info */
.edocman-results-info {
    background: white;
    border-radius: 12px;
    padding: 16px 24px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.edocman-count {
    margin: 0;
    color: #6b7280;
    font-weight: 500;
}

/* Table Container */
.edocman-table-container {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 24px;
}

/* Documents Table */
.edocman-documents-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.edocman-documents-table thead {
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

.edocman-documents-table th {
    padding: 16px 20px;
    text-align: left;
    font-weight: 600;
    color: #374151;
    white-space: nowrap;
}

.edocman-documents-table td {
    padding: 16px 20px;
    border-bottom: 1px solid #f3f4f6;
    vertical-align: top;
}

.edocman-documents-table tbody tr:hover {
    background: #f9fafb;
}

/* Column Widths */
.col-title { width: 35%; }
.col-category { width: 15%; }
.col-size { width: 10%; }
.col-downloads { width: 10%; }
.col-date { width: 12%; }
.col-status { width: 8%; }
.col-actions { width: 10%; }

/* Document Info */
.edocman-document-info {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.edocman-document-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #f3f4f6;
}

.edocman-doc-thumbnail {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 6px;
}

.edocman-file-type-icon {
    font-size: 12px;
    font-weight: 700;
    color: #6b7280;
}

.edocman-document-details {
    flex: 1;
    min-width: 0;
}

.edocman-document-title {
    margin: 0 0 4px 0;
    font-size: 16px;
    font-weight: 600;
}

.edocman-document-title a {
    color: #1f2937;
    text-decoration: none;
}

.edocman-document-title a:hover {
    color: #3b82f6;
}

.edocman-document-description {
    margin: 4px 0;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.4;
}

.edocman-file-name {
    color: #9ca3af;
    font-size: 12px;
}

/* Badges */
.edocman-category-badge {
    display: inline-block;
    padding: 4px 8px;
    background: #dbeafe;
    color: #1e40af;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.edocman-no-category {
    color: #9ca3af;
    font-style: italic;
}

.edocman-status-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.edocman-status-badge.status-1 {
    background: #d1fae5;
    color: #065f46;
}

.edocman-status-badge.status-0 {
    background: #fef3c7;
    color: #92400e;
}

/* Action Buttons */
.edocman-action-buttons {
    display: flex;
    gap: 4px;
}

.edocman-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s;
}

.edocman-btn-view {
    background: #dbeafe;
    color: #1e40af;
}

.edocman-btn-download {
    background: #d1fae5;
    color: #065f46;
}

.edocman-btn-edit {
    background: #fef3c7;
    color: #92400e;
}

.edocman-btn-delete {
    background: #fee2e2;
    color: #dc2626;
}

.edocman-action-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Empty State */
.edocman-no-documents {
    padding: 60px 20px;
    text-align: center;
}

.edocman-empty-state i {
    font-size: 64px;
    color: #d1d5db;
    margin-bottom: 16px;
}

.edocman-empty-state h3 {
    margin: 0 0 8px 0;
    color: #374151;
    font-size: 20px;
}

.edocman-empty-state p {
    margin: 0 0 24px 0;
    color: #6b7280;
}

/* Responsive */
@media (max-width: 1200px) {
    .col-description { display: none; }
}

@media (max-width: 768px) {
    .edocman-fullscreen-container {
        padding: 12px;
    }
    
    .edocman-documents-table {
        font-size: 12px;
    }
    
    .edocman-documents-table th,
    .edocman-documents-table td {
        padding: 12px 8px;
    }
    
    .col-size,
    .col-downloads {
        display: none;
    }
}
/* Document Icon Container */
.edocman-document-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    position: relative;
}

.edocman-doc-thumbnail {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 6px;
}

.edocman-file-type-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 20px;
    transition: all 0.2s ease;
}

.edocman-file-type-icon:hover {
    transform: scale(1.1);
}

/* File name with icon */
.edocman-file-name {
    color: #64748b;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.edocman-file-name i {
    font-size: 10px;
    opacity: 0.7;
}

/* Category badge with icon */
.edocman-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: #dbeafe;
    color: #1e40af;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
}

.edocman-category-badge i {
    font-size: 11px;
}

.edocman-no-category {
    color: #94a3b8;
    font-style: italic;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
}

.edocman-no-category i {
    font-size: 11px;
    opacity: 0.7;
}

/* Size column with icon */
.col-size {
    color: #64748b;
    font-size: 13px;
}

.col-size i {
    margin-right: 6px;
    font-size: 12px;
    opacity: 0.7;
}

/* Downloads with icon */
.edocman-download-count {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #059669;
    font-weight: 500;
}

.edocman-download-count i {
    font-size: 12px;
}

/* Date with icon */
.col-date time {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #64748b;
    font-size: 13px;
}

.col-date time i {
    font-size: 12px;
    opacity: 0.7;
}

/* Status badges with icons */
.edocman-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
}

.edocman-status-badge i {
    font-size: 11px;
}

.edocman-status-badge.status-1 {
    background: #dcfce7;
    color: #166534;
}

.edocman-status-badge.status-0 {
    background: #fef3c7;
    color: #92400e;
}

/* Action Buttons with proper icons */
.edocman-action-buttons {
    display: flex;
    gap: 6px;
}

.edocman-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 13px;
}

.edocman-action-btn i {
    font-size: 13px;
}

.edocman-btn-view {
    background: #dbeafe;
    color: #1d4ed8;
}

.edocman-btn-view:hover {
    background: #bfdbfe;
    color: #1e40af;
}

.edocman-btn-download {
    background: #dcfce7;
    color: #166534;
}

.edocman-btn-download:hover {
    background: #bbf7d0;
    color: #15803d;
}

.edocman-btn-edit {
    background: #fef3c7;
    color: #92400e;
}

.edocman-btn-edit:hover {
    background: #fde68a;
    color: #b45309;
}

.edocman-btn-delete {
    background: #fee2e2;
    color: #dc2626;
}

.edocman-btn-delete:hover {
    background: #fecaca;
    color: #b91c1c;
}

.edocman-action-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
}

/* Empty state icon */
.edocman-empty-state i {
    font-size: 64px;
    color: #cbd5e1;
    margin-bottom: 16px;
}

/* Pagination Styles */
.edocman-pagination {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.edocman-pagination-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.edocman-page-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: #f3f4f6;
    color: #374151;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
}

.edocman-page-btn:hover {
    background: #3b82f6;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.3);
}

.edocman-page-numbers {
    display: flex;
    align-items: center;
    gap: 6px;
}

.edocman-page-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    background: #f3f4f6;
    color: #374151;
    transition: all 0.2s ease;
}

.edocman-page-number:hover {
    background: #dbeafe;
    color: #1e40af;
}

.edocman-page-number.edocman-current {
    background: #3b82f6;
    color: white;
    cursor: default;
}

.edocman-page-dots {
    color: #9ca3af;
    padding: 0 4px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .edocman-document-icon {
        width: 40px;
        height: 40px;
    }
    
    .edocman-doc-thumbnail {
        width: 40px;
        height: 40px;
    }
    
    .edocman-file-type-icon {
        font-size: 16px;
    }
    
    .edocman-action-btn {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    
    .edocman-action-btn i {
        font-size: 12px;
    }
    
    .edocman-page-btn {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .edocman-page-number {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }
}
