/* Document Modal Styles */
.document-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.document-modal-content {
    background: white;
    border-radius: 8px;
    width: 90%;
    max-width: 800px;
    height: 80%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.document-modal-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.document-modal-header h3 {
    margin: 0;
    color: #1f2937;
}

.document-modal-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: #6b7280;
    padding: 0.5rem;
}

.document-modal-close:hover {
    color: #374151;
}

.document-modal-body {
    flex: 1;
    overflow: auto;
    padding: 1.5rem;
}

.document-content {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #374151;
    white-space: pre-wrap;
    margin: 0;
}

.document-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 0.5rem;
}

.document-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1);
}

.document-icon {
    font-size: 2rem;
    color: #ef4444;
}

.document-info {
    flex: 1;
}

.document-name {
    font-weight: 500;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.document-meta {
    font-size: 0.8rem;
    color: #6b7280;
}

.document-actions {
    display: flex;
    gap: 0.5rem;
}